Addition Formula

m0ws3r

New Member
Joined
Sep 2, 2014
Messages
10
Hi,

I wondering if it possible to write a formula to count down a column, looking for the next occupied cell and the summing up the cells in another column.

Example:
RouteDelivery SequenceStore NameStore ReferenceDepart DepotPlanned CagesSystem PrioritySystem Trailer NumberDHL Trailer NumberBay NumberTrailer CapacityRoute Planned Cages
2 METRO CENTRE (3353)335359
11 NEWCASTLE (1300)130004:45619500STR1580
2 CHESHIRE OAKS (0399)039919
21 CHESTER (1245)124507:11209400STR254
4 WARRINGTON (1517)151790
3 OSWESTRY SF (4255)425565
2 HESWALL SF (5827)582738
31 PRESTATYN (0176)017607:29669300STR358
41 GEMINI (2781)278108:55319200STR458

<tbody>
</tbody><colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup>

So, what i essentially need is to look down column 'A' detect the next value, but then sum up the detail in column 'H'. Current Formula I have in column 'N' is =ISNUMBER(A3)*(SUM($H$2:H3))

Any help would be appreciated

Many Thanks
Mick
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
you need to sum the System Trailer Number (column H)?

What should be the result (manualy).
 
Upvote 0
Hi. What returns the same? The two formulas? They are different. They may return the same however. The first will return 0 if A3 is not a number and the 2nd will return "". Or don't I understand what you are after?
 
Upvote 0
apologies, they return to same information as the formula I have,

what i need is the formula to detect the blanks up to a cell with a number in route column, then add the corresponding cells in H columns

example
Route 1 = sum of H2:H3 then count the next set of blank cells up until an occupied cell
Route 2 would be = sum of H4:H5
Route 3 would be = sum of H6:H9
 
Upvote 0
Like this?

Excel Workbook
ABCDEFGHIJ
1RouteSum
21 
3134
42
54
65
73
82216
94
103
11329
12411
131
142
15536
Sum
 
Upvote 0
Glad it helped. Thank you for the generous feedback. :)
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,972
Members
448,933
Latest member
Bluedbw

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