Hello,
Below is a made up spreadsheet to illustrate my problem. The initial design was not made by me and unfortunately cannot be changed. I am wanting to use functions or vba to return cell values if possible.
Here's how it works:
Each day an employee has a note located under the date and a letter code located to the right of the note. The letter code columns do not have headers.
In a separate sheet, I want to be able to enter the date and employee and have it return the corresponding note and letter code.
For example, if I enter: 6/14/2015 and Employee #1, I want the result to be "note1" and "r". Or if I enter 6/22/2015 & Employee #4 ---> "note3" and "m"
I thought the solution would be as simple as using HLOOKUP and MATCH for the note and some kind of OFFSET for the letter code, but it doesn't seem that simple.
The problem is there is no single row going across with all the different dates, and the employees down column A repeat every week.
I have tried various combinations of HLOOKUP, VLOOKUP, INDEX, MATCH, ADDRESS, INDIRECT, OFFSET, etc. but am completely stumped!
Anyone have any advice?
Thanks!
...........A.................B...........C........D..........E...........F...........G.............H..........I..........J..........K........L..........M............N
1........................Sunday............Monday..............Tuesday...............Wednesday..........Thursday..........Friday................Saturday
2........................6/14/2015........6/15/2015...........6/16/2015............6/17/2015............6/18/2015........6/19/2015...........6/20/2015
3... Employee #1...note1.........r
4... Employee #2...note2.........p
5... Employee #3
6... Employee #4
7... Employee #5
8... Employee #6
9... Notes
10........................Sunday.............Monday..............Tuesday...............Wednesday.........Thursday...........Friday................Saturday
11........................6/21/2015.........6/22/2015...........6/23/2015............6/24/2015...........6/25/2015.........6/26/2015...........6/27/2015
12...Employee #1
13...Employee #2
14...Employee #3
15...Employee #4...........................note3........m
16...Employee #5
17...Employee #6
18...Notes
Bookmarks