How do I - Logical Test: If a cell's value is not a number?

bobwhosmiles

New Member
Joined
Apr 19, 2004
Messages
22
Hi,

I have a cell that totals the values on a sheet gathered by other formulas. If values aren't yet present they'll obviously display #VALUE! as they don't result in a number.

I need a way to say (for example) in a formula:

If a given cell doesn't equal an actual number and so reports an error, display nothing.

OR incorrectly =IF(A1="#VALUE!","",A1)

Hopefully this makes sense.

Any help appreciated

Cheers

Bob
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Re: How do I - Logical Test: If a cell's value is not a numb

What formula are you using that results in #VALUE! errors?
 
Upvote 0
Re: How do I - Logical Test: If a cell's value is not a numb

Try

=IF(ISERROR(your formula),"")

Nimo
 
Upvote 0
Re: How do I - Logical Test: If a cell's value is not a numb

Thanks loads for a solved query and a speedy and friendly welcome to the board.

That has completely sorted it. Plus I've just discovered the numerous IS functions that will help me in other similar circumstances.

Typically, Excel's own "Answer Wizard" failed to offer an answer despite rephrasing the query numerous times

Thanks

Bobwhosmiles :-D (again)
 
Upvote 0
Re: How do I - Logical Test: If a cell's value is not a numb

=IF(ISNUMBER(a1),a1,"")
 
Upvote 0
Re: How do I - Logical Test: If a cell's value is not a numb

bobwhosmiles said:
...That has completely sorted it. Plus I've just discovered the numerous IS functions that will help me in other similar circumstances.

I guess it won't help saying that an IsError test is most of the time not the way to resolve the problem.

Typically, Excel's own "Answer Wizard" failed to offer an answer despite rephrasing the query numerous times...

Maybe it doesn't like invoking IsError...
 
Upvote 0
Re: How do I - Logical Test: If a cell's value is not a numb

Hi Aladin,
What would you have suggested?

Nimo (still learning)
 
Upvote 0

Forum statistics

Threads
1,223,671
Messages
6,173,735
Members
452,531
Latest member
Dufus1024

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