Showing a cell based on another's value

giggleguy

New Member
Joined
Apr 11, 2011
Messages
2
Hi guys, I'm a little rusty with my Excel formulas and I'm currently making a spreadsheet that calculates the prices of stock and the surplus attached to it.

What I want is for there to be a "Winner" section underneath that displays the top three surpluses by amount and name. I already have a cell displaying the top three by amount, by using the formula:

Code:
=LARGE(G4:G10,1)
Where G4 to G10 are the surpluses.

What I can't seem to figure out is a formula to display the name of the item based on the answer from that formula (The formula is in cell C12), where the names are listed in A4 to A10.

If anybody could help, that would be fantastic. If you need more information, please just ask, and I can provide more.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi guys, I'm a little rusty with my Excel formulas and I'm currently making a spreadsheet that calculates the prices of stock and the surplus attached to it.

What I want is for there to be a "Winner" section underneath that displays the top three surpluses by amount and name. I already have a cell displaying the top three by amount, by using the formula:

Code:
=LARGE(G4:G10,1)
Where G4 to G10 are the surpluses.

What I can't seem to figure out is a formula to display the name of the item based on the answer from that formula (The formula is in cell C12), where the names are listed in A4 to A10.

If anybody could help, that would be fantastic. If you need more information, please just ask, and I can provide more.

Try

Code:
=index($A$4:$A$10,match($C$12,$G$4:$G$10,0))

regards

Bolo
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,717
Members
452,939
Latest member
WCrawford

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