cell reference: column fixed and row the output of function

creditman

New Member
Joined
Dec 9, 2005
Messages
15
How do I reference a cell with the column fixed and the row an output of a function? Thanks!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Zack Barresse

MrExcel MVP
Joined
Dec 9, 2003
Messages
10,881
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
Hi, welcome to the board!

Is this formula or VBA? Can you describe to us what it is you are trying to do, and what you have to work with?
 

creditman

New Member
Joined
Dec 9, 2005
Messages
15
I am working with formulas. I want to subtract the value of a cell who's location is Column: E Row: ROW(MAX(D2:D100))
 

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
review the excel help file entries for index(), match(), indirect() and offest(). post back if you can't get it sorted.
 

creditman

New Member
Joined
Dec 9, 2005
Messages
15

ADVERTISEMENT

Thank you, but I found another problem. I want the output on MAX($D$2:$D$100) to be the cell that the maximum value is in. How do I do this? Thank you in advance!
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
creditman said:
I am working with formulas. I want to subtract the value of a cell who's location is Column: E Row: ROW(MAX(D2:D100))

=LOOKUP(2,1/(D2:D100=MAX(D2:D100)),E2:E100)

Note: if there is a tie for MAX(D2:D100) the above formula will give the value in column E corresponding to the last match in D
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
Yeah, I was probably making it too complex above, couldn't you simply use VLOOKUP?

=VLOOKUP(MAX(D2:D100),D2:E100,2,0)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,812
Messages
5,833,801
Members
430,233
Latest member
cbutts

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
Top