combining an If and Countif?

kymmage

New Member
Joined
Jan 22, 2009
Messages
8
Hi All,

I want it to check for records in my spreadsheet with yesterday’s date on it and if so tell me how many records were classified as Retrospective. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p> </o:p>
=IF('Check It'!B:B=(TODAY()-1),COUNTIF('Check It'!G:G,"Retrospective"),"None")<o:p></o:p>
<o:p> </o:p>
I know its not working. It prints None even if there was a retrospective change yesterday. Does anyone if, if what I am trying to do is possible. I'm not ready to macro this piece of the report.

Thanks

Kym
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Try

=SUMPRODUCT(--('Check It'!B1:B100=TODAY()-1),--('Check It'!G1:G100="Retrospective"))
 
Upvote 0
I think your formula should work as long as you enter it in as an array formula. Try entering the formula you have but press CTRL+Shift+Enter instead of just Enter.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,882
Members
452,948
Latest member
Dupuhini

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