1*SUM(i) 开源社区
w 算法优化
Cells(i, "Y") + Cells(i, "Z") * 0.2 多计算了一次
是 1*SUM(i)次
Sub 订单利润()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Select Case Cells(i, "C")
Case Is = Adjustment
Cells(i, "AA") =
Case Is = FBA_W_Fee And W_Deal_Fee And Service_Fee
Cells(i, "AA") = Range(Cells(i, "V"))
Case Is = Order
If Cells(i, "X") = "" Then
Cells(i, "AA") =
Else
Cells(i, "AA") = Range(Cells(i, "Z")) - Range(Cells(i, "Y")) * Range(Cells(i, "G"))
End If
Case Is = Refund
If (Range(Cells(i, "Y")) + Range(Cells(i, "Z"))) * 0.1234 < Then
Cells(i, "AA") = (Range(Cells(i, "Y")) + Range(Cells(i, "Z"))) * 0.1234
Else
Cells(i, "AA") =
End If
Case Is = Transfer
Cells(i, "AA") =
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润0()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润1()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Select Case Cells(i, "C")
Case Is = "Adjustment"
Cells(i, "AA") =
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润2()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "Adjustment"
Cells(i, "AA") =
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润3()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "Adjustment"
Cells(i, "AA") =
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润4()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "Adjustment"
Cells(i, "AA") = Cells(i, "V")
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润5()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "FBA Inventory Fee"
Cells(i, "AA") = Cells(i, "V")
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润6()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "FBA Inventory Fee"
Cells(i, "AA") = Cells(i, "V")
Case Is = "W Deal Fee"
Cells(i, "AA") = Cells(i, "V")
Case Is = "Service Fee"
Cells(i, "AA") = Cells(i, "V")
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润7()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "FBA Inventory Fee"
Cells(i, "AA") = Cells(i, "V")
Case Is = "W Deal Fee"
Cells(i, "AA") = Cells(i, "V")
Case Is = "Service Fee"
Cells(i, "AA") = Cells(i, "V")
Case Is = "Order"
If Not IsError(Cells(i, "X")) Then
Cells(i, "AA") = Cells(i, "Z") - Cells(i, "Y") * Cells(i, "G")
End If
Case Is = "Refund"
If Cells(i, "Y") + Cells(i, "Z") * 0.1234 < Then
Cells(i, "AA") = Cells(i, "Y") + Cells(i, "Z") * 0.1234
End If
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润8()
Dim Adjustment, FBA_W_Fee, W_Deal_Fee, Order, Refund, Service_Fee, Transfer As Integer, i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "FBA Inventory Fee", "W Deal Fee", "Service Fee"
Cells(i, "AA") = Cells(i, "V")
Case Is = "Order"
If Not IsError(Cells(i, "X")) Then
Cells(i, "AA") = Cells(i, "Z") - Cells(i, "Y") * Cells(i, "G")
End If
Case Is = "Refund"
If Cells(i, "Y") + Cells(i, "Z") * 0.1234 < Then
Cells(i, "AA") = Cells(i, "Y") + Cells(i, "Z") * 0.1234
End If
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub Sub 订单利润9()
Dim i As Integer
i =
Do
Cells(i, "AA") =
Select Case Cells(i, "C")
Case Is = "FBA Inventory Fee", "W Deal Fee", "Service Fee"
Cells(i, "AA") = Cells(i, "V")
Case Is = "Order"
If Not IsError(Cells(i, "X")) Then
Cells(i, "AA") = Cells(i, "Z") - Cells(i, "Y") * Cells(i, "G")
End If
Case Is = "Refund"
If Cells(i, "Y") + Cells(i, "Z") * 0.1234 < Then
Cells(i, "AA") = Cells(i, "Y") + Cells(i, "Z") * 0.1234
End If
End Select
i = i +
Loop Until Cells(i, "C") = ""
End Sub
1*SUM(i) 开源社区的更多相关文章
- Tornado的一个开源社区
https://link.zhihu.com/?target=http%3A//www.tornadoweb.org/en/stable/ 基于Tornado的一个开源社区 GitHub - shiy ...
- Linux已经全然统治了这个世界:反对开源社区愚不可及
原文来自:http://readwrite.jp/archives/9977 不管一个企业多强大,它都不存在和开源社区抗衡的实力 十年前.Unix占有最快的计算机世界排名前10位的五席,以及超级计算机 ...
- 积极拥抱.NET Core开源社区
潘正磊在上海的Tech Summit 2018 大会上给我们的.NET Core以及开源情况带来了最新信息. .Net Core 开源后取得了更加快速的发展,目前越活跃用户高达400万人,每月新增开发 ...
- 算法工程师想进一步提高竞争力?向TensorFlow开源社区贡献你的代码吧
算法工程师为什么也要向社区贡献代码? [作者:DeepLearningStack,阿里巴巴算法工程师,开源TensorFlow Contributor] “做算法的人要熟悉算法框架源码吗?算法工程师难 ...
- 500G !!史上最全的JAVA全套教学视频网盘分享 (JEECG开源社区)
500 G JAVA视频网盘分享(JEECG开源社区) [涵盖从java入门到深入架构,Linux.云计算.分布式.大数据Hadoop.ios.Android.互联网技术应有尽有] JEECG开源社区 ...
- 福州首届.NET开源社区技术交流会圆满成功
活动总结 2018年11月10日周六的下午,在福州蒲公英创新工场举办了福州首届.NET开源社区技术交流会,来自福建省各大科技公司的技术小伙伴齐聚一堂,为了就是能在现场学习到微软跨平台技术.NET Co ...
- 【福州活动】| "福州首届.NET开源社区线下技术交流会"(2018.11.10)
活动介绍 微软爱开源,已是尽人皆知的事实.自从收购全球最大的开源社区 GitHub 之后,微软依旧使 GitHub 保持独立运营,并且通过此项举措,微软本身已经成为最大的社区服务者. .NET Cor ...
- 500 G JAVA视频网盘分享(JEECG开源社区)
500 G JAVA视频网盘分享(JEECG开源社区) [涵盖从java入门到深入架构,Linux.云计算.分布式.大数据Hadoop.ios.Android.互联网技术应有尽有] [转载:h ...
- 500G JAVA视频网盘分享 (JEECG开源社区)
500 G JAVA视频网盘分享(JEECG开源社区) [涵盖从java入门到深入架构,Linux.云计算.分布式.大数据Hadoop.ios.Android.互联网技术应有尽有] J ...
随机推荐
- js实现select跳转
js简单实现select跳转功能:代码例如以下 <!DOCTYPE html> <html> <head> <title></title> ...
- (四)EasyUI 使用——form表单2 & window窗口
form表单组件主要有以下内容(如下图) 6. progressbar进度条 每隔1秒让进度条按随机数填充,直至充满进度条刻度(只能执行一次) 进度条: <div id=" ...
- 《Mining the Web:Transforming Customer Data into Customer Value》读后札记
<Mining the Web:Transforming Customer Data into Customer Value> <Web数据挖掘:将客户数据转化为客户价值> — ...
- 数据库面试题.net
1.ADO.net中常用的对象 connection, command, sqladapter, dataset, dataview. 2.net中读写数据库要用到哪些类 DataSet数据存储 Da ...
- linux使用fdisk命令操作硬盘
知识点: MBR:Master Boot Record 主引导记录 在硬盘0柱面 0磁头的第一个扇区,占512字节(3部分 主引导程序 446字节,硬盘分区表DPT[disk partion tabl ...
- Atitit.输入法配置说明v1 q229
Atitit.输入法配置说明v1 q229 //------------------------------------------------------ // IME设置 //-------- ...
- C++语言基础(14)-typeid
typeid可用来判断类型是否相等: 例如有下面的定义: char *str; ; ; float f; 类型比较 结果 类型比较 结果 typeid(int) == typeid(int) true ...
- 344. Reverse String【easy】
344. Reverse String[easy] Write a function that takes a string as input and returns the string rever ...
- Django中的request对象组成
if request.REQUEST.has_key('键值'): HttpRequest对象的属性 参考: 表 H-1. HttpRequest对象的属性 属 性 描述 path 表示提 ...
- spring 第一篇(1-2):管理你的beans
在基于spring的应用中,你的应用对象存活在spring container(容器中).容器创建,将它们装配到一起.还有配置和管理它们完整的生命周期(从生到死) 下一章节,你会看到如何配置Sprin ...