VLOOKUP AND RETURN MULTIPLE VALUES VERTICALLY

nikhil0311

Board Regular
Joined
May 3, 2013
Messages
200
Office Version
  1. 2013
Platform
  1. Windows
Column B & C we have the raw data

in Column F we want the final output based on column E

Output
CountryItemLookup value:Results
MondayPipeMondayPipe
MondayHKMondayHK
MondayCallMondayCall
TuesdayLEMonday
TuesdayTop 50Monday
ThursdayIPSTuesdayLE
FridayCovTuesdayTop 50
FridayDirTuesday
Tuesday
Wednesday
Wednesday
Wednesday
ThursdayIPS
Thursday
FridayCov
FridayDir
Friday
Friday
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
How about
Book1
ABCDEF
1CountryItemLookup value:Results
2MondayPipeMondayPipe
3MondayHKMondayHK
4MondayCallMondayCall
5TuesdayLEMonday 
6TuesdayTop 50Monday 
7ThursdayIPSTuesdayLE
8FridayCovTuesdayTop 50
9FridayDirTuesday 
10Tuesday 
11Wednesday 
12Wednesday 
13Wednesday 
14ThursdayIPS
15Thursday 
16FridayCov
17FridayDir
18Friday 
19Friday 
CPA C&L
Cell Formulas
RangeFormula
F2:F19F2=IFERROR(INDEX($C$2:$C$9,AGGREGATE(15,6,(ROW($C$2:$C$9)-ROW($C$2)+1)/($B$2:$B$9=E2),COUNTIF(E$2:E2,E2))),"")
 
Upvote 0
Awesome. However if i have to repeat the same for next month dates its not working
 
Upvote 0
What dates? you just showed days of the week, not dates.
 
Upvote 0
What dates? you just showed days of the week, not dates.
If i copy e2 to e19 and paste it on e20 onwards then the formula doesn’t work..
basically i am trying to update these details into a monthly calendar
 
Upvote 0
If i copy e2 to e19 and paste it on e20 onwards then the formula doesn’t work..
That's because there is nothing left to output, you already have all the values from col C.
 
Upvote 0

Forum statistics

Threads
1,223,981
Messages
6,175,771
Members
452,668
Latest member
mrider123

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