Repeatedly finding the sum of values in a dataset between two endpoints

mr_steveb

New Member
Joined
Jun 27, 2024
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Hello all,

Our very old Warehouse Management System exports .CSV files that I try to use Excel to garner certain insights out of them.

One of our reports gives us an assortment of data about all of our products in our warehouse, including quantity on-hand, how many we should have, the cost per item, etc. I've used straightforward equations to multiply values together (e.g. we have 2 items on hand when we should have 12. They come in packs of four at $10 apiece. So we have to buy 2.5 packs [rounds up to 3], so it'll be $30 to get us to our level). We can only do orders if the cost is above a certain amount, and it's a laborious process for all the guys to go over printouts(!) and manually compile this.

The problem is that each vendor has a different number of SKUs, meaning there isn't a standardized way to set up arguments to add things together:
1719518968476.png


What I'm hoping to be able to do is to have Excel repeatedly find the sum of values between two endpoints (in this case, the word END). The light green box above would sum out to -76.64 while the second one would be $-69.97.

Any thoughts or advice appreciated, and thank you in advance!
- Steve
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hello! This seems to have worked. Thanks for helping us eke more performance out of an old system
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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