how to return value with three lookup

go14344

New Member
Joined
Jun 17, 2014
Messages
28
i name this sheet masterlist
[TABLE="width: 760"]
<tbody>[TR]
[TD]

1[/TD]
[TD]A


[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D



1[/TD]
[TD]E



2[/TD]
[TD]F



3[/TD]
[TD]G



4[/TD]
[TD]H



5[/TD]
[TD]I



6[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD="colspan: 2"][/TD]
[TD][/TD]
[TD="colspan: 6"]A.M.[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]ID #[/TD]
[TD]Employee[/TD]
[TD][/TD]
[TD]7/25[/TD]
[TD]7/26[/TD]
[TD]7/27[/TD]
[TD]7/29[/TD]
[TD]7/30[/TD]
[TD]7/31[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]9101[/TD]
[TD]Mario Sellona[/TD]
[TD][/TD]
[TD]6-11[/TD]
[TD]6-12[/TD]
[TD]7-11[/TD]
[TD]7-12[/TD]
[TD]730-11[/TD]
[TD]730-12[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9301[/TD]
[TD]Daisy Rose Domingo[/TD]
[TD][/TD]
[TD]7-12[/TD]
[TD]6-12[/TD]
[TD]7-11[/TD]
[TD]7-12[/TD]
[TD]730-11[/TD]
[TD]730-12[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]9302[/TD]
[TD]Alfonso Lawas[/TD]
[TD][/TD]
[TD]6-11[/TD]
[TD]6-12[/TD]
[TD]7-11[/TD]
[TD]7-12[/TD]
[TD]730-11[/TD]
[TD]730-12[/TD]
[/TR]
</tbody>[/TABLE]


in another sheet, i name it report, how can i return the data with three lookup? i need to return the date in red font and the schedule in green font, when i encode the no. 1-6 and ID# and A.M.... thanks..

sample:
[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]9101[/TD]
[TD]A.M.[/TD]
[TD]6-11[/TD]
[TD]7/25[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]9301[/TD]
[TD]A.M.[/TD]
[TD]7-12[/TD]
[TD]7/25[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]9101[/TD]
[TD]A.M.[/TD]
[TD]6-12[/TD]
[TD]7/26[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]9302[/TD]
[TD]A.M.[/TD]
[TD]7-11[/TD]
[TD]7/27[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]9302[/TD]
[TD]A.M.[/TD]
[TD]7-12[/TD]
[TD]7/29[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hello, somewhat like this? Can modify it Please -


Excel 2013/2016
ABCDEFGHIJKLMNOPQRS
1
2123456
3A.M.
439302Alfonso Lawas25-Jul26-Jul27-Jul29-Jul30-Jul31-Jul
549101Mario Sellona11-Jun12-Jun11-Jul12-Jul730-11730-1219101A.M.6-1125-Jul
659301Daisy Rose Domingo12-Jul12-Jun11-Jul12-Jul730-11730-1219301A.M.7-1225-Jul
769302Alfonso Lawas11-Jun12-Jun11-Jul12-Jul730-11730-1229101A.M.6-1226-Jul
839302A.M.7-1127-Jul
949302A.M.7-1229-Jul
10
11
12
13
14
15Criteria11-6
16Criteria2ID#
17#N/A#N/ACriteria3A.M.
18#N/A
19#N/A
2025-Jul-19
2125-Jul-19
22#N/A
23
Masterlist
Cell Formulas
RangeFormula
F17=VLOOKUP(VLOOKUP(VLOOKUP($N5,$A$4:$B$7,2,0),$O$5:$P$9,2,),$P$5:$R$9,3,)
F18=VLOOKUP(VLOOKUP(VLOOKUP(N6,$A$4:$B$7,2,0),$O$5:$P$9,2,),$P$5:$R$9,3,)
F19=VLOOKUP(VLOOKUP(VLOOKUP(N7,$A$4:$B$7,2,0),$O$5:$P$9,2,),$P$5:$R$9,3,)
F20=VLOOKUP(VLOOKUP(VLOOKUP(N8,$A$4:$B$7,2,0),$O$5:$P$9,2,),$P$5:$R$9,3,)
F21=VLOOKUP(VLOOKUP(VLOOKUP(N9,$A$4:$B$7,2,0),$O$5:$P$9,2,),$P$5:$R$9,3,)
F22=VLOOKUP(VLOOKUP(VLOOKUP(N10,$A$4:$B$7,2,0),$O$5:$P$9,2,),$P$5:$R$9,3,)
G17=VLOOKUP(VLOOKUP(VLOOKUP(O5,$A$4:$B$7,2,0),$O$5:$P$9,2,),$P$5:$R$9,3,)
 
Upvote 0
Hello, somewhat like this? Can modify it Please -

Excel 2013/2016
ABCDEFGHIJKLMNOPQRS
Mario Sellona

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]25-Jul[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]26-Jul[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]27-Jul[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]29-Jul[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]30-Jul[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]31-Jul[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"]9101[/TD]

[TD="align: right"][/TD]
[TD="align: right"]6-11[/TD]
[TD="align: right"]7-11[/TD]
[TD="align: right"]630-11[/TD]
[TD="align: right"]730-11[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"]something like this:
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]
[TD="align: right"][/TD]
[TD="align: right"]criteria 1[/TD]
[TD="align: right"]criteria 2[/TD]
[TD="align: right"][/TD]
[TD="align: right"]return value 1[/TD]
[TD="align: right"]return value 2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]12[/TD]
[TD="align: right"][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]9101[/TD]
[TD="align: right"][/TD]
[TD="align: right"]6-11[/TD]
[TD="align: right"]25-jul[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]13[/TD]
[TD="align: right"][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]9101[/TD]
[TD="align: right"][/TD]
[TD="align: right"]7-11[/TD]
[TD="align: right"]26-jul[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]14[/TD]
[TD="align: right"][/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]9101[/TD]
[TD="align: right"][/TD]
[TD="align: right"]630-11[/TD]
[TD="align: right"]27-jul[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]15[/TD]
[TD="align: right"][/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]9101[/TD]
[TD="align: right"][/TD]
[TD="align: right"]730-11[/TD]
[TD="align: right"]29-jul[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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