Microsoft Office Forums


Reply
Thread Tools Display Modes

Vlookup Question?

 
 
gillemi
Guest
Posts: n/a

 
      04-24-2006, 01:17 PM

I have the names of golfers in B2:B50. I have their scores in C2:C50.
In C52 I am using the "Min" Formula to return the lowest score for the
week.

In C53 I would like to return the the name that coincides with the
lowest score. If there is a tie, I would like it to return the word
"Roll Over".

Thank you!


--
gillemi
------------------------------------------------------------------------
gillemi's Profile: http://www.excelforum.com/member.php...o&userid=33694
View this thread: http://www.excelforum.com/showthread...hreadid=535506

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a

 
      04-24-2006, 01:31 PM
=IF(COUNTIF(C2:C50,MIN(C2:C50))>1,"Roll Over",
INDEX(B2:B50,MATCH(MIN(C2:C50),C2:C50,0)))

(one cell)



gillemi wrote:
>
> I have the names of golfers in B2:B50. I have their scores in C2:C50.
> In C52 I am using the "Min" Formula to return the lowest score for the
> week.
>
> In C53 I would like to return the the name that coincides with the
> lowest score. If there is a tie, I would like it to return the word
> "Roll Over".
>
> Thank you!
>
> --
> gillemi
> ------------------------------------------------------------------------
> gillemi's Profile: http://www.excelforum.com/member.php...o&userid=33694
> View this thread: http://www.excelforum.com/showthread...hreadid=535506


--

Dave Peterson
 
Reply With Quote
 
gillemi
Guest
Posts: n/a

 
      04-24-2006, 02:18 PM

Thank you!


--
gillemi
------------------------------------------------------------------------
gillemi's Profile: http://www.excelforum.com/member.php...o&userid=33694
View this thread: http://www.excelforum.com/showthread...hreadid=535506

 
Reply With Quote
 
gillemi
Guest
Posts: n/a

 
      04-24-2006, 02:58 PM

If the golfer score entries are entered in C2, C7, C12 etc., and th
names are B2, B7, B12 etc., How would you approach a formula for thi
late out?

I don't think the C2:C50 will work because I have other unrelate
numbers in between C2 & C7 etc.

Thanks again

--
gillem
-----------------------------------------------------------------------
gillemi's Profile: http://www.excelforum.com/member.php...fo&userid=3369
View this thread: http://www.excelforum.com/showthread.php?threadid=53550

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a

 
      04-24-2006, 04:55 PM
First, I would lay out my data in a more tabular form.

But if that's not possible, I'd use another column to indicate which row
contained the data. I put an X in column D to indicate that this was a "score"
row.

Then I used this array formula:

=IF(SUMPRODUCT(--(D222="x"),--(C2:C22=MIN(IF(D222="x",C2:C22))))>1,
"Roll Over",
INDEX(B2:B22,MATCH(1,(D222="x")*(C2:C22=MIN(IF(D 222="x",C2:C22))),0)))

(all one cell)

Adjust the ranges to match--but you can't use whole columns.

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail here:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html


gillemi wrote:
>
> If the golfer score entries are entered in C2, C7, C12 etc., and the
> names are B2, B7, B12 etc., How would you approach a formula for this
> late out?
>
> I don't think the C2:C50 will work because I have other unrelated
> numbers in between C2 & C7 etc.
>
> Thanks again!
>
> --
> gillemi
> ------------------------------------------------------------------------
> gillemi's Profile: http://www.excelforum.com/member.php...o&userid=33694
> View this thread: http://www.excelforum.com/showthread...hreadid=535506


--

Dave Peterson
 
Reply With Quote
 
gillemi
Guest
Posts: n/a

 
      04-25-2006, 04:42 PM

I used the array formula that you suggsted and it works, except whe
there are blank values? The formula is reading the blank value as th
"Min".

How should I tell the function to ignore blank values?

Thanks

--
gillem
-----------------------------------------------------------------------
gillemi's Profile: http://www.excelforum.com/member.php...fo&userid=3369
View this thread: http://www.excelforum.com/showthread.php?threadid=53550

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: vlookup question kcc Excel Newsgroup 0 12-18-2005 05:50 AM
Re: vlookup question Max Excel Newsgroup 0 12-17-2005 11:11 PM
Re: vlookup question Bob Phillips Excel Newsgroup 0 12-17-2005 10:18 PM
Vlookup question Buckwheat Excel Newsgroup 2 12-18-2003 05:03 AM
vlookup question. IowaBuckMaster Excel Newsgroup 5 11-26-2003 12:17 AM



All times are GMT. The time now is 02:15 PM.