Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 19
Exclamation Counting unique values based on 2 columns

I have been struggling all day to find the correct formula to use when trying to count unique values using different columns. I have a multiple column spreadsheet and I would like to identify the number of unique values (text & alpha) in column D (job #) that has a specific status which is in column F. For example, see below, the working status has 3 unique job#'s. Can someone help please?

Job# Status
100 Initial
201 Working
634 Working
201 Working
978 Completed
978 Working
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 587
Default Counting unique values based on 2 columns

hi Tee51,


array formula to validate with ctrl + shift + enter

=COUNT(1/FREQUENCY(IF(D2:D100,MATCH(F2:F100,F2:F100,0)),ROW (INDIRECT("1:"&ROWS(F2:F100)))))

--
isabelle



Le 2012-03-14 15:38, Tee51 a écrit :
I have been struggling all day to find the correct formula to use when
trying to count unique values using different columns. I have a multiple
column spreadsheet and I would like to identify the number of unique
values (text& alpha) in column D (job #) that has a specific status
which is in column F. For example, see below, the working status has 3
unique job#'s. Can someone help please?

Job# Status
100 Initial
201 Working
634 Working
201 Working
978 Completed
978 Working




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 587
Default Counting unique values based on 2 columns

correction:

=COUNT(1/FREQUENCY(IF(F2:F100="Working",MATCH(D2:D100,D2:D1 00,0)),ROW(INDIRECT("1:"&ROWS(D2:D100)))))

--
isabelle

Le 2012-03-15 09:05, isabelle a écrit :
hi Tee51,


array formula to validate with ctrl + shift + enter

=COUNT(1/FREQUENCY(IF(D2:D100,MATCH(F2:F100,F2:F100,0)),ROW (INDIRECT("1:"&ROWS(F2:F100)))))

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 259
Default Counting unique values based on 2 columns

On 16/03/2012 12:09 AM, isabelle wrote:
correction:

=COUNT(1/FREQUENCY(IF(F2:F100="Working",MATCH(D2:D100,D2:D1 00,0)),ROW(INDIRECT("1:"&ROWS(D2:D100)))))


Just to add to Isabelle's very nice work is you have to Array Enter the
formula with <CTRL-SHIFT-ENTER for it to work...

HTH
Mick.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting unique items based on date DKS Excel Worksheet Functions 19 July 25th 07 10:08 PM
Counting based on values in two separate columns Wayne Excel Worksheet Functions 3 August 30th 06 07:43 PM
Counting unique entries based on given condition Hari Excel Discussion (Misc queries) 9 June 6th 06 08:37 PM
Counting based on values in two columns? Brother of Andrew Excel Worksheet Functions 4 November 18th 05 11:11 PM
Counting unique entries in column A but only if specific values appear in columns B and C markx Excel Worksheet Functions 1 February 10th 05 11:52 AM


All times are GMT +1. The time now is 06:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"