index+match

kelvin_9

Active Member
Joined
Mar 6, 2015
Messages
444
Office Version
  1. 2019
Hi everyone, i would like to use a index+match formula to extract when match with my criteria listed below table
=INDEX($H$1:$J$1,MATCH($G$3:$G$5,$A$2:$E$6,0))
SUNMONTUEICRecoveryLead
Bee10:00-19:30
HH - Recvory
11:30-21:00
HH - Recvory
SUNMONTUE
Brenda09:15-09:45
CR
11:30-21:00
HH - IC
09:15-09:45
CR
BeeRecvoryRecvory
09:45-18:45
HH
09:45-14:00
HH - CART
BrendaIC
14:00-18:45
HH
JeanLeadLead
Jean10:00-19:30
Lead
11:30-20:15
Lead
thanks so much everyone for your help
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi, I' would pleasure for help you, but please try prepare a data example using add-in specifically for this and it can be found here XL2BB
Pay attention to this post XL2BB 2 Squares

Thanks a lot
 
Upvote 0
thanks for your reply and i am sorry i am not really get what is XL2BB
but i guess if i upload this and that would be good for you.
ps. to avoid any mistake/enhance the accuracy, i think index+match+match will be more prefect like:
cell L2: =INDEX(MATCH($L$1:$N$1,MATCH($K3,$A$2:$A$6,0)),MATCH($L2,C1:I1,0))

http://kel.ddns.net/f/635a945018/?raw=1

thanks so much for your help
 
Upvote 0
Book1
ABCDEFGHIJKLMNOPQR
122/12/201923/12/201924/12/201925/12/201926/12/201927/12/201928/12/2019ICRecoveryLead
2Bee10:00-19:30 HH - Recovery11:30-21:00 HH - Recovery09:15-09:45 CR09:45-14:00 HH-Cart22/12/201923/12/201924/12/201925/12/201926/12/201927/12/201928/12/2019
3Brenda09:15-09:45 CR11:30-21:00 HH - IC10:00-19:30 HH - Stroller11:30-20:15 HH - Photo09:15-09:45 CRBee#N/ARecovery
409:45-18:45 HH20:15-21:00 CR09:45-14:00 HH-CartBrendaIC
514:00-18:45 HHJeanLeadLeadLead
6Jean10:00-19:30 DD/Lead11:30-20:15 HH - Photo10:00-19:30 DD/Lead11:30-21:00 MSS - Lead
Sheet1
Cell Formulas
RangeFormula
L3L3=INDEX(MATCH($L$1:$N$1,MATCH($K3,$A$2:$A$6,0)),MATCH($L2,C1:I1,0))


i did it, thanks for you help
ps. cell L3 should be Recovery if formula return correctly.
 
Upvote 0
Hi, here is one option if I've understood correctly.

Book1
ABCDEFGHIJKLMNOPQR
122/12/201923/12/201924/12/201925/12/201926/12/201927/12/201928/12/2019ICRecoveryLead
2Bee10:00-19:30 HH - Recovery11:30-21:00 HH - Recovery09:15-09:45 CR09:45-14:00 HH-Cart22/12/201923/12/201924/12/201925/12/201926/12/201927/12/201928/12/2019
3Brenda09:15-09:45 CR11:30-21:00 HH - IC10:00-19:30 HH - Stroller11:30-20:15 HH - Photo09:15-09:45 CRBeeRecoveryRecovery     
409:45-18:45 HH20:15-21:00 CR09:45-14:00 HH-CartBrenda  IC    
514:00-18:45 HHJean  Lead  LeadLead
6Jean10:00-19:30 DD/Lead11:30-20:15 HH - Photo10:00-19:30 DD/Lead11:30-21:00 MSS - Lead
Sheet1
Cell Formulas
RangeFormula
L3:R5L3=IFERROR(LOOKUP(2,1/ISNUMBER(SEARCH($L$1:$N$1,INDEX($C$2:$I$6,MATCH($K3,$A$2:$A$6,0),MATCH(L$2,$C$1:$I$1,0)))),$L$1:$N$1),"")
 
Upvote 0

Forum statistics

Threads
1,214,395
Messages
6,119,265
Members
448,881
Latest member
Faxgirl

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