need help with formula

B

Brian

in cell a1 i have one of four letters a b c or d
and in cell b1 i want the following:

if cell a1 = a then return "days"
if cell a1 = b then return "days"
"" = c then return "Evenings"
"" = d then return "Evenings"

what function do I use for this and how.

Thank You
Brian
 
R

Ron Rosenfeld

in cell a1 i have one of four letters a b c or d
and in cell b1 i want the following:

if cell a1 = a then return "days"
if cell a1 = b then return "days"
"" = c then return "Evenings"
"" = d then return "Evenings"

what function do I use for this and how.

Thank You
Brian


Another way:

=CHOOSE((CODE(A1)-95)/2,"days","Evenings")


--ron
 

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