lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
Can I do multiple column Vlookup. I searched the internet but most of examples are using Match-Index. I want to learn multiple Vlookup first then I will go to match-index. I am thinking of array function but do not know how to start
I have the table below. I want to do the following
Enter Name: John
Enter Item: Milk
Then excel will return 32
or excel will return 2 values the amount and date, so it will be 32 and mar
Is that possible? Thank you so much
[TABLE="class: grid, width: 276"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD]name[/TD]
[TD]item[/TD]
[TD]amount[/TD]
[TD]month[/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD]milk[/TD]
[TD]59[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD]water[/TD]
[TD]75[/TD]
[TD]jan[/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD]juice[/TD]
[TD]61[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD]milk[/TD]
[TD]32[/TD]
[TD]mar[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD]water[/TD]
[TD]1[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]jon[/TD]
[TD]juice[/TD]
[TD]73[/TD]
[TD]jan[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD]milk[/TD]
[TD]60[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD]water[/TD]
[TD]16[/TD]
[TD]mar[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD]juice[/TD]
[TD]93[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]linda[/TD]
[TD]milk[/TD]
[TD]63[/TD]
[TD]jan[/TD]
[/TR]
[TR]
[TD]linda[/TD]
[TD]water[/TD]
[TD]19[/TD]
[TD]feb[/TD]
[/TR]
</tbody>[/TABLE]
Can I do multiple column Vlookup. I searched the internet but most of examples are using Match-Index. I want to learn multiple Vlookup first then I will go to match-index. I am thinking of array function but do not know how to start
I have the table below. I want to do the following
Enter Name: John
Enter Item: Milk
Then excel will return 32
or excel will return 2 values the amount and date, so it will be 32 and mar
Is that possible? Thank you so much
[TABLE="class: grid, width: 276"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD]name[/TD]
[TD]item[/TD]
[TD]amount[/TD]
[TD]month[/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD]milk[/TD]
[TD]59[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD]water[/TD]
[TD]75[/TD]
[TD]jan[/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD]juice[/TD]
[TD]61[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD]milk[/TD]
[TD]32[/TD]
[TD]mar[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD]water[/TD]
[TD]1[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]jon[/TD]
[TD]juice[/TD]
[TD]73[/TD]
[TD]jan[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD]milk[/TD]
[TD]60[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD]water[/TD]
[TD]16[/TD]
[TD]mar[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD]juice[/TD]
[TD]93[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]linda[/TD]
[TD]milk[/TD]
[TD]63[/TD]
[TD]jan[/TD]
[/TR]
[TR]
[TD]linda[/TD]
[TD]water[/TD]
[TD]19[/TD]
[TD]feb[/TD]
[/TR]
</tbody>[/TABLE]