问题已解决
同款產(chǎn)品計算差價,例如a數(shù)量5,單價25,a數(shù)量10,單價28,差價多少?要先算這款產(chǎn)品的總數(shù)量嗎
![](https://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
![](/wenda/_nuxt/img/iconWarn.60bd4fe.jpg)
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
不需要先算總數(shù)量哦。
可以分別計算兩種情況下的總價,然后再求差價。
當數(shù)量為 5,單價為 25 時,總價為 5×25 = 125;
當數(shù)量為 10,單價為 28 時,總價為 10×28 = 280。
那么差價為 280 - 125 = 155。
所以這兩款產(chǎn)品的差價是 155
01/21 11:53
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 14:43
同款產(chǎn)品不同價格和數(shù)量喔,這樣算好像不對吧?
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/21 14:44
不是要算總的差價嗎?
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 20:06
是呀,算總的差價,但是他有一些數(shù)量不一樣的,單價也有幾單是不一樣的,就是例如同款產(chǎn)品25單價有幾單,28單價也有幾單,沒單數(shù)量都不一樣
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/21 20:06
這個就是兩種的總金額相減
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 20:07
不用算總數(shù)量是嗎
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 21:26
例如a產(chǎn)品數(shù)量46,單價26,然后另一單數(shù)量16,單價28,差價怎么算?46×26-16×28嗎
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/21 21:28
就是每一種的單價乘以她的數(shù)量
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 22:08
還有就是數(shù)量5,單價25,另一單數(shù)量8,單價30,第三單數(shù)量10,單價25這個怎么算
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/21 22:20
5*25-8*30=-115
是這樣計算的哦
你看看
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 22:38
這樣吧,你告訴我這些差價就行了,框住的就是單價
FAILED
FAILED
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 22:39
還有這個
FAILED
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/21 22:41
你什么這不都算出來了嗎
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/21 22:42
你上面這不都算出來了嗎
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 22:43
不知道對不對呀
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/21 22:49
你算這個價有什么用?
一般就算是算差價也是數(shù)量相等
數(shù)量不一樣算出來沒什么意義
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 22:50
老板要啊,問我差價總金額多少
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/21 23:19
所以這個要怎么算呀
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/22 05:14
就是每一種單價乘以數(shù)量減去另一種單價的總額
![](http://member.chinaacc.com/homes/resources/images/home/avatar/4.jpg)
84785014 ![](/wenda/_nuxt/img/reply1.d92ea43.png)
![](/wenda/_nuxt/img/reply1.d92ea43.png)
01/22 07:12
那有一些數(shù)量不一樣,單價一樣的,用哪個總額減單價不一樣的?因為他同個單價有好幾單,另外一個單價也有好幾單,,每單的數(shù)量都不一樣
![](https://pic1.acc5.cn/000/01/84/99_avatar_middle.jpg?t=1714028667)
樸老師 ![](/wenda/_nuxt/img/reply2.28c7604.png)
![](/wenda/_nuxt/img/reply2.28c7604.png)
01/22 08:05
數(shù)量不一樣算出來其實沒什么意義,不知道你們老板要這個有什么用
![](/wenda/img/newWd/sysp_btn_eye.png)