gopalgriffith
New Member
- Joined
- Feb 21, 2024
- Messages
- 6
- Office Version
- 365
- Platform
- Windows
Hi, I am trying to come up with a single formula that will sum the increases across a row of data.
For instance:
So basically:
a) the sum of the first row would be 650 (the 250 increase in column 2 + the 400 increase in column 4)
b) the sum of the second row would be 400 (100 increase in column 2 + the 200 increase in column 3 + the 100 increase in column 4)
I think the formula I need is something along the lines of:
but this is giving an error message.
Clearly I could create a second table with the increments and then sum those - but was hoping to do it with a single formula.
Any thoughts where I am going wrong / how to achieve this in a single step/formula...
Gopes
For instance:
0 | 250 | 100 | 500 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 100 | 300 | 400 | 0 | 0 | 0 | 0 | 0 | 0 |
So basically:
a) the sum of the first row would be 650 (the 250 increase in column 2 + the 400 increase in column 4)
b) the sum of the second row would be 400 (100 increase in column 2 + the 200 increase in column 3 + the 100 increase in column 4)
I think the formula I need is something along the lines of:
Excel Formula:
=SUMIF(B1:J1,">"&A1:I1,B1:J1-A1:I1)
Clearly I could create a second table with the increments and then sum those - but was hoping to do it with a single formula.
Any thoughts where I am going wrong / how to achieve this in a single step/formula...
Gopes