Green arrow in cells

J

jackcwood

I need a addition to make this formula insert numbers as text
=IF($A9=24,"",(IF($A9=20,"190",
(IF($A9=20,"020",IF(ISBLANK(B9),"",""))))))
any ideas
Cheers

JAck
 
N

Niek Otten

Hi Jack,

There seem to be two options for when A9 = 20: 190 or 020
ISBLANK returns FALSE if there is a space in B9 or if there is a formula that returns "blank". The test seems of no use anyway,
because both TRUE and FALSE generate "".
Otherwise your formula does return numbers as text, which you seem to require. If not, leave out the quotes around the numbers.

Post back in this thread if this doesn't help.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


|I need a addition to make this formula insert numbers as text
| =IF($A9=24,"",(IF($A9=20,"190",
| (IF($A9=20,"020",IF(ISBLANK(B9),"",""))))))
| any ideas
| Cheers
|
| JAck
 
B

Bob Phillips

Doesn't it do just that?

BTW, you test A9 for 20 twice.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
D

David Biddulph

The formula *does* give the numbers as text. You can confirm it with
=ISTEXT(cell_ref).

But note that you've got 2 conditions testing for $A9=20, so you won't get
to the "020" value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top