Number of days between dates, leave blank if 0

Wwach

New Member
Joined
Mar 14, 2016
Messages
2
So, it's been a really long time since I've had to use formulas, and I am drawing a complete blank. I am needing the formula for the number of days that have passed since I received a time from when I requested the document, and if I have not received the document yet, then the cell needs to be 0. Can I please request assistance?

EX:
Requested - 4/15/15
Received - 6/12/15
Days passed: 58
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Welcome to the Board!

Not quite clear if you want to return a zero or blank (your description seems to contradict your title)

Zero:
=IF(B1="",0,B1-A1)

Blank:
=IF(B1="","",B1-A1)
 
Upvote 0
Thank you so much, that worked. And you are correct, I did contradict myself. Sorry!!
 
Upvote 0
No worries!
Glad it worked out for you.
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

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