#1
|
|||
|
|||
Populate a cell using 2 reference points
Hi, I hope someone can give a little advice please.
What i am trying to attempt is to create a spreadsheet of a works rota that can populate a table of all employees off days within a calendar year. I am struggling to find a solution that enables me to populate a cell from a reference table using 2 reference points (a week and a day). The reference table has 3 columns. "week row", "day Number" and "job". I have tried using vlookup to locate a cell in the "job" column but it doesn't work. How can i use a formula to first lookup a week (say week 3) and then in week 3 lookup any given day, lets say day 5 (which represents Thursday) and return a value of "403"? Thanks in advance. It wouldn't surprise me if its a simple solution. |
#2
|
|||
|
|||
Take a look at the attached.
|
#3
|
|||
|
|||
Great, works a treat and thanks for the real fast reply. Do you know how that formula can be converted into "numbers" on a mac by any chance? The ampersand character is combining the 2 values as one making them return a value of 35 which cannot be located instead of 3 & 5 as separate values. Again thanks for your reply
|
#4
|
|||
|
|||
I am not quite sure what you are asking about.
I don't know even the most basic about Mac, but if it is the ampersand that is a problem you may be able to use the function CONCATENATE instead. =INDEX(C3:C219,MATCH(CONCATENATE(D1,D2),INDEX(CONC ATENATE(A3:A219,B3:B219),),0)) If it is something else you mean, please explain. |
#5
|
|||
|
|||
There shouldn't be a space between C and A in the second CONCATENATE. That space is an error that sometimes appear in this forum.
|
#6
|
|||
|
|||
Xor, you clearly know your marbles. CONCATENATE does the same thing, it makes the spreadsheet look for 35 in Columbia A and not 3 and 5 in different columns. But i can work with what you have already given me so thats great. thanks again.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word - Table of contents with multiple reference points | dc2407 | Word | 5 | 04-25-2017 02:25 AM |
Entering a column value in a cell, to be used as part of a reference in a formula in another cell | paulkaye | Excel | 4 | 02-26-2017 04:18 AM |
Using Cell Values in Active Sheet to Populate Path to External Reference Link | wowcrofty | Excel | 4 | 12-19-2016 12:29 PM |
Assign the value of a cell as a cell reference of another cell in Excel 2010 - How to? | bharathkumarst | Excel | 7 | 10-13-2014 10:25 AM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |