Constants and Name Textual Display

  • Thread starter Thread starter Zvi Grinberg
  • Start date Start date
Z

Zvi Grinberg

I'll describe my need.

I want to use constants such as
Good=0
Better=1
Best=2

It is important for me to allow the user to enter (and see) the "words"
as text, and then convert them somehow to numeric values elsewhere
(another sheet, another location)

Eventually I'd like to be able to have a situation for example - where
someone enters "better" in the cell next to the "condition" and
somewhere else have it caculated to 1.

If the solution is other than using constants - it's welcome as well.

Thanks In Advance
 
Hi Zvi!

If I understand correctly, all you need is something like:

=IF(A1="Good",0,IF(A1="Better",1,IF(A1="Best",2,"Only use Good,
Better, Best")))

If you have a lot of alternatives, it might be better to use VLOOKUP

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 

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

Back
Top