ISBLANK with ISERROR with DATE CALC

Melcrowne

New Member
Joined
Oct 16, 2017
Messages
4
I can not seem to get my function to jive. I want it to populate TBD if an error occurs or if the field next to it is blank. I also have 2 DATEDIF incorporated. I have tried writing it forward and backward.

imagejpeg
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
=IFERROR(IF(ISBLANK(G25), "TBD", "TBD", IF(G25>E25, DATEDIF(E25, G25, "D")), (-DATEDIF(G25, E25, "D"))))(H25), TBD)

That is my most recent pass. I just need TBD if the field next to it is blank, TBD if there is an error, and appropriate date calculations if neither of those arguments are true. Thanks!!!
 
Upvote 0
Try (not sure what H2 is for in your formula):

Code:
[TABLE="width: 665"]
<colgroup><col width="665"></colgroup><tbody>[TR]
   [TD="width: 665"]IFERROR(IF(ISBLANK(G25),"TBD",IF(G25>E25,DATEDIF(E25,G25,"D"),-DATEDIF(G25,E25,"D"))),"TBD")[/TD]
 [/TR]
</tbody>[/TABLE]
 
Upvote 0
Still not sure what the H2 is doing as your formula shows checking G25 for a blank.

I'm not getting an argument error with the formula I gave.
Excel Workbook
EFGHI
24
254/6/2017#N/ATBD
26
Sheet
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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