What function do I use in order to...

plahen

New Member
Joined
Nov 3, 2004
Messages
17
In column H I have a list of 15 values in random order

In column B I have a list of 15 values in random order

This spreadsheet is locked

Here is the question

I want to take the maximum value in column H and return the value from teh same row in column B into another spreadsheet.

Thanks in advance
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I think you could use a vlookup comand for this.

The syntax of vlookup is vlookup(lookup_value,table_array,col_index_num,range_lookup)

Lookup value would be max(range in col H)
Table Array would be range a1:h15 assuming that your data was in the frist 15 rows.
col_index _num would be 2 (i.e. b)
range lookup can be left out, or can be set to false. I would suggest reading the help on the vlookup command for more on this.

The one thing I don't know is if you can still get values even though the sheet is locked.

Good Luck

Hayden
 
Upvote 0
How's this:

=INDEX(Sheet1!$B$1:$B$15,MATCH(MAX(Sheet1!$H$1:$H$15),Sheet1!$H$1:$H$15,0),0)

HTH,

Smitty
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,243
Members
448,555
Latest member
RobertJones1986

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