#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Count

Hello Experts

I looking for a formula that will count the number of instances of "A" in
column A AND "PAI" in column B.

Eg.

A PAI
A RENU
A PAI
A PAI
A RENU
B PAI
B RENU
C PAI
C PAI
D RENU
D PAI
E ADITYA

Formula Result Should be =3

Thanks in Advance

Hardeep kanwar
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Count

Use:

=SUMPRODUCT((A1:A12="A")*(B1:B12="PAI"))

"Hardeep kanwar" wrote:

Hello Experts

I looking for a formula that will count the number of instances of "A" in
column A AND "PAI" in column B.

Eg.

A PAI
A RENU
A PAI
A PAI
A RENU
B PAI
B RENU
C PAI
C PAI
D RENU
D PAI
E ADITYA

Formula Result Should be =3

Thanks in Advance

Hardeep kanwar

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Count

Dear Hardeep

Try the below

=SUMPRODUCT(--(A1:A100="A"),--(B1:B100="PAI"))


If this post helps click Yes
---------------
Jacob Skaria


"Hardeep kanwar" wrote:

Hello Experts

I looking for a formula that will count the number of instances of "A" in
column A AND "PAI" in column B.

Eg.

A PAI
A RENU
A PAI
A PAI
A RENU
B PAI
B RENU
C PAI
C PAI
D RENU
D PAI
E ADITYA

Formula Result Should be =3

Thanks in Advance

Hardeep kanwar

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Count

Perfect

Both Formulas Work Prefectly


Thanks Jacob Skaria and Faraz Qureshi

Hardeep kanwar

"Jacob Skaria" wrote:

Dear Hardeep

Try the below

=SUMPRODUCT(--(A1:A100="A"),--(B1:B100="PAI"))


If this post helps click Yes
---------------
Jacob Skaria


"Hardeep kanwar" wrote:

Hello Experts

I looking for a formula that will count the number of instances of "A" in
column A AND "PAI" in column B.

Eg.

A PAI
A RENU
A PAI
A PAI
A RENU
B PAI
B RENU
C PAI
C PAI
D RENU
D PAI
E ADITYA

Formula Result Should be =3

Thanks in Advance

Hardeep kanwar

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
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 11:49 PM.

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"