Elementary question

  • Thread starter Thread starter ozalid
  • Start date Start date
O

ozalid

Sorry for this, I know it is simple, but its a long time since I used Excel!
I want a cell to reflect the value of another cell in a hidden table if I
use another cell as the reference. So for example, I have a table of days
Monday to Friday and in another cell I could put 1 which would refer to
Monday and put this value in another cell somewhere else on the sheet, but if
I change it to 2 I want it to put Tuesday etc, this sounds muddled to me, but
can anyone help please? I have been messing with this for ages.
Regards, Alan (Excel 2000)
 
Hi,

Build a table out of the way that looks like the one below. I put mine in K1
- L5


The put this formula in a cell
=VLOOKUP(A1,K1:L5,2,FALSE)

If you now enter a number in A1 you get the corresponding day of the week.


1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday

Mike
 
You may find that updates to the worksheet will be easier if you put that table
on a separate, dedicated worksheet.

It'll make inserting/deleting rows and columns much safer.
 

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

Similar Threads

Formula help 10
How can I use OFFSET and VLOOKUP together 1
Comparison Formula 5
Easy question (just not for me) 2
Shift Schedule Formula 1
date and time 1
Mulitple formulas 1
Lookup Question 3

Back
Top