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 ...
随机推荐
- Asp.net 数据库依赖那些事
声明:本文为作者原创文章,转载请注明出处 https://www.cnblogs.com/MaMaNongNong/p/8904022.html 问题背景: 最近做一个非常简单的功能,就是使用ajax ...
- eclipse代码凝视之模板xml
曾经在eclipse中配置凝视的时候,都是各自在自己电脑上配置凝视,每一个同事风格不一样,并且配置繁琐.假设新来的同事忘了提醒,可能就没有配置凝视了.所以我就把类.方法的凝视写成xml文件.然后将配置 ...
- javascript (function() { /* code */ })() 自执行函数
(function(){ function a(){ alert("a"); } })(); 自执行匿名函数: 常见格式:(function() { /* code */ })() ...
- 189. Rotate Array【easy】
189. Rotate Array[easy] Rotate an array of n elements to the right by k steps. For example, with n = ...
- cmpp 短信平台
背景: 物联网一般是在设备上安装sim卡,通过2g网络来进行设备与云端系统的交互,网络都是通过移动的基站来进行网络传输的,所以一旦移动的基站有变动,比如流量降级,光缆割接,其他故障登 都会导致2g络的 ...
- php 获取当前域名
#测试网址: http://localhost/blog/testurl.php?id=5 //获取域名或主机地址 echo $_SERVER['HTTP_HOST']."<br> ...
- 我们可以用JAX-WS轻松实现JAVA平台与其他编程环境(.net等)的互操作
在 JAX-WS中,一个远程调用可以转换为一个基于XML的协议例如SOAP,在使用JAX-WS过程中,开发者不需要编写任何生成和处理SOAP消息的代码.JAX-WS的运行时实现会将这些API的调用转换 ...
- Cocoapod安装使用和常见问题
1.cocoapod的按照,cocoapod是运行在ruby环境下的,在ruby环境的 ,像cocoapod这样的开源项目时放在放在rubygems服务器上面的,但国内访问https://rubyge ...
- ftp uploadFileAction(重要)
TelnetOUtputStream os = ftpClient.put(filename); File file_in = new File(localPath); FileInputStream ...
- c++中sin,cos,arcsin等和在C/C++中使用pi (π) 值
先 #include<math.h> 反3角函数有 acos(double),asin(double),atan(double),atan(double,double),返回值 doubl ...