Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Countif - How do I count the number of job titles occurring in a l

Column A contains 1,000 positions. Each position falls into one of 25 titles.
the titles are in column B rows 1-25. I want to count the number of "Acct
managers" in column A by referencing the test in column B. When I enter the
formula =COUNTIF($A$1:$A$1001,"=B1") I get a return of 0. Cell B1 contains
the title (Text). Do I have to type the text in each formula - i.e.
=COUNTIF($A$1:$A$1001,"=Acct Manager") - instead of referencing the cell
"B1"..."B20"?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Countif - How do I count the number of job titles occurring in a l

Try eliminating the quotes around B1
--
Brevity is the soul of wit.


"dsmith@organic" wrote:

Column A contains 1,000 positions. Each position falls into one of 25 titles.
the titles are in column B rows 1-25. I want to count the number of "Acct
managers" in column A by referencing the test in column B. When I enter the
formula =COUNTIF($A$1:$A$1001,"=B1") I get a return of 0. Cell B1 contains
the title (Text). Do I have to type the text in each formula - i.e.
=COUNTIF($A$1:$A$1001,"=Acct Manager") - instead of referencing the cell
"B1"..."B20"?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Countif - How do I count the number of job titles occurring in a l

And the =

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Dave F" wrote in message
...
Try eliminating the quotes around B1
--
Brevity is the soul of wit.


"dsmith@organic" wrote:

Column A contains 1,000 positions. Each position falls into one of 25

titles.
the titles are in column B rows 1-25. I want to count the number of

"Acct
managers" in column A by referencing the test in column B. When I enter

the
formula =COUNTIF($A$1:$A$1001,"=B1") I get a return of 0. Cell B1

contains
the title (Text). Do I have to type the text in each formula - i.e.
=COUNTIF($A$1:$A$1001,"=Acct Manager") - instead of referencing the cell
"B1"..."B20"?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Countif - How do I count the number of job titles occurring in

Oh - it's the little things isn't it? Thanks to both of you for the help

"Bob Phillips" wrote:

And the =

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Dave F" wrote in message
...
Try eliminating the quotes around B1
--
Brevity is the soul of wit.


"dsmith@organic" wrote:

Column A contains 1,000 positions. Each position falls into one of 25

titles.
the titles are in column B rows 1-25. I want to count the number of

"Acct
managers" in column A by referencing the test in column B. When I enter

the
formula =COUNTIF($A$1:$A$1001,"=B1") I get a return of 0. Cell B1

contains
the title (Text). Do I have to type the text in each formula - i.e.
=COUNTIF($A$1:$A$1001,"=Acct Manager") - instead of referencing the cell
"B1"..."B20"?




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 consecutive dates only [email protected] Excel Discussion (Misc queries) 0 May 4th 06 03:58 PM
Count number of uniques starting with a given letter? MeatLightning Excel Discussion (Misc queries) 1 April 26th 06 10:32 PM
count the number of times the same number shown Noemi Excel Discussion (Misc queries) 1 September 22nd 05 04:00 AM
Count the number of Cells in one ROW with conditions Amanda Excel Worksheet Functions 2 September 9th 05 04:03 PM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 08:35 PM


All times are GMT +1. The time now is 06:56 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"