Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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"))))))) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 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"))))))) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Execl formula return the lowest value | Excel Worksheet Functions | |||
Excel - return a picture or range rows as the result of a formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
How do create a formula to evalute a # to return 1 of 4 conditions | Excel Worksheet Functions |