Formula to allocate basis cumulative sum between two tables

bmbalamurali

New Member
Joined
Oct 3, 2013
Messages
6
Hi,


I have two sets of table, one with few rows and its corresponding values,
other have more rows and needs the it corresponding value based on the first table.


For an example for revenue 500,000 - 10%, 1,000,000 - 15%..etc
in anthe table the same revenue is given in splits like 99,999 , 150,000 , ... etc


so i need a formuala to place the % to each split based on the first table...


like upto 500,000 is 10% so the table two table should have 10% for 99,999 and till the cumulative table 2 reaches 500,000 and 15 % till the cumulative reaches 1,000,000




Sample:

Note : the number of rows varies any time


500,000 - 10%
1,000,000 - 15%
2,000,000 - 15%
999,999,999 - 20%




Note: The number of rows and revenue in table two is fixed


99999 - formula to fetch as per first table
249999 - formula to fetch as per first table
499999 - formula to fetch as per first table
999999 - formula to fetch as per first table
1999999 - formula to fetch as per first table
4999999 - formula to fetch as per first table
9999999 - formula to fetch as per first table
24999999 - formula to fetch as per first table
49999999 - formula to fetch as per first table
99999999 - formula to fetch as per first table
999999999 - formula to fetch as per first table


any help would be appreciated. if possible you can also try and give me VBA.


Thanks,
Bala
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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