D
DCM84
Hi,
Im a beginner with excel and think I need to use the IF function to d
it.
OK, heres what i want to do:
At present, I am using this formula in cell A5:
=IF((A1="ACC"),"IIBD ACC", "INVALID CAUSE CODE")
This works fine and when ACC is entered into cell A1, IIDB ACC appear
in cell A5. But, I want to add more values to it, i.e, I want cell A
to still display IIDB ACC when ACC is entered OR another specifie
value such as ACC1. There are about 156 different values that i need.
Another problem is that for some of the values, displaying IIDB AC
would be incorrect as this is not the correct code for some of them.
I thought the obvious solution would be:
=IF((A1="ACC","ACC1","ACC2"....etc),"IIDB ACC", "INVALID CAUSE CODE")
for the values that IIDB ACC corresponds with, and a second formula:
=IF((A1="99","99a","100"....etc),"IIDB PD","INVALID PD")
for the values that it does not correspond with.
I have tried this and found it doesnt work (Im only a novice! hehe) an
also have found that i cannot combine the two statments to wor
together.
Can anyone enlighten me? Also, if you know how to do this, can you giv
me a little background info so that i can understand how it work
exactly?
I would be very very grateful!!
So thanx!!!!!
DCM8
Im a beginner with excel and think I need to use the IF function to d
it.
OK, heres what i want to do:
At present, I am using this formula in cell A5:
=IF((A1="ACC"),"IIBD ACC", "INVALID CAUSE CODE")
This works fine and when ACC is entered into cell A1, IIDB ACC appear
in cell A5. But, I want to add more values to it, i.e, I want cell A
to still display IIDB ACC when ACC is entered OR another specifie
value such as ACC1. There are about 156 different values that i need.
Another problem is that for some of the values, displaying IIDB AC
would be incorrect as this is not the correct code for some of them.
I thought the obvious solution would be:
=IF((A1="ACC","ACC1","ACC2"....etc),"IIDB ACC", "INVALID CAUSE CODE")
for the values that IIDB ACC corresponds with, and a second formula:
=IF((A1="99","99a","100"....etc),"IIDB PD","INVALID PD")
for the values that it does not correspond with.
I have tried this and found it doesnt work (Im only a novice! hehe) an
also have found that i cannot combine the two statments to wor
together.
Can anyone enlighten me? Also, if you know how to do this, can you giv
me a little background info so that i can understand how it work
exactly?
I would be very very grateful!!
So thanx!!!!!
DCM8