Solved

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

Posted on 2013-11-19
3
366 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 33

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

718 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