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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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 :biggrin: (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,215,086
Messages
6,123,038
Members
449,092
Latest member
ikke

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