location of cell

  • Thread starter Thread starter owl527
  • Start date Start date
O

owl527

Hi, I am trying to find the cell location of the largest number in a
colume. I put: =ROW(LARGE(C4:C75, 1))
it keeps saying my formula contains an error, what function can I use
to find out the cell location ? please let me know. Thanks.
 
=3+MATCH(MAX(C4:C75),C4:C75,0)

will give the row

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
Hi, not only do I want to find the largest number, I actually want to
find the top 5 numbers.
this is what I put:
=("B"&3+MATCH(MAX(C4:C75),C4:C75,0))
I want to get the value in this cell (not the number itself but the
category the number belongs to). it is giving me the cell location, I
am unable to display the value in the cell. How do I do that? PLEASE
HELP! thanks!!!!
 
=INDEX($B$4:$B$75,MATCH(LARGE($C$4:$C$75,ROW(A1)),$C$4:$C$75,0))

and copy down

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
it works perfectly fine! thank you....
But, what does ROW(A1) do? I don't understand why you put it in the
formula. Please can you explain? thanks.
 
That is just to return an index into the large function. ROW(A1) returns 1,
so you get the first largest. When you copy down to the second row, this is
updated to ROW(A2), which returns 2, so you get the second largest.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
Hi, this is similiar to what I am looking for, HOWEVER, I guess mine is
a bit more complicated because I have an extra column. e.g.
Column 1 - Countries (HK, US, UK)
Column 2 - Products (Banana, Apple, Orange, Grapes, Carrot, Potato,
Tomato)
Column 3 - values (numbers)

I would like to sort the top 5 product Per country.

Sample end result:
HK
Banana 240
Apple 137
Tomato 122
Orange 82
Apple 23

Please help! thanks!!!
 
You could try the pivot table approach to create Top 5 lists per country.
Hi, this is similiar to what I am looking for, HOWEVER, I guess mine is
a bit more complicated because I have an extra column. e.g.
Column 1 - Countries (HK, US, UK)
Column 2 - Products (Banana, Apple, Orange, Grapes, Carrot, Potato,
Tomato)
Column 3 - values (numbers)

I would like to sort the top 5 product Per country.

Sample end result:
HK
Banana 240
Apple 137
Tomato 122
Orange 82
Apple 23

Please help! thanks!!!

--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top