Multiple lookup across rows. columns and sheets.

shina67

Board Regular
Joined
Sep 18, 2014
Messages
141
Hi All,

I am wanting to lookup the number in a column on the Data Sheet based on criteria from the Dashboard Sheet.

So in the attached pictures 'Dashboard' B2 = Thursday 04 January 2024 & F2 = Adeco. Based on these 2 criteria i want to return to the value from the 'Data' sheet column 'holidays'.

The cell references in 'Dashboard' B2 & F2 are dynamic.

Hope this makes sense. I have tried various different ways but have had no joy.

I am trying to broaden my horizons with formulas if this is possible using only formula.
 

Attachments

  • Dashboard.JPG
    Dashboard.JPG
    16.9 KB · Views: 12
  • Data Sheet.JPG
    Data Sheet.JPG
    112.8 KB · Views: 22

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Please avoid marking a post that doesn't provide a solution. Doing so would give the impression that your question has been answered, and reduce the chance of receiving a helpful response from other members.

Therefore, I removed the solution mark from this and other question of yours.
 
Upvote 0
Maybe something like this.
Notes: Select the range in the data sheet and name it as "data" for easier application. I recommend applying the changes on a backup copy of the workbook.
The parameters and the formula is in the O2 cell. You need to implement it in your dashboard worksheet.

Book1
ABCDEFGHIJKLMNO
1DateAdecoBifoldsDateDepartmentHolidays
2DateSicknessHolidaysUALatesAASicknessHolidaysUALatesAAFriday, January 5, 2024Bifolds80
3Tuesday, January 2, 202477629239259933608093
4Wednesday, January 3, 20246191087800258054
5Thursday, January 4, 2024575617943194578138
6Friday, January 5, 2024248044179408010472
7Saturday, January 6, 20246106353473168759179
8Sunday, January 7, 2024794487508688156653
9Monday, January 8, 202448491745986619115995
10Tuesday, January 9, 2024918608080805214354
11Wednesday, January 10, 202424451843657539575849
12Thursday, January 11, 202446673011512474576126
13Friday, January 12, 20244542654576740231294
14Saturday, January 13, 20242165269436242947940
15Sunday, January 14, 202487977543132331335474
16Monday, January 15, 202425805017354128483085
17Tuesday, January 16, 20243759468372182919127
18Wednesday, January 17, 20249675647702132844652
19Thursday, January 18, 2024349349516348265376
20Friday, January 19, 2024758227782315393123
21Saturday, January 20, 20244049477729779371075
22Sunday, January 21, 20249245727626406574487
Sheet1
Cell Formulas
RangeFormula
O2O2=INDEX(data,MATCH(M2,OFFSET(data,,,,1),0),QUOTIENT(MATCH(N2,OFFSET(data,,1,1,COLUMNS((data)-1)),0),5)*5+3)
Named Ranges
NameRefers ToCells
data=Sheet1!$A$1:$K$22O2
 
Upvote 0
Solution
Hi smozgur,

My apologises about marking the thread as answered earlier. This is because I realised that I had posted a thread that wasn't what i actually required help with as I had solved the problem.

The problem that I do have is on a new thread -

 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top