Sumif formual help

MrPink1986

Active Member
Joined
May 1, 2012
Messages
252
Hi

I have a list of data in range AE1:AE157 these are all currencies AED etc. I have a table with 4 groups in cells AN-AR G1,G2,G3,G4,G5 here lies differenct combos of currencies. In AT-AX I have a table of levels I want to apply to the range in AE in cells AF-AI.

What formula would work best to apply the level in the table group below in to table with data in yellow?
I have been advised that Sumifs would be best to use however I have never used this formula before

Any help greatly appreciated
S

CurrencyVendor Tolerance SpotVendor Tolerance ForwardDay on Day Spot ToleranceDay on Day Forward ToleranceG1G2G3G4G5Reportable groupVendor to Vendor tolerance (bps)Day/Day tolerance (bps)
AUDdatadatadatadataEURZARBRLKESAMD SpotForwardSpotForward
CADdatadatadatadataGBPMXNARSGHSERNG12550100200
CHFdatadatadatadataJPYKRWRONKZTGMDG250100100200
GBPdatadatadatadataCHFINRHRKPKRMWKG350200100200
HKDdatadatadatadataAUDRUBEGPVNDMZNG4100300100200
JPYdatadatadatadataCADTRYMADALLZWRG5N/AN/AN/AN/A
USDdatadatadatadataHKDIDRTNDBAMSLL

<COLGROUP><COL style="WIDTH: 48pt" span=17 width=64><TBODY>
</TBODY>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Formula in AF2 copied down and across:


Excel 2010
AEAFAGAHAIAJAKALAMANAOAPAQARASATAU
1CurrencyVendor Tolerance SpotVendor Tolerance ForwardDay on Day Spot ToleranceDay on Day Forward ToleranceG1G2G3G4G5Reportable groupVendor to Vendor tolerance (bps)Day/Day tolerance (bps)
2AUD2550100200EURZARBRLKESAMDSpotForwardSpotForward
3CAD2550100200GBPMXNARSGHSERNG12550100200
4CHF2550100200JPYKRWRONKZTGMDG250100100200
5GBP2550100200CHFINRHRKPKRMWKG350200100200
6HKD2550100200AUDRUBEGPVNDMZNG4100300100200
7JPY2550100200CADTRYMADALLZWRG5N/AN/AN/AN/A
8USD#VALUE!#VALUE!#VALUE!#VALUE!HKDIDRTNDBAMSLL
Sheet1
Cell Formulas
RangeFormula
AF2=INDEX(AR$3:AR$7,MATCH(INDEX($AK$1:$AO$1,MAX(INDEX(($AK$2:$AO$8=$AE2)*(COLUMN($AK$1:$AO$1)-COLUMN($AK$1)+1),))),$AQ$3:$AQ$7,FALSE))
 
Upvote 0
So there is only 1 Currency per group (IE: EUR cant be in G1 AND G2)?...Also, do you simply wish to input the cell reference into the Yellow spots...so in the first column for CAD would you just want 25, 50, 100, 200? or is there more to it
 
Upvote 0
Hi Socoll111

Yes each group will only have reference to 1 currency there will be no corss over.

Well the yellow spots will be populated by the reportable group table - G1,G2,G3 etc have different levels (in the grey table in the middle) There are then 4 different secnarios to populate in the yellow spaces -all covered in the reportable group table
 
Upvote 0
Hi Andrew,

I have just logged on to the spreadsheet now - I am retunring an n/a value in the cells AF - AI
 
Upvote 0
You may need to adjust the range references to suit your setup. You can see that the formula is working from my sample.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,916
Members
449,093
Latest member
dbomb1414

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