What can you use better Match or the HLookup function in combination with Vlookup

allard jansen

New Member
Joined
Sep 5, 2012
Messages
6
Mike great as always, but tell me can you as well replace in work sheet were you use a combination vertical lookup and Match,use Horizontal lookup in stead of Match? What is the advantage of Match to HLookup which I use to select the correct exchange rate with its date , my example is here =IF(ISERROR(VLOOKUP(H4,$O$<wbr style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 12.727272033691406px; line-height: 16px; background-color: rgba(255, 255, 255, 0.699219); ">*7:$AB$14,HLOOKUP(MONTH(G4)&YEA<wbr style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 12.727272033691406px; line-height: 16px; background-color: rgba(255, 255, 255, 0.699219); ">*R(G4),$Q$3:$AB$4,2,1),FALSE)),<wbr style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 12.727272033691406px; line-height: 16px; background-color: rgba(255, 255, 255, 0.699219); ">*" ",VLOOKUP(H4,$O$7:$AB$14,HLOOK<wbr style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 12.727272033691406px; line-height: 16px; background-color: rgba(255, 255, 255, 0.699219); ">*UP(MONTH(G4)&YEAR(G4),$Q$3:$AB<wbr style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 12.727272033691406px; line-height: 16px; background-color: rgba(255, 255, 255, 0.699219); ">*$4,2,1),FALSE))

I can send you the whole excel file were I use it or my client use it

allard
Just to give an idea of the problem
Transaction DateTransaction original currencyAmount in original currency Relevant exchange rateAmount in GBP
30/06/2012USD325.901.55914209.03
30/06/2012USD228.781.55914146.74
30/06/2012USD124.791.5591480.04

<colgroup><col><col><col><col span="2"></colgroup><tbody>
</tbody>

<tbody>
</tbody>
to select the relevant exchange rate the VLookup combines transaction original currency date and the array with currencies and dates vertically
01/01/201201/02/201201/03/201201/04/2012
12012220123201242012
123456
Exchange rates
Jan-2012Feb-2012Mar-2012Apr-2012
SSPGBP4.323964.399154.450164.45352
USDGBP1.541751.568561.586741.58794

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>
[FONT=arial, sans-serif] and H lookup is for horizontally selecting month and year the right exchange rate in relevant exchange rate. Can Match do the same?[/FONT]
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,566
Messages
6,125,596
Members
449,238
Latest member
wcbyers

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