LookUp or?

kandila888

New Member
Joined
Jun 25, 2018
Messages
1
HI,

I am trying to make a summation of how many items had been sold in a month but the items have different prices. Table format is below. I combined all transaction for 2017 and made a subtotal for each of the month.

yearMonthDateCustomerProductQuantityGiven Price per Unit Subtotal
2017Jan1-1-2017aABC520=Quantity*PriceperUnit
2017Jan23-1-2017dfsdf7215=Quantity*PriceperUnit
2017Jan30-1-2017dABC917
=Quantity*PriceperUnit


<tbody>
</tbody>
Total Jan
2017Feb2-2-2017gDFG

<tbody>
</tbody>

from the above table I want to know what formula I can use to know how many ABC had been sold and how much is the amount. and what if there the price per unit is fixed but there is a discount which formula should I use to fill another table as below?


ProductsABCSales$SDFSales $DFGSales$
Month
Jan14253
Feb
March

<tbody>
</tbody>


And if unit price is fixed but different discounts. --- so total of the discount for example product ABC needs to be summed up.

ProductABCQuantitySubtotalLess Discount
Jan
Feb
March
to Dec down

<tbody>
</tbody>


thank you for the help.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi,

Your discount question can't be answered without a clear statement of what you're using as a gross price. You're only mentioning Price given.


Book1
ABCDEFGHIJKLMNOP
1yearMonthDateCustomerProductQuantityGiven Price per UnitSubtotalProductsABCSales$SDFSales $DFGSales$
22017Jan1-1-2017aABC520100Month
32017Jan23-1-2017dSDF72151505Jan142537150500
42017Jan30-1-2017dABC917153Feb000071505
5March
62017Feb2-2-2017gDFG72151505
Sheet1
Cell Formulas
RangeFormula
K3=SUMIFS($F$2:$F$6,$E$2:$E$6,K$1,$B$2:$B$6,$J3)
L3=SUMIFS($H$2:$H$6,$E$2:$E$6,K$1,$B$2:$B$6,$J3)
M3=SUMIFS($F$2:$F$6,$E$2:$E$6,M$1,$B$2:$B$6,$J3)
N3=SUMIFS($H$2:$H$6,$E$2:$E$6,M$1,$B$2:$B$6,$J3)
O3=SUMIFS($F$2:$F$6,$E$2:$E$6,O$1,$B$2:$B$6,$J3)
P3=SUMIFS($H$2:$H$6,$E$2:$E$6,O$1,$B$2:$B$6,$J3)
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,392
Members
449,445
Latest member
JJFabEngineering

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