Calculating totals from a certain point in a list

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am looking for a formula to total each line from a certain point in a list

Column G is quantity
Column H is Description
Column I is Price

If there are parts added to the list after it has been done, i need to see what the "additions" would total

So i need a total upto the descrition being "Additions" and a total after the description being "Additions"

Hope this makes sense

Thanks
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Excluding additions

=SUMPRODUCT(--(H2:H20<>"Additions"),G2:G20,I2:I20)

Including additions

=SUMPRODUCT(G2:G20,I2:I20)

Change ranges to match your data.
 
Upvote 0
Thanks Jason,

This doesn't actually do what i needed it to do

Say we begin with 4 lines of £1 each

Then we add for additions 2 lines of £1 each

First Total should be £4
Second Total should be £2

Please bear in mind the position of "Additions" in the decscription can change from line to line for every list

Thanks
 
Upvote 0
Hi Jason,

Unfortunately my query wasn't answered in that thread?

Thanks
 
Upvote 0
Your question is not clear to me.

If you just want to add items if the description is the string "Additions" you can use Sumif() or Sumproduct().

Maybe if you post some rows of data, the logic and the expected result?
 
Upvote 0
Hi Jason,

Unfortunately my query wasn't answered in that thread?

Thanks

I wasn't directing you there for a solution, more as a reminder that you already had a thread with the same question.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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