Profit Calculator

richard alfred

New Member
Joined
May 31, 2023
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
Hi

I am trying to create an Excel sheet that can calculate the monthly net profit for a product that I am selling, however, I purchase the item with different quantities and different prices each time.
Below is the table demonstrating the value of the product bought and sold. can anyone help me with the function to solve this problem?

In QTYUnit PriceTotal PriceMonth Sold QTYSold PriceProfit
126578011/2022198
5974.6440012/20229869
50085425001/202311313585
20078156152/202333844142
40070280004/20231028275
1176879565/202319016644
829889
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
this seems pretty straightforward. But, I suspect you may have left something out.
Are the products different (do you have multiple rows for multiple products)?

Mr excel questions 39.xlsm
ABCDEFG
1In QTYUnit PriceTotal PriceMonthSold QTYSold PriceProfit
21265.00780.0011/20221.0098.00-682.00
35974.604,400.0012/20229.00869.00-3,531.00
450085.0042,500.0001/2023113.0013,585.00-28,915.00
520078.0015,615.0002/2023338.0044,142.0028,527.00
640070.0028,000.0004/2023102.008,275.00-19,725.00
711768.007,956.0005/2023190.0016,644.008,688.00
882.009,889.00
Sheet2
Cell Formulas
RangeFormula
G2:G7G2=F2-C2
 
Upvote 0
1USB Stick
NO:INSales
In DateLocationIn QTYUnit priceIn PriceOut DateOut QTYSold PriceProfit
1
11/23/2022​
ABC1265780OTHER0
2
5/1/2023​
BXD5974.584400
1/8/2022​
000
323/1/2023Tara5008542500
1/9/2022​
000
414/2/2023Extra store20078.0815615
1/10/2022​
00
520/2/2023Safwa4007028000
1/11/2022​
198.1
6
5/13/2023​
Center117687956
1/12/2022​
9869.2
70
1/1/2023​
11313585.6
80
1/2/2023​
33844142.7
90
1/3/2023​
1028275.5
100
1/4/2023​
19016644.7
110
1/5/2023​
8510295.1
120
1/6/2023​
00
130
1/7/2023​
000
140
1/8/2023​
000
150
1/9/2023​
000
160
1/10/2023​
000
170
1/11/2023​
000
 

Attachments

  • 11.JPG
    11.JPG
    93 KB · Views: 10
Upvote 0
1USB Stick
NO:INSales
In DateLocationIn QTYUnit priceIn PriceOut DateOut QTYSold PriceProfit
1
11/23/2022​
ABC1265780OTHER0
2
5/1/2023​
BXD5974.584400
1/8/2022​
000
323/1/2023Tara5008542500
1/9/2022​
000
414/2/2023Extra store20078.0815615
1/10/2022​
00
520/2/2023Safwa4007028000
1/11/2022​
198.1
6
5/13/2023​
Center117687956
1/12/2022​
9869.2
70
1/1/2023​
11313585.6
80
1/2/2023​
33844142.7
90
1/3/2023​
1028275.5
100
1/4/2023​
19016644.7
110
1/5/2023​
8510295.1
120
1/6/2023​
00
130
1/7/2023​
000
140
1/8/2023​
000
150
1/9/2023​
000
160
1/10/2023​
000
170
1/11/2023​
000
I attached a picture containing more data, I think it has to do something with FIFO as

AhoyNC mentioned​

 
Upvote 0
Take a look at these 2 videos (Part 1 & Part 2) and see if this is what you want.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top