IF ISBLANK formula

kwillo

New Member
Joined
Sep 10, 2015
Messages
17
[TABLE="class: grid, width: 200, align: left"]
<tbody>[TR]
[TD]Original
[/TD]
[TD]Revised
[/TD]
[TD]Days Overdue
[/TD]
[/TR]
[TR]
[TD]12/2/19
[/TD]
[TD]31/3/19
[/TD]
[TD]X
[/TD]
[/TR]
[TR]
[TD]31/12/19
[/TD]
[TD][/TD]
[TD]X
[/TD]
[/TR]
</tbody>[/TABLE]





Good morning all,

I wonder if you could help me out with a query. I have a table with two dates, an original date and a revised date. I need the formula which looks at the revised date first and counts the number of days between this and TODAY() but if the cell is blank I want it to look at the original date instead and count the number of days between this and TODAY().

Can anyone help?

Many thanks

Keri
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Re: Please can you help with IF ISBLANK formula?

=IF(B2="",INT(TODAY()-A2),INT(TODAY()-B2))
Difference between to day and 31/12/19 will be negative !!!
 
Upvote 0
Re: Please can you help with IF ISBLANK formula?

Good news, you're welcome
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,118
Members
453,021
Latest member
Justyna P

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