ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   comparing columns (https://www.excelbanter.com/excel-programming/374747-comparing-columns.html)

jrm

comparing columns
 
how do i compare mulitple columns, returning lowest value, ignoring blank
cells.

Additionally, how do identify which column supplied that information

Roger Govier

comparing columns
 
Hi

Try the following 2 array formulae
{=MIN(IF(A1:M10,A1:M1))}
to find the lowest non-zero value
{=MATCH(MIN(IF(A1:M10,A1:M1)),A1:M1)}
to return the column number where the lowest value occurs.

Use Ctrl+Shift+Enter (CSE) to commit on Edit the formula rather than
just Enter.
Do not type the curly braces { } yourself, Excel will enter them
when you use CSE

Change range to suit


--
Regards

Roger Govier


"JRM" wrote in message
...
how do i compare mulitple columns, returning lowest value, ignoring
blank
cells.

Additionally, how do identify which column supplied that information





All times are GMT +1. The time now is 11:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com