Solved

Exclude a row with duplicate values in Excel

Posted on 2013-01-23
4
153 Views
Last Modified: 2013-02-20
Hi all
I need to sum rows in excel.
But there are rows with duplicate data..

e.g  If for a giveb two rows..  with column FileName
If the number [99123654] appears in Row 1 and row 2.
Only one row 1 will be calculate. Row two will be skipped.
This case may involve about 4 rows.. Hence only 1 row out of the 4 will be included in the calculation..

Thanks in Advance
ZH
0
Comment
Question by:ZURINET
  • 2
4 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 38810188
So are you just summing up a column of various FileNameIDs and just want to include only the first row of each unique FileName... or are you inputting the FileName somewhere and what to retrieve the value in the first row of that FileName's occurance in the column?
0
 

Author Comment

by:ZURINET
ID: 38810233
Hi NB_VC

This statement is correct

"So are you just summing up a column of various FileNameIDs and just want to include only the first row of each unique FileName"
0
 
LVL 23

Assisted Solution

by:NBVC
NBVC earned 249 total points
ID: 38810269
The simplest way would be to add a quick helper column to identify the first of each.

Assuming they are grouped together, and that the data starts in A2 and B2, then in C2 enter formula:

=IF(A2=A1,"",B2)

copied down

Then the total would be simply:

=SUM(C:C)

Does that work for you?
0
 
LVL 13

Accepted Solution

by:
Shanan212 earned 251 total points
ID: 38810387
=SUM(IF(FREQUENCY(C5:C9,C5:C9),C5:C9))

Change it as you wish and enter as array formula.

That is, once you finish modifying the formula, select the cell the formula is in, then press

'Ctrl + Shift + Enter' keys
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

896 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now