# SumIF?? help?

#### Buckby

##### New Member
I have a list of balances in column 'A' and a list of expiry dates in column 'B'. in Column 'C' i have the end of month date for many years. i basically want to create a profile in column 'D' that will give me a total balance for all products that havent expired.

e.g. the balances in my list have expiration dates starting from 01/08/07 through to 01/08/15. so if the first date in column 'C' was 31/07/07 it would give me the total balance of everything in column 'A' but in the next cell down (column 'D') which has a date of 31/08/07 it will give me a total of everything excluding any balances with an expiration in Aug 07. etc etc.

im sure this can be done with a sumif but any help would be greatly appreciated.

### Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Anyone? Surely the Excel wizards on this forum arent stumped?

Pivot tables can do this fairly simply I am sure, but i am not quite sure what you want your output to be like exactly.

i would rather not use a pivot table if i can get away with it.

Column A Column B Column C Column D
(Balance) (Expiration) (EoM Date) (Total)

10 05/08/07 31/07/07 150
20 10/08/07 31/08/07 90
30 20/08/07 30/09/07
40 10/09/07 31/10/07
50 20/09/07 30/11/07

Basically i want column D to show me the total of column A, where the expiration date in column B is greater than that in Column C.

Would this formula give you what you want ?

Code:
``=SUMIF(B:B,">"&C2,A:A)``

Perfect.

Many Thanks Thorin

Replies
0
Views
40
Replies
1
Views
86
Replies
5
Views
109
Replies
9
Views
136
Replies
2
Views
203

1,203,026
Messages
6,053,113
Members
444,639
Latest member
xRockox

### 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.

### Which adblocker are you using?

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

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