Long Code, Sum I

Freeman5438

New Member
Joined
Aug 14, 2019
Messages
2
I need help, I have a Quotation that I have made for work. It has drop downs Lists to save time and speed up the completion of the quotation.

Problem is I have added a drop down List under subtotal is for offers like 20% off ect.

the one I'm having trouble with is the free packing material List.

I need to count all the packing material only and add this up before taking it away from the grand total.

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]QUANTITY[/FONT]<strike></strike>
<strike></strike>[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]DESCRIPTION[/FONT]<strike></strike>
<strike></strike>[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]UNIT PRICE[/FONT]<strike></strike>
<strike></strike>[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]AMOUNT[/FONT]<strike></strike>
34[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Small Box 457x305x254mm[/FONT]<strike></strike>
1.3044.20
17[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Medium Box 457x457x457mm[/FONT]<strike></strike>
1.9032.30
6[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Rental Service, Wardrobe Box 508x457x1016mm[/FONT]<strike></strike>
3.0018.00
6[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Large Box 457x457x914mm[/FONT]<strike></strike>
2.6015.60
6[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Small Box 457x305x254mm[/FONT]<strike></strike>
1.307.80
5[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Medium Box 457x457x457mm[/FONT]<strike></strike>
1.909.50
1[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Full Packing Service[/FONT]<strike></strike>
500.00500.00
3[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Dismantling & Reassembling Service[/FONT]<strike></strike>
25.0075.00
1[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Small Box 457x305x254mm[/FONT]<strike></strike>
1.301.30
1[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Medium Box 457x457x457mm[/FONT]<strike></strike>
1.901.90
1[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Loading, Unloading & Moving Service[/FONT]<strike></strike>
1000.001000.00
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]SUBTOTAL[/FONT]<strike></strike>
<strike></strike>
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Free Packing Material [/FONT]<strike></strike>
<strike></strike>
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]TOTAL[/FONT]<strike></strike>
<strike></strike>

<tbody>
</tbody>
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
(a) how do you identify "packing material" and (b) what gets removed from the subtotal?
 
Upvote 0
If I understand you correctly, I used a helper column E which could be hidden, then:


Excel 2010
ABCDE
1QUANTITYDESCRIPTIONUNIT PRICEAMOUNTPacking
234Small Box 457x305x254mm$1.30$44.2044.2
317Medium Box 457x457x457mm$1.90$32.3032.3
46Rental Service, Wardrobe Box 508x457x1016mm$3.00$18.0018
56Large Box 457x457x914mm$2.60$15.6015.6
66Small Box 457x305x254mm$1.30$7.807.8
75Medium Box 457x457x457mm$1.90$9.509.5
81Full Packing Service$500.00$500.00
93Dismantling & Reassembling Service$25.00$75.00
101Small Box 457x305x254mm$1.30$1.301.3
111Medium Box 457x457x457mm$1.90$1.901.9
121Loading, Unloading & Moving Service$1,000.00$1,000.00
13
14Subtotal$1,705.60
15Free Packing Material$130.60
16TOTAL$1,575.00
Sheet9
Cell Formulas
RangeFormula
D2=A2*C2
D14=SUM(D2:D12)
E2=IF(ISNUMBER(FIND("Box",B2)),D2,"")
 
Upvote 0
Actually, D15 is: =IF("Free Packing Material"=C15,SUM(E2:E12),D14*C15)

And the drop-downs for C15 used a list containing Free Packing Material, 10%, 20%...or whatever.

I assumed that any description with "box" in it was packing material.
 
Last edited:
Upvote 0
Actually, D15 is: =IF("Free Packing Material"=C15,SUM(E2:E12),D14*C15)

And the drop-downs for C15 used a list containing Free Packing Material, 10%, 20%...or whatever.

I assumed that any description with "box" in it was packing material.

Hi Kweaver, im new to this so how can i send you the workbook about i dont know if im explaning it correctly. It sorted work but i dont need the extra column.
 
Upvote 0
You an private message (PM) by clicking on my name.
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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