COUNTIFS Without Duplicates

May 12, 2014

I'm currently working with the formula

=COUNTIFS(Data[Quarter],"Q1",Data[Country],A3,Data[Sales],">2000")

However I need the formula to count only one for the n possible duplicates in the Data[Name] column.

View 8 Replies


ADVERTISEMENT

Pivot Table To Not Count Duplicates - But Show Duplicates When Click Into It

Aug 24, 2011

In short, I would like a pivot table to only count unique values, but when I click into the pivot I would like to show all instances of that value. For example:

I have a table of data that I am creating a pivot table from. There are fields for Customer ID, Task Name, Age, and Notes. There will be multiple records for a single Customer ID each time it has new notes.

I would like to create a pivot table that has Task Name in the Row Labels, Age in the Column Labels, and count of Customer ID in the Values, so that, for example, I can see how many accounts have been in the Design task for 2 days. However, when I do this it counts each record, but I would like it to count each unique Customer ID. Also, when I click into the pivot, instead of pulling up one line per Customer ID, I would like it to pull up each instance of Customer IDs in that Task Name/Age combination (similar to doing a DISTINCT in SQL).

View 3 Replies View Related

Count Duplicates And Duplicates With Suffix As One Instance

Mar 23, 2014

I have a list of isometric drawing numbers ending with a [underscore]weld number e.g. 1692-SG-0040-04_05.

Some welds are repaired--in that scenario the amended weld number will be 1692-SG-0040-04_05R1, and even 1692-SG-0040-04_05R2 if repaired for a second time.

On occasion a weld may be cut out entirely and a new weld done. The weld number for that will be 6317-FG-1690-02_06C1.

And here's a wrinkle I've just verified...a cut weld may also be repaired so the weld number will look like 1698-SG-0077-01_04C1R1.

Is there a formula to count these as one weld:
1692-SG-0040-04_05
1692-SG-0040-04_05R1
1692-SG-0040-04_05R2

This as one weld:
6317-FG-1690-02_06
6317-FG-1690-02_06C1
6317-FG-1690-02_06C2

...and this as one weld:
1698-SG-0077-01_04
1698-SG-0077-01_04C1
1698-SG-0077-01_04C1R1

View 7 Replies View Related

Excel 2010 :: How To Count Duplicates Of Duplicates

Jan 24, 2012

I am having trouble creating a function to count duplicates of duplicates.

An example of the data table 1 is:

Product 1 2nd
Product 1 2nd
Product 1 New
Product 1 New
Product 1 Flt
Product 2 2nd
Product 2 New
Product 2 New
Product 2 Flt
Product 2 Flt
Product 3 2nd
Product 3 2nd
Product 3 2nd
Product 3 New
Product 3 Flt

I created a new table (table 2) and made a list of all the Products on table 1 and removed the duplicates. I now have 3 columns with titles New, 2nd and Flt as follows:

New 2nd Flt
Product 1 XX XX XX
Product 2 XX XX XX
Product 3 XX XX XX

I am trying to count the duplicates for each product (XX), but I can't seem to work it out. I've tried the MS help function, but unsure of the actual formula I need to be using.

I am using Windows 7 and MS Office 2010.

View 2 Replies View Related

Countifs But Looking For More Than One Value?

Oct 31, 2013

I am using the formula to count if c- is in the cells: =COUNTIF($B2:$U2,"C-")

However, I need to change the formula so rather than just count if C- is in the cells, I need it to count if A*, A+,A, A-, or B+ are in the cell instead.

View 2 Replies View Related

Countifs On Two Different Variables

Apr 21, 2009

Say I have a list of part numbers, and each part number has an X or a 0 next to it, depending on my own set parameter.

How do I then report that data on another tab so that it counts how many there are in a set area AND if its an X.

At the moment I have this:

View 7 Replies View Related

Replacement For COUNTIFS

Jun 4, 2009

I am looking for a replacement to the function COUNTIFS that will work with Excel 97-03. I have attached a sample of the document which will hopefully demonstrate what I am trying to achieve. On the sheet labelled 'Data' there is four headings (MerRefs, JCPRefs, Self Refs and Other) for the results beneath these headings I have used the Countifs function. I have attempted to use the SUMIF as an array formula but couldn't get this to work.

Also in the hope of killing two birds with one stone, I created this in Excel 2007 and in the past when I have saved documents as 97-03 documents it used to warn me of any incompatible functions included within the doc and now it doesent. Where can I switch that setting on?

View 10 Replies View Related

COUNTIFS For A Set Of Data?

May 1, 2014

I'm trying to do a COUNTIFS for a set of data. What I want it to do is pull everything that is assigned to a certain person that has no date in one column, and information in another. For example:

Name
Date
Comment

Michelle
4/30/14
Closed

Michelle

Issue

Michelle
4/30/14
Closed

Michelle
4/30/14
Closed
Michelle
Issue

So based on this dataset, I would get the number 2 for Michelle (row 2 and 5 have no date in column B and a comment in column C). I've tried a few variations and can't seem to make it work right.

View 2 Replies View Related

Countifs Function

Aug 24, 2008

I am using the COUNTIFS function. I can us it with simple criterias but unsure to go about this criteria.

I would only like to count the cells if the range in question is equal or greater than S3 but is equal or less than T3.

I don't know how to use the => signs.

View 9 Replies View Related

Multiple Countifs

Nov 11, 2009

I have a list of information regarding jobs that need to be carried out by a number of companies by a number of dates. What I want to count is the number of jobs that company A need to caary out by a specific date and then the number that company B need to carry out by the same date. The formula basically needs to say countif column a equals company A and column C equals 11/11/09. I have tried numerous combinations of IF, Countif, SUMif, And etc but can't get the formula to work,

View 9 Replies View Related

Countifs On X Axis

Nov 26, 2009

I'm looking to count the following:

A B
a 1
a 1
b 0
b 1
c 0
a 1

If column A=a AND column B=1, add column B on the same axis. I can only get a function that adds all B column if A=a. The function should equal 3. Cells B1, B2 and B6 should be the only ones counted.

View 10 Replies View Related

Countifs If SUM Of Range Is Between Two Values?

Mar 27, 2014

I have the following formula: =IF((COUNTIFS(data_sheet!U:U,Monthly_Report!H10))>166,0,COUNTIFS(data_sheet!U:U,Monthly_Report!H10,data_sheet!BN:BN,"Premier"))

This formula counts values on my data sheet based on the specified criteria. I have this broken ito 3 section, each section that needs to be summed.

Section 1 can not be greater than 165, if it is all the values in the range needs to be reset to 0
Section 2 can not be greater than 190, but at the same time can not be less than 166, else is need to be reset to 0. How would I adjust the above mentioned formula to check these criteria?

View 4 Replies View Related

Adding Between Condition After Countifs

May 12, 2014

I'm currently using the following function: =COUNTIFS(Data[Quarter],"Q1",Data[Country],A3,Data[Sales],">2000") which works perfectly. However I'd like to add another condition "between 1000 and 2000".

I've tried this but I'm not getting any luck: =COUNTIFS(Data[Quarter],"Q1",Data[Country],A3,Data[Sales],AND("<1000",">2000")).

View 3 Replies View Related

Excel CountIFS - Adding 1 To The Value

May 27, 2014

=COUNTIFS('Gone Out'!L:L,"=27/05/2014",'Gone Out'!A:A,"=John Smith")

Where I have the date why will this not work?

=COUNTIFS('Gone Out'!M:M,"=E12",'Gone Out'!B:B,"=John Smith")

I have 27/05/2014 that in E12 but it keeps giving 0 instead of the actual number

Also, How would I make it so that instead of adding 1 to the value, i could add John Smith's Age?

View 9 Replies View Related

Absolute Value Inside Countifs?

Jul 9, 2014

So I have a formula which contains a countifs that looks like this:

=COUNTIFS($AZ:$AZ,$AZ15,$AM:$AM,ABS($AM15),$AD:$AD,$AD15)

However, I want the formula to count values when ABS($AM:$AM)=ABS($AM15) but I get an error if I try to put ABS($AM:$AM) as my range. Is there anyway to set my range as the absolute value of Column?

I have also tried ABS($AM15:$AM1000).

View 10 Replies View Related

COUNTIFS With Unique Values

Dec 23, 2013

I am writing a formula to accomplish the goal of counting only unique text values in a column, based upon two different factors:

*Need to Count unique text values in column named 'CASE_NAME'
*Column 'FISCAL' must match cell A5
*Column 'ZONE' must match cell A3

View 5 Replies View Related

Adding A Second Option To COUNTIFS?

Dec 26, 2013

I have a COUNTIFS function that, among other criteria, only counts cells in which the value is "P". I now want to modify this function to count cells in which the value is "LA" in addition to cells in which the value is "P". I'm not sure how to work this into the argument. I tried using OR("P","LA"), but that's not working.

View 3 Replies View Related

COUNTIFS Across Multiple Worksheets

Jan 24, 2014

I am having a problem getting my formula to return a result. The basics are that I would like a count of a specific set of data in a section of a workbook. So in column 'A' I am searching for 'TextA' but this also has to have 'TextB' in column C. The problem is I have 12 consecutive monthly worksheets I would like to pull this data from and I only really want to write one formula. I can (and started to) use the countifs function plus countifs function etc referencing each worksheet individually but this seems long winded.

I have read on this forum that I can use sumproduct combined with countifs but I can't seem to get it right. I have listed my formula for a single sheet countifs function below, but I don't know how or if to include the sumproduct function to reference the rest of the monthly worksheets. The other thing I should mention is that there are other worksheets too, so it would need to be specific to this range, but they are consecutive within the workbook.

View 4 Replies View Related

COUNTIFS With Many Criteria In Same Range

Feb 5, 2014

How to combine many criteria in a COUNTIFS formula with the same range.

I made a formula:

=COUNTIFS(brut!$B:$B;"1T";brut!$G:$G;"F25"; brut!$C:$C;"1")

And it works fine, but I need four more conditions -

brut!$C$C; "2", brut!$C$C; "3", brut!$C$C; "4" and brut!$C$C; "5".

When I change the formula to

=COUNTIFS(brut!$B:$B;"1T";brut!$G:$G;"F25"; brut!$C:$C;"1"; brut!$C$C; "2"; brut!$C$C; "3"; brut!$C$C; "4"; brut!$C$C; "5")

It didn't work anymore.

I don't know how to use IF and COUNTIFS together.

View 4 Replies View Related

Countifs To Count Each Occurrence Of AA Or DC By Itself

Aug 13, 2014

I have a column of data that contains a two letter identifier, which can sometimes be combined with another 2 letter indentifier: Example

Column D
AA
DC
DC,AA

How would I get countifs to count each occurrence of AA or DC by itself?

View 8 Replies View Related

Date Range And COUNTIFS

Dec 28, 2008

I need to look at a series of data once per week and calculate the results. I'm trying to use COUNTIFS to get a result based on both the date I'm doing the analysis for and for the response.

I've attached a sheet that shows a sample of what I'm trying to do. Cell B1 contains the date range I'm using, and cell B18 shows the formula I'm having trouble with. I suspect it's because I'm trying to treat a date like text, but I'm not sure.

View 8 Replies View Related

COUNTIFS With A Variable Condition

Apr 1, 2009

I am using COUNTIFS to work a formula for finding an average of a SUMPRODUCT. Formula:

View 2 Replies View Related

Converting COUNTIFS To 2003

Jul 6, 2009

I have the following excel formula:
=LOWER(IF(($H2&":"&$M2&":"&$N2&":"&TEXT(COUNTIFS($H2:$H$2,$H2,$M2:$M$2,$M2,$N2:$N$2,$N2),"0000"))=": ::0000","",$H2&":"&$M2&":"&$N2&":"&TEXT(COUNTIFS($H2:$H$2,$H2,$M2:$M$2,$M2,$N2:$N$2,$N2),"0000")))

I need to convert the COUNTIFS into something that is Excel 2003 friendly.

View 2 Replies View Related

Countifs With References As Criteria

Aug 13, 2009

I'm trying to use this formula in a cell but it keeps giving me #NAME.

What does this mean?

View 8 Replies View Related

Month Criteria In Countifs ????

Feb 11, 2010

check out the COUNTIFS function on Data Tables Sheet -> Cell D29 and pls. let me know what's going on. I need is : To calculate the number of items on system data tab which has the "Pending" status and items which belongs to month "Jan-10" under a particular person selected from B 27 cell (Data tables tab).

I solved it by using >=01-01-10 and <=31-01-10 criteria but i don't think its nice idea .... I tried to use AND(function by got failed ...........

View 4 Replies View Related

Countifs Except When Two Columns Read X?

Dec 17, 2012

I'm trying to find total gross commission within a spreadsheet, where gross commission found in Deals column Q. Columns T & U indicate with an "X" whether the deal was associated with referrals and such.

=SUMIFS(Deals!$Q$2:$Q$500, Deals!$T$2:$T$500, "x",Deals!$C$2:$C$500,">=1/1/2005",Deals!$C$2:$C$500,"<1/1/2006")

=SUMIFS(Deals!$Q$2:$Q$500, Deals!$U$2:$U$500, "x",Deals!$C$2:$C$500,">=1/1/2005",Deals!$C$2:$C$500,"<1/1/2006")

But now I need to sumif Q2:Q500 excluding rows where "X appears in either T or U, or both, to indicated complete self-generated deals.

View 3 Replies View Related

COUNTIFS For Visible Cells Only?

Apr 11, 2014

I am looking for a COUNTIFS that is only looking only at the visible cells. I have found a few threads on this subject but none for this specific problem.I know there is a SUMPRODUCT / SUBTOTAL excel solution for COUNTIFSing visible cells only. How modify it to take multiple ranges and criteria like CONUTIFS does.

[Code].....

View 6 Replies View Related

COUNTIFS With Date Range

Sep 21, 2009

I need a COUNTIFS function (I think that will be the best function to use at least).
I have a two columns of data, column one is dates (mm/dd/yyyy) and column two is states (AK, MA, MI, etc). I need a way to count how many times a states comes up for a certain month. For example, I need to know how many times MA appears through the dates 1/1/2007 and 1/31/2007. Here's what I have so far. It works but I can only specify one date. =COUNTIFS('SHEET NAME'!D:D, "1/5/2007", 'SHEET NAME'!E:E, "MA")

View 5 Replies View Related

Countifs On Multiple Sheets?

Jan 4, 2012

i have 10 sheets in my workbook and i wanted to do countifs on every sheet for column a so i have created 2 more sheet one called start the other call end and moved them start before sheet1 and end after sheet 10

this is the formula i was trying to use =COUNTIFS(Start!:End!A:A,finished!A3)

View 6 Replies View Related

Countifs With Named Ranges?

Jul 19, 2012

I have some named ranges and am trying to do a "Countifs" based off the named ranges. But Excel is giving me obvious incorrect data (my fault, not Excel's). I can't really post a pic of the issue, hopefully it's an obvious error on my part.

For instance

SpecialPart is a named range consisting of part numbers that I want to count seperately from all others.

PartNumber is a named range of all parts shipped for a period.

I used countifs becuase I am also checking by month. The month part works fine because I use it in other countifs. It's just this one that isn't working for me.

My formula looks like this;

=Countifs(Pmonth,Month(A3),PartNumber,SpecialPart)

As mentioned, the month part of the formula works in other calculations, but the Part/SpecialPart calculation keeps returning a "1" even though there are multiple instances of a match for each month. A manual count of January showed about 100 lines that should have been counted.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved