Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Minimum Value & Cell Cross Referencing

Hope someone can help: I’ve searched but can’t find a similar question so apologies in advance for repetition. This seems REALLY simple but I’m failing miserably!

Basically I’m designing a spreadsheet to track the performance of a customer’s network against a service level agreement. I’m trialling it with 50 sites although it’ll be over 500 in total…. In column A (A2:A52) the names of the sites are listed. In column D (D2:D52) the site availability is listed.

I can find the lowest number fine by using =MIN(D2:D52) but can I add something into a cell which will report the site from column A that the lowest number corresponds to?

At a very basic level it’ll look something like this (but with straight columns!):

¦ A ¦ D ¦
1¦ Site ¦ Availability ¦
2¦ London ¦ 99.50 ¦
3¦ Paris ¦ 99.80 ¦
4¦ New York ¦ 99.90 ¦
5¦ Lowest Avail ¦ 99.50 ¦ - Calculated using =MIN(D2:D4)
6¦ Lowest Site ¦ London ¦ - What would I use to get this automatically?

Any help would be appreciated!
  #2   Report Post  
Vasant Nanavati
 
Posts: n/a
Default

Try:

=INDEX(A2:A52,MATCH(MIN(D2:D52),D2:D52,0))

--

Vasant


"Johnny" wrote in message
...

Hope someone can help: I've searched but can't find a similar question
so apologies in advance for repetition. This seems REALLY simple but
I'm failing miserably!

Basically I'm designing a spreadsheet to track the performance of a
customer's network against a service level agreement. I'm trialling it
with 50 sites although it'll be over 500 in total.. In column A
(A2:A52) the names of the sites are listed. In column D (D2:D52) the
site availability is listed.

I can find the lowest number fine by using =MIN(D2:D52) but can I add
something into a cell which will report the site from column A that the
lowest number corresponds to?

At a very basic level it'll look something like this (but with straight
columns!):

¦ A ¦ D ¦
1¦ Site ¦ Availability ¦
2¦ London ¦ 99.50 ¦
3¦ Paris ¦ 99.80 ¦
4¦ New York ¦ 99.90 ¦
5¦ Lowest Avail ¦ 99.50 ¦ - Calculated using
=MIN(D2:D4)
6¦ Lowest Site ¦ London ¦ - What would I use to get
this automatically?

Any help would be appreciated!


--
Johnny



  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

=INDEX(A2:A52,MATCH(MIN(D2:D52),D2:D52,0))

Is there a possibility of duplicate minimums?

The above formula will always find the first instance.

Biff

"Johnny" wrote in message
...

Hope someone can help: I've searched but can't find a similar question
so apologies in advance for repetition. This seems REALLY simple but
I'm failing miserably!

Basically I'm designing a spreadsheet to track the performance of a
customer's network against a service level agreement. I'm trialling it
with 50 sites although it'll be over 500 in total.. In column A
(A2:A52) the names of the sites are listed. In column D (D2:D52) the
site availability is listed.

I can find the lowest number fine by using =MIN(D2:D52) but can I add
something into a cell which will report the site from column A that the
lowest number corresponds to?

At a very basic level it'll look something like this (but with straight
columns!):

¦ A ¦ D ¦
1¦ Site ¦ Availability ¦
2¦ London ¦ 99.50 ¦
3¦ Paris ¦ 99.80 ¦
4¦ New York ¦ 99.90 ¦
5¦ Lowest Avail ¦ 99.50 ¦ - Calculated using
=MIN(D2:D4)
6¦ Lowest Site ¦ London ¦ - What would I use to get
this automatically?

Any help would be appreciated!


--
Johnny



  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Let A2:A6 house the sites and D2:D6 their availability scores.

E2, copied down:

=RANK(D2,$D$2:$D$6,1)+COUNTIF($D$2:D2,D2)-1

F2: 1

which means lowest one.

F3:

=MAX(IF(INDEX(D2:D6,MATCH(F2,E2:E6,0))=D2:D6,E2:E6 ))-F2

which must be confirmed with control+shift+enter, not just with enter.

G2, copied down:

=IF(ROW()-ROW($G$2)+1<=$F$2+$F$3,INDEX($A$2:$A$6,MATCH(ROW()-ROW($G$2)+1,$E$2:$E$6,0)),"")

The foregoing would yield the list:

London
Athens

when A2:A6 houses:

London
Paris
New York
Istanbul
Athens

with as availability scores in D2:D6...

99.5
99.8
99.9
99.67
99.5

Johnny wrote:
Hope someone can help: I’ve searched but can’t find a similar question
so apologies in advance for repetition. This seems REALLY simple but
I’m failing miserably!

Basically I’m designing a spreadsheet to track the performance of a
customer’s network against a service level agreement. I’m trialling it
with 50 sites although it’ll be over 500 in total…. In column A
(A2:A52) the names of the sites are listed. In column D (D2:D52) the
site availability is listed.

I can find the lowest number fine by using =MIN(D2:D52) but can I add
something into a cell which will report the site from column A that the
lowest number corresponds to?

At a very basic level it’ll look something like this (but with straight
columns!):

¦ A ¦ D ¦
1¦ Site ¦ Availability ¦
2¦ London ¦ 99.50 ¦
3¦ Paris ¦ 99.80 ¦
4¦ New York ¦ 99.90 ¦
5¦ Lowest Avail ¦ 99.50 ¦ - Calculated using
=MIN(D2:D4)
6¦ Lowest Site ¦ London ¦ - What would I use to get
this automatically?

Any help would be appreciated!


  #5   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by Biff
Hi!

=INDEX(A2:A52,MATCH(MIN(D2:D52),D2:D52,0))

Is there a possibility of duplicate minimums?

The above formula will always find the first instance.

Biff


--
Johnny[/i][/color]
Superb. My thanks to you both!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I return a cross referenced cell value? JR Excel Worksheet Functions 5 August 15th 05 11:37 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
referencing the value of a cell containing an array formula KR Excel Worksheet Functions 4 July 5th 05 06:15 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
How I can set highlighted active cell in row & colmun cross Abdul Sattar Excel Discussion (Misc queries) 5 May 2nd 05 07:46 PM


All times are GMT +1. The time now is 08:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"