Hi
I have a spread sheet where I want to return a value if a field equals a specific value.
in the statement below you see if($EJ14="K1" then return "FERT".
The thing is I idealy want to return "FERT" if the $EJ14 field equals anything ending in 1, I have tried adding a wildcard so that it is only looking at the number i.e. anything ending in 1 as below.
=IF($EJ14="?1","FERT" this returns "FALSE"
=IF($EJ14="K1","FERT",IF($EJ14="K3","HALB",IF($EJ14="K5","HAWA",IF($EJ14="K7","ROH",IF($EJ14="P1","FERT",IF($EJ14="","INFO"))))))
This works but sometimes the values are not preceded with a "K" it may be a "S" or a "T".
Any help would be appreciated.
AJD
AJD
I have a spread sheet where I want to return a value if a field equals a specific value.
in the statement below you see if($EJ14="K1" then return "FERT".
The thing is I idealy want to return "FERT" if the $EJ14 field equals anything ending in 1, I have tried adding a wildcard so that it is only looking at the number i.e. anything ending in 1 as below.
=IF($EJ14="?1","FERT" this returns "FALSE"
=IF($EJ14="K1","FERT",IF($EJ14="K3","HALB",IF($EJ14="K5","HAWA",IF($EJ14="K7","ROH",IF($EJ14="P1","FERT",IF($EJ14="","INFO"))))))
This works but sometimes the values are not preceded with a "K" it may be a "S" or a "T".
Any help would be appreciated.
AJD
AJD