
Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
> How about telling us what you are trying to do
I'm trying to use this:
=IF((W1=1),"HIN",IF((W1=2),"HIN VAN",IF((W1=3),"LET",IF((W1=4),"LET VAN
1",IF((W1=5),"LET VAN 2",IF((W1=6),"LET VAN
3",IF((W1=7),"EXE",IF((W1=8),"LIV",if((W1=9),"LIV VAN 1",IF((W1=10),"LIV VAN
2",IF((W1=11),"LIV VAN 3",IF((W1=12),"PRE",IF((W1=13),"PRE
VAN",IF((W1=14),"CRO",IF((W1=15),"SWA",IF((W1=16),"SWA
VAN",IF((W1=17),"LEE",IF((W1=18),"LEE
VAN",IF((W1=19),"NEW",IF((W1=20),"CHE",IF((W1=21),"CHE VAN
1",IF((W1=22),"CHE VAN 2",IF((W1=23),"CHE VAN 3",IF((W1=24),"CHE VAN
4",""))))
It is probably very sloppy but I'm trying to get the cell to display a name
depending on what number it contains.
Cheers....
Craig....
Don Guillett - 24 Mar 2007 17:47 GMT
In this case I would suggest a lookup table since you may want to change
later. Have a look in the help index for VLOOKUP.
1 Hin
2 Hin Van

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
>
>> How about telling us what you are trying to do
[quoted text clipped - 19 lines]
>
> Craig....
Ragdyer - 24 Mar 2007 18:01 GMT
Hey Don, where are you located?
I'm in So. Cal. on daylight saving time, and your post wasn't there 5
minutes ago.
Are you in Texas on std. time?

Signature
Regards,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
> In this case I would suggest a lookup table since you may want to change
> later. Have a look in the help index for VLOOKUP.
[quoted text clipped - 23 lines]
> >
> > Craig....
Don Guillett - 24 Mar 2007 18:30 GMT
RD,
I'm in Austin and its 12:20 CDST

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
> Hey Don, where are you located?
>
[quoted text clipped - 30 lines]
>> >
>> > Craig....
Ragdyer - 24 Mar 2007 17:50 GMT
You could enter your list in say A1 to A24, then use this formula if there
will always be data present:
=INDEX(A1:A24,W1)

Signature
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
>
> > How about telling us what you are trying to do
[quoted text clipped - 17 lines]
>
> Craig....
Craig Coope - 24 Mar 2007 18:18 GMT
> You could enter your list in say A1 to A24, then use this formula if there
> will always be data present:
[quoted text clipped - 4 lines]
>
> RD
Thanks for everyones help. I used a vlookup...I just want to get rid of
those pesky #N/As now!
Dave Peterson - 24 Mar 2007 18:27 GMT
=if(iserror(vlookup(...)),"",vlookup(...))
You could use any old string instead of ""--maybe "Invalid" or "Missing"
> > You could enter your list in say A1 to A24, then use this formula if there
> > will always be data present:
[quoted text clipped - 7 lines]
> Thanks for everyones help. I used a vlookup...I just want to get rid of
> those pesky #N/As now!

Signature
Dave Peterson
Tom Ogilvy - 24 Mar 2007 23:25 GMT
if you don't want to tie up a bunch of cells with a look up table, you can
use
=if(And(W1>=1,W1<=24),Choose(W1,"HIN","HIN VAN","LET","LET VAN 1","LET VAN
2","LET VAN 3","EXE","LIV","LIV VAN 1","LIV VAN 2","LIV VAN 3","PRE","PRE
VAN","CRO","SWA","SWA VAN","LEE","LEE VAN","NEW","CHE","CHE VAN 1","CHE VAN
2","CHE VAN 3","CHE VAN 4"),"")

Signature
Regards,
Tom Ogilvy
>> How about telling us what you are trying to do
>
[quoted text clipped - 18 lines]
>
> Craig....