Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Need to find the right formula

I am trying to build a spreadsheet that will count the number of times a name
is listed in a range. I then need to take that count and use it in
calculating payroll. I have tried using COUNT...but that is only for
numbers, then I tried COUNTIF...but it returns an answer of "1/3" rather than
"3" when my name is found 3 times. I looked and found COUNTA...but that does
not help either.

How can I count the number of times my name is found in a range and get
simple number?

Here is my formula:

=COUNTIF(D2:E29,Bob) The answer I get is 1/3 when my name is in the
range 2 times...1/4 when my name is there 3 times and 1/1 when my name is not
listed at all.

I assume I am trying to use the wrong formula...or I just dont understand
how this one works.

Help is appreciated.
Matt

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Need to find the right formula

Sorry, I actually did have quotation marks (or it did not work at all). I
forgot to put them in this post.

I just had someone else test the formula and it works perfect on their
computer. On further review, I found the cell formatted to a custom date
format. After setting it to a number format all is good.

Thank you for your input.

Matt

"Bill Kuunders" wrote:

=COUNTIF(D2:E29,"Bob")
with the quotation marks
should work

Greetings from New Zealand
"Matt Bergum" <Matt wrote in message
...
I am trying to build a spreadsheet that will count the number of times a
name
is listed in a range. I then need to take that count and use it in
calculating payroll. I have tried using COUNT...but that is only for
numbers, then I tried COUNTIF...but it returns an answer of "1/3" rather
than
"3" when my name is found 3 times. I looked and found COUNTA...but that
does
not help either.

How can I count the number of times my name is found in a range and get
simple number?

Here is my formula:

=COUNTIF(D2:E29,Bob) The answer I get is 1/3 when my name is in the
range 2 times...1/4 when my name is there 3 times and 1/1 when my name is
not
listed at all.

I assume I am trying to use the wrong formula...or I just dont understand
how this one works.

Help is appreciated.
Matt




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
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 3 January 19th 06 09:52 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 1 January 9th 06 01:23 PM
copy and pasting a find all list into another column Ben Excel Discussion (Misc queries) 18 December 31st 05 10:51 PM
I there an easy way to find out if any formula reference a cell? Marc New Users to Excel 1 December 6th 04 10:41 PM


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