ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumif Question (https://www.excelbanter.com/excel-worksheet-functions/258831-sumif-question.html)

stevestr

Sumif Question
 
I need help with a sumif formula. I have two spreadsheets. On my report
spreadsheet I want to use a sumif function that looks at two columns in the
other spreadsheet and give me a total based on the following criteria.

1. Look at the date in F2 and compare to the date in C2. Count if the date
in F2 is greater than C2.

OR

2. If F2 is blank, and today's date is greater than C2, count.



Bob Phillips[_4_]

Sumif Question
 
Do you mean

=SUMPRODUCT(--((F2:F20C2:C20)+((F2:F20="")*(TODAY()C2:C20))))

--

HTH

Bob

"stevestr" wrote in message
...
I need help with a sumif formula. I have two spreadsheets. On my report
spreadsheet I want to use a sumif function that looks at two columns in
the
other spreadsheet and give me a total based on the following criteria.

1. Look at the date in F2 and compare to the date in C2. Count if the
date
in F2 is greater than C2.

OR

2. If F2 is blank, and today's date is greater than C2, count.






All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com