Solved

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

Posted on 2013-11-19
3
353 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 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

829 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