Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Formula to return lowest value of 3 datapoints

I used the MIN formula to compare three cells and return the lowest value.

Now I want to compare the same three cells and return the "column name" with
the lowest value.

I've tried this formula and it only compares the first two values. What am
I doing wrong?

=IF(Q10="","A",(IF(R10="","B",(IF(S10="","C",(IF(M IN(Q10:S10),"A","B","C")))))))

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Formula to return lowest value of 3 datapoints

Thank you for such a quick reply and your help. Hope this explains the
problem better -- what name I've given the "column header".

Column Q = Vendor A
Column R = Vendor B
Column S = Vendor C

Under each column header, is their U/P for a item. So, for example: A1= $1,
B1= $0.95, C1 = $0.70. I want to compare the prices, and return the vendor's
name with the lowest price vs the actual price in a new column.

I created this formula, and it only returns the lowest value of Vendor A & B
-- it's not considering vendor C's price.

=IF(Q10="","A",(IF(R10="","B",(IF(S10="","C",(IF(M IN(Q10:S10),"A","B","C")))))))

"Don Guillett" wrote:


Does this help. It will give the column NUMBER.

=MATCH(MIN(H20:J20),20:20)
--
Don Guillett
SalesAid Software

"Enzo" wrote in message
...
I used the MIN formula to compare three cells and return the lowest value.

Now I want to compare the same three cells and return the "column name"
with
the lowest value.

I've tried this formula and it only compares the first two values. What
am
I doing wrong?

=IF(Q10="","A",(IF(R10="","B",(IF(S10="","C",(IF(M IN(Q10:S10),"A","B","C")))))))




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
Execl formula return the lowest value Excel Lowest Value Excel Worksheet Functions 2 July 25th 06 02:28 PM
Excel - return a picture or range rows as the result of a formula juststarting Excel Worksheet Functions 1 July 4th 05 12:59 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
How do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM


All times are GMT +1. The time now is 04:29 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"