Beginner

Bhad007

New Member
Joined
Jun 5, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
how do i Search the date in cell b5 (June 3rd) in my first Tab "o Spor" with dates in teh second tab "Grp Cat" and if a match is found return a specific cell in this case if the June 3rd is found then return call B5 which is breakfast. Please see file attached
 

Attachments

  • Grp Cat.png
    Grp Cat.png
    22.7 KB · Views: 31
  • o Spor.png
    o Spor.png
    40.3 KB · Views: 32

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
There are multiple headers with "Breakfast". How can you tell which is the right one?
 
Upvote 0
The figure that i am trying to return is on the sheet Grp Cat which relates to Group data, Local data was not presented in my screenshot. Once i figure out how to do it i can do the others. I just want to look up The dates from the "O Spor: Sheet starting with 06/01/2024 and search through Row 2 on the "Grp Cat" sheet and once a match is found pull in the Breakfast figure from the Grp Cat sheet which in this case 06/03/2024 would be the first matcha and would like to return the 138.
 
Upvote 0
Here's a starting point. Notice because "Break Group Rooms" and "Local Group Rooms" both have the word "Breakfast", they'll return the same result.
Book1
ABCDEFGH
1o Spor Sheet
26/3/246/4/246/5/246/6/246/7/246/8/246/9/24
3Break2,1984,3924,8821,7664,6091,7234,463
4Breakfast2,4831,4492,7293,0161,6024,4294,722
5Lunch1,6114,1683,3611,7291,7524,3022,761
6Dinner2,4002,8063,2671,2196064,8061,216
7
8
9
10Grp Cat
116/1/246/2/246/3/246/4/246/5/246/6/246/7/24
12Breakfast Group Rooms#N/A#N/A24831449272930161602
13Breakfast Local Rooms#N/A#N/A24831449272930161602
Sheet2
Cell Formulas
RangeFormula
C2:H2,C11:H11C2=B2+1
B12:H13B12=INDEX($B$3:$H$6,XMATCH(TEXTBEFORE($A12," "),$A$3:$A$6),XMATCH(B$11,$B$2:$H$2))
 
Upvote 0

Forum statistics

Threads
1,221,629
Messages
6,160,926
Members
451,679
Latest member
BlueH1

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