Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default counting two different values

I have a worksheet where I track who processed documents among other things.
Normally they enter their ititials on the worksheet and I can count how many
of each ititial is in that column. If two people work on one document, they
may enter their initials JD/PD or PD/JD for example. I want to count how
many times either JD/PD or PD/JD exists in the column.

Thanks,

Tania
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default counting two different values

You could do it this way:

=COUNTIF(A:A,"PD/JD") + COUNTIF(A:A,"JD/PD")

Assumes your initials are in column A.

Hope this helps.

Pete

On Jul 2, 9:36*pm, TLAngelo
wrote:
I have a worksheet where I track who processed documents among other things. *
Normally they enter their ititials on the worksheet and I can count how many
of each ititial is in that column. *If two people work on one document, they
may enter their initials JD/PD or PD/JD for example. *I want to count how
many times either JD/PD or PD/JD exists in the column.

Thanks,

Tania


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default counting two different values

Thank you Pete!

Tania

"Pete_UK" wrote:

You could do it this way:

=COUNTIF(A:A,"PD/JD") + COUNTIF(A:A,"JD/PD")

Assumes your initials are in column A.

Hope this helps.

Pete

On Jul 2, 9:36 pm, TLAngelo
wrote:
I have a worksheet where I track who processed documents among other things.
Normally they enter their ititials on the worksheet and I can count how many
of each ititial is in that column. If two people work on one document, they
may enter their initials JD/PD or PD/JD for example. I want to count how
many times either JD/PD or PD/JD exists in the column.

Thanks,

Tania



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default counting two different values

Thank you Don.

Tania

"Don Guillett" wrote:

try this idea.
=SUMPRODUCT(--(A2:A22={"a","b"}))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"TLAngelo" wrote in message
...
I have a worksheet where I track who processed documents among other
things.
Normally they enter their ititials on the worksheet and I can count how
many
of each ititial is in that column. If two people work on one document,
they
may enter their initials JD/PD or PD/JD for example. I want to count how
many times either JD/PD or PD/JD exists in the column.

Thanks,

Tania





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default counting two different values

You're welcome, Tania - thanks for feeding back.

Pete

On Jul 2, 9:57*pm, TLAngelo
wrote:
Thank you Pete!

Tania

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 +ve values? andrew Excel Discussion (Misc queries) 4 June 20th 08 08:46 PM
counting rows with same values for multiple values Jon Viehe New Users to Excel 4 September 1st 05 03:49 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting Values Alan Excel Worksheet Functions 6 June 9th 05 07:33 AM
Counting values Jouni Excel Worksheet Functions 2 November 18th 04 12:24 PM


All times are GMT +1. The time now is 09:07 PM.

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

About Us

"It's about Microsoft Excel"