Reputation: 1
I have one column with dates, one column with values and one cell with date in excel. I want to see if the dates in the column is greater than the cell date if it is then sum up the values from another column
for eg. - sheet1 A:A has dates Sheet1 B:B has numbers Sheet 2 cell A has a date 02/02/2013
If cell A is greater than sheet1 A:A then sum Sheet 1 B:B in a seperate cell.
Thanks so much
Upvotes: 0
Views: 1666
Reputation: 7817
You can fill out another column and enter this formula:
=IF(A1>$C$1,B1,"")
and drag the formula down. What you will have in this new column is all the numbers of the dates that are greater then the date in cell C1.
You can then just sum up the column.
A bit hacky but it will do what you want.
NOTE: assuming that the given date is in cell C1. Could not tell from your question.
Upvotes: 0
Reputation: 244
=SUMIF(Sheet1!A:A,">"&Sheet2!A1,Sheet1!B:B)
This SUMIF
formula will sum up all the values in sheet 1 column B where the value in sheet 1 column A are greater than the value in sheet 2 cell A1.
Upvotes: 0