Solved

Compare multiple cells of data within the same row to find outliers in Excel.

Posted on 2013-11-19
3
346 Views
Last Modified: 2013-11-19
I have a spreadsheet with 6850 rows of products mapped to charge numbers in multiple facilities.  I need to compare these facility values in each row to find any that do not match the others within that row. Some cells are blank so we need to ignore the empty cells. I am not comparing to another spreadsheet or data-set simply the data within each row. I would like a formula that simply returns a true/false result.
Data-Validation-for-Outliers.xlsx
0
Comment
Question by:nts42a
3 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39659988
try:

=IF(COUNTA(B2:F2),SUMPRODUCT(COUNTIF(B2:F2,B2:F2))/COUNTIF(B2:F2,"<>")=COUNTA(B2:F2))
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39659992
I have seen use of the SMALL function to return a list of unique values from a column.

I guess if you could transpose the data so comparing columns rather than rows, you could then apply a count to the list produced by the SMALL function and if the count is more than 1, you have multiple entries. Not sure how it would handle blank.

Thanks
Rob H
0
 

Author Closing Comment

by:nts42a
ID: 39660014
Worked perfectly.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question