datedif

Vtookup

Board Regular
Joined
May 30, 2017
Messages
124
Office Version
  1. 2016
  2. 2013
Hi all.
i come across this formula online =IFERROR(DATEDIF($A$1+1,A3+1,"d"),"Due") which is effective
A1=today() and A3=due date
but if A3 is empty it still reflect Due
how do i make this formula to display space if A3 is empty?
Thanks in advance for any help
 
So, what is your expected result? Which number are you trying to calculate in your example?
You can get to 61 simply by subtracting A1 from A3, i.e.
Code:
=A3-A1
But I think you provided an oversimplified example. I want to see an example of one that is not working out the way you want, along with showing us what you want the answer to be.
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
OK, so what's the problem then?
Like I said, from the example you posted, it would just be:
Code:
=A3-A1
Is there still some outstanding question, or are you all set?
 
Upvote 0
Hi.
there's no more problem joe4. this is solved.
post#1, i'm just asking how to resolved with blank space.
sorry for the confusion.
 
Upvote 0
OK. It looked like that you might still have a question, but if you say you don't, then we'll just leave well enough alone.
 
Upvote 0

Forum statistics

Threads
1,216,036
Messages
6,128,432
Members
449,452
Latest member
Chris87

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