show blank instead of #NUM

mholmes

New Member
Joined
Oct 30, 2002
Messages
16
I have a formula that is copied over multiple rows. Some of these rows don't have numbers so the formula shows #NUM. Instead of deleting the formula in those rows, is it possible to have the formula show nothing instead of #NUM? Thanks!


Marcus
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
On 2002-11-01 15:42, mholmes wrote:
I have a formula that is copied over multiple rows. Some of these rows don't have numbers so the formula shows #NUM. Instead of deleting the formula in those rows, is it possible to have the formula show nothing instead of #NUM? Thanks!


Marcus

What is the formula?
 
Upvote 0
On 2002-11-01 15:49, mholmes wrote:
=DATEDIF(NOW(),F3,"d")

=IF(F3,DATEDIF(NOW(),F3,"d"),"")

or, rather,...

=IF(F3,DATEDIF(F3,TODAY(),"d"),"")
This message was edited by Aladin Akyurek on 2002-11-01 16:10
 
Upvote 0
On 2002-11-01 16:13, mholmes wrote:
That's not giving back the same results as my formula.

How about
=IF(F3,DATEDIF(TODAY(),f3,"d"),"")
or
=IF(F3,F3-TODAY(),"")
 
Upvote 0
On 2002-11-01 16:13, mholmes wrote:
That's not giving back the same results as my formula.

Which one? Why wouldn't it give same results?

The syntax for DATEDIF requires that...

=DATEDIF(Date1,Date2,Specs)

where Date1 < Date2.
 
Upvote 0

Forum statistics

Threads
1,213,517
Messages
6,114,085
Members
448,548
Latest member
harryls

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