CASE statement equivalent

B

Beema

I need a function which does the following, but cannot find one:

[to be put in cell B2]

=(CASE A2
when "AAA" then "Some text"
when "BBB" then "Other Text"
else "")

Is anything, other than a bunch of nested IF statements, possible?

Thanks
 

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