vlookup with multiple criteria

Lizzi

Board Regular
Joined
Sep 23, 2011
Messages
160
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I need some assistance please. i'm using excel 2016.
Col W contains a revenue amount
Col U contains the currency used
Col X i need to contain the result of converting the rev amount in col w & col U

so for instance if col W is 50,000 col U is GBP col X should be 46,000 ( 50,000 * 0.92) i have a table that shows GBP, USD and JPY (col A) with the corresponding rate (Col B)

but how do i use a vlookup with 3 criteria?

Any help greatly appreciated as always

Thanku
Lizzi
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Why do you need 3 criteria? Wouldn't you need something like =VLOOKUP(U#,$A$1:$B$3,2,FALSE)? You probably would need to insert a column left of A to put the lookup in.
 
Upvote 0
Why do you need 3 criteria? Wouldn't you need something like =VLOOKUP(U#,$A$1:$B$3,2,FALSE)? You probably would need to insert a column left of A to put the lookup in.

because im asking it to look at the currency in column U and if its GBP than * col W by 0.92 (in a table) if its USD then * it by xxx and if is JPY then * it by xxxx

so maybe its not a vlookup at all, maybe its something else

i want to say "if col u is GBP than * col W by 0.92 or if its JPY then * col W by xx or if it's USD then * col w by xxx"
 
Upvote 0
Hi,

Based on your description:


Book1
ABCTUVWX
1GBP0.92GBP5000046000
2USD0.9JPY8500074800
3JPY0.88USD7485067365
Sheet238
Cell Formulas
RangeFormula
X1=W1*VLOOKUP(U1,A$1:B$3,2,0)


Formula copied down.
 
Upvote 0
Thanku :-) that worked brilliantly........and because it worked so well, i realized i missed off something, col U contains 4 currencies, one being "Euro's" (which is not in my currency table) so if column U says euro, i need it to bring over the value in col W and not have to do the sum like the vlookup does

does that make sense?

so "if col u is GBP than * col W by 0.92 or if its JPY then * col W by xx or if it's USD then * col w by xxx if EURO's then col w"
 
Upvote 0
Wouldn't the easiest option be to add euros and their rate to the table? If euros are what you are converting to then just give it a table value of 1
 
Upvote 0
Wouldn't the easiest option be to add euros and their rate to the table? If euros are what you are converting to then just give it a table value of 1

Oh yes, i didnt even think of that! thanku so much for your help
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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