Vlookup? Index/Match? If?

Geezuss

New Member
Joined
Sep 8, 2017
Messages
1
Value:4533Ratio:
Returned Value:100
FundAmount
1004533
100654654
100357
10084768
11064
11534
1206154
20056484
20084984
2006846
4004564
400564987
4006848
500687465

<tbody>
</tbody>

I'm trying to sum the amounts based on the fund number (e.g. sum of amounts of all 100-level funds, including 110, 115, 120). Then, I need to calculate a formula so that whenever the user inputs a value that matches with one of the amounts, the formula computes the following ratio --> inputted value: sum of all amounts of similar fund level. For example, if the user inputted 4533 and 4533 matches one of the enlisted amounts, then the formula would do 4533 / sum(a14:a20).

Note: I calculated the "Returned Fund" with =INDEX(A14:A28, MATCH(C10, B14:B28)). I thought this may be a helpful reference when creating a formula.

This is a project given to me at work, and no one else knows much about Excel except me. I've tried to create formulas for the past few hours using a combination of VLOOKUP, INDEX, MATCH, and IF but I still haven't gotten a successful output after multiple failed attempts.

Can someone please guide me in resolving this problem?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
=iferror(b1/if(match(b1,b4:b17,0)>0,sumproduct(--(left(a4:a17,1)=left(b2,1)),a4:a17*b4:b17),0),"")
 
Upvote 0

Forum statistics

Threads
1,214,829
Messages
6,121,826
Members
449,051
Latest member
excelquestion515

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