conditional headings

  • Thread starter Thread starter excel help acct
  • Start date Start date
E

excel help acct

I need to populate a heading on an excel spreadsheet based on a value keyed
by a user. It can be one of 12 values keyed in. How can I code the heading
to appear based on the chouice selected by the user?
 
Do a Lookup of the keyed-in value. See Vlookup, Hlookup, Lookup functions.

Tyro
 
Assume the user enters a value between 1 and 12 inclusive into cell
A1. You could use this in another cell to return your heading:

=CHOOSE(A1,"One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Eleven","Twelve")

Of course, you should substitute the headings you want for the
"numbers".

Hope this helps.

Pete
 

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