Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jrm jrm is offline
external usenet poster
 
Posts: 15
Default compare multiple columns

How can I compare multiple column, returning the lowest value for the column,
but ensuring all blank cells are ignored.

Current Sample formula
=IF(AB3<=AC3,"AB",IF(AC3<=AE3,"AC",IF(AE3<=AF3,"AE ","AF")))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default compare multiple columns

If your trying to find minimum value in a series of columns:

=MIN(IF(AB3:IB3<"",AB3:IB3))

Enter with Ctrl+Shift+Enter (array formula)

HTH

"JRM" wrote:

How can I compare multiple column, returning the lowest value for the column,
but ensuring all blank cells are ignored.

Current Sample formula
=IF(AB3<=AC3,"AB",IF(AC3<=AE3,"AC",IF(AE3<=AF3,"AE ","AF")))

  #3   Report Post  
Posted to microsoft.public.excel.misc
jrm jrm is offline
external usenet poster
 
Posts: 15
Default compare multiple columns

Toppers, thank you this worked. Could you also tell me how I can Identify
which column provided the lowest price?

"Toppers" wrote:

If your trying to find minimum value in a series of columns:

=MIN(IF(AB3:IB3<"",AB3:IB3))

Enter with Ctrl+Shift+Enter (array formula)

HTH

"JRM" wrote:

How can I compare multiple column, returning the lowest value for the column,
but ensuring all blank cells are ignored.

Current Sample formula
=IF(AB3<=AC3,"AB",IF(AC3<=AE3,"AC",IF(AE3<=AF3,"AE ","AF")))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default compare multiple columns

Try - entered with Ctrl+Shift+Enter -:

=MATCH(MIN(IF(A3:G3<"",A3:G3)),A3:G3,0)

will return number betwen 1 and 7 corresponding to columns A to G. If there
are duplicates, then it will return the first match i.e. lowest column
number. The [column ]number returned is relative to start of the range being
used.

HTH

"JRM" wrote:

Toppers, thank you this worked. Could you also tell me how I can Identify
which column provided the lowest price?

"Toppers" wrote:

If your trying to find minimum value in a series of columns:

=MIN(IF(AB3:IB3<"",AB3:IB3))

Enter with Ctrl+Shift+Enter (array formula)

HTH

"JRM" wrote:

How can I compare multiple column, returning the lowest value for the column,
but ensuring all blank cells are ignored.

Current Sample formula
=IF(AB3<=AC3,"AB",IF(AC3<=AE3,"AC",IF(AE3<=AF3,"AE ","AF")))

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
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
spliting a column of data into multiple columns CiceroCF Excel Discussion (Misc queries) 7 March 25th 05 12:40 AM
Pivot Table combining multiple columns Pete Petersen Excel Discussion (Misc queries) 1 January 13th 05 07:56 PM
Compare Columns Michael Nesi Excel Discussion (Misc queries) 1 December 6th 04 08:45 PM


All times are GMT +1. The time now is 06:27 PM.

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

About Us

"It's about Microsoft Excel"