Lookup based on two reference and then FX conversion

sypherecho

New Member
Joined
Oct 22, 2010
Messages
2
To whom it may concern,

I am having a problem for a couple of weeks now wherein I am trying to find the Match of Table C to Table based on CF General and Dates, and then convert them to USD.
I have been using a couple of combination of formulas (Vlookup, SUMIF, Substitute) in the formula bar but I do not know how to do this.



Table 1
CF GeneralCF Specificcurrency1/1/161/2/16
ClientCustomer ASing$100500
ClientCustomer BUSD200400
ClientCustomer CMUR300300
ClientCustomer DSing$300300
VendorCustomer ESing$500200
VendorCustomer FUSD500100

<tbody>
</tbody>


Table B: FX Reference Table
currencyUSD
SGD1.4402
USD1
MUR36.88

<tbody>
</tbody>


Table C: Values should be in USD (Final Result)
CF General2016-01-012016-01-01
Client11,640.0812,216.16
Vendor1,076.08388.04

<tbody>
</tbody>


You can post your answers by replying to my thread or If you know any video tutorial in YouTube that might help me, you can also give me that link by replying to my thread.

Thank you in advance


With Regards,
Lorens Garcia Edic
 
Last edited:

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Table 1
CF GeneralCF Specificcurrency01/01/201602/01/2016totaltotal usd
ClientCustomer ASing$100500600864.12144.02720.1
ClientCustomer BUSD200400600600200400
ClientCustomer CMUR300300600221281106411064
ClientCustomer DSing$300300600864.12432.06432.06
VendorCustomer ESing$5002007001008.14720.1288.04
VendorCustomer FUSD500100600600500100
Table B: FX Reference Table
currencyUSD
MUR36.88
SGD1.4402
USD1
01/01/201602/01/2016
Table C: Values should be in USD (Final Result)client11840.0812616.16
CF General01/01/201601/01/2016vendor1220.1388.04
Client11,640.0812,216.16
Vendor1,076.08388.04
my figures do not agree with yours
I used helper columns for conversion
then sum product

<colgroup><col><col><col><col><col><col span="5"><col span="2"><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0
Hi,

Same totals as OldBrewer + your your Currency table should contain Sing$ instead of SGD (or vice-versa) otherwise I don't see how this can work. If you have Excel 2007 or + no helper column needed. Combining SUMPRODUCT and SUMIFS does it.

ABCDEFGH
1CF General
CF Specific
Curr.
01/01/16
01/02/16Curr.
USD
2ClientCust ASing$100500Sing$1,4402
3ClientCust BUSD200400USD1
4ClientCust CMUR300300MUR36,88
5ClientCust DSing$300300
6VendorCust ESing$500200
7VendorCust FUSD500100
8
9CF GENERAL01/01/2016
01/02/2016
10Client11 840,0812 616,16
11Vendor1 220,10388,04

<tbody>
</tbody>

In B10: SUMPRODUCT(SUMIFS(D$2:D$7; $A$2:$A$7;$A10; $C$2:$C$7;$G$2:$G$4); $H$2:$H$4)
copy down for Vendor. Copy right for next Month(s)

Regards
XLearner
 
Upvote 0
Upvote 0
Since I can't amend my previous post.... In fact in this case Column A doesn't need to be sorted as we don't need the LOOKUP part. In B10:
=SUMPRODUCT( SUMIF($G$2:$G$4;$C$2:$C$7;$H$2:$H$4)* D$2:D$7; --($A$2:$A$7=$A10) ) does it

Apologies for the confusion
Regards
XLearner
 
Upvote 0

Forum statistics

Threads
1,215,020
Messages
6,122,709
Members
449,093
Latest member
Mnur

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