Date Comparison excluding Blank Field

theta1229

New Member
Joined
Mar 31, 2016
Messages
1
I have looked through and tried many items posted already but am still getting an error.

I have a spreadsheet as such:

Name, Staff, Referral Date, Intake Due, Intake Date, Outcome Met?.......

My current set up:

C3 -Referral Date is manually entered.

D3 - Intake Due is 7 days from Referral Date thus =IF(ISBLANK(C3),"",C3+7)

E3 - Intake Date is manually entered

F3 - Outcome Met? compared Intake Due and Intake Date for the 7 day period thus =IF(E3<=D3, "Yes","No") --- This then is used somewhere else to calculate a percentage which is working correctly.

PROBLEM - Right now the F will say Yes if there is no date in Intake Date - how do I have it complete the formula ONLY if data is filled in? This is where I have looked up many other threads and tried the formulas outlined. I want F to remain blank if E is blank. Because these 'invalid' fields are calculating out as Yes, my percentage formula is counting them which I do not want. Error I receive says Too Many Arguments.

Any help greatly appreciated.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi,

What about

Code:
=if(E3="","",if(E3<=D3,"Yes","No"))
?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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