Vlookup Two values

matho101

New Member
Joined
Jan 14, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need to Vlookup column "Grower" and "Variety" to pull through "Total Consigned Volume".

This exact same layout of the 3 columns is present on another tab in pivot form. So I just want to pull the volume across into this table. This table them feeds into a power bi report.

The formula I have tried includes =VLOOKUP(A2&B2,Pivot!T10:V230,3,FALSE) but it just returns an N/A.

Any help will be greatly appreciated.

GrowerVarietyTotal Consigned
BACKSBERG ESTATEDAZZLE
BACKSBERG ESTATEEMERALD
BACKSBERG ESTATEEUREKA
BACKSBERG ESTATEFIRST BLUSH
BACKSBERG ESTATEMASENA
BACKSBERG ESTATESNOWCHASER
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How your table T10:V230 looks like?
 
Upvote 0
Hi Zot
How your table T10:V230 looks like?
Hi Zot:

It looks like below:

grower_namevariety_nameConsigned weight
BACKSBERG ESTATEDAZZLE
18581.54​
BACKSBERG ESTATEEMERALD
35344.71001​
BACKSBERG ESTATEEUREKA
36391.88​
BACKSBERG ESTATEFIRST BLUSH
23826.9​
BACKSBERG ESTATEMASENA
19004.26​
BACKSBERG ESTATESNOWCHASER
40451.43​
 
Upvote 0
There are multiple ways to do LookUp where you need to match two or perhaps more variables. I found this article described it well:

 
Upvote 0
Solution
Since you have excel 365 and assuming each Grower/Variety combination only occurs once in the lookup table, you could do it simply like this.

21 01 14.xlsm
ABCDEFGH
1GrowerVarietyTotal Consignedgrower_namevariety_nameConsigned weight
2BACKSBERG ESTATEDAZZLE18581.54BACKSBERG ESTATEDAZZLE18581.54
3BACKSBERG ESTATEEMERALD35344.71001BACKSBERG ESTATEEMERALD35344.71001
4BACKSBERG ESTATEEUREKA36391.88BACKSBERG ESTATEEUREKA36391.88
5BACKSBERG ESTATEFIRST BLUSH23826.9BACKSBERG ESTATEFIRST BLUSH23826.9
6BACKSBERG ESTATEMASENA19004.26BACKSBERG ESTATEMASENA19004.26
7BACKSBERG ESTATESNOWCHASER40451.43BACKSBERG ESTATESNOWCHASER40451.43
Lookup on 2 values
Cell Formulas
RangeFormula
C2:C7C2=FILTER(H$2:H$7,(F$2:F$7=A2)*(G$2:G$7=B2),0)
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

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