PC Review


Reply
Thread Tools Rate Thread

Counta problem - Wrong total

 
 
Jeremy
Guest
Posts: n/a
 
      19th Jun 2008
=COUNTA(D122,"=A27")

In the above formula I believe I am counting the number of instances the
name in A27 appears in the list from D1 to D22.

In the actual list the name in A27 actually only appears once, but the
formula is telling me it appears 23 times.

I think I am not doing something right.

Please help
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      19th Jun 2008
Hi,

Your formula is counting non-blank cells in the range 'and' A27 hence the
answer 23

try this

=COUNTIF(D122,"="&A27)

Mike

"Jeremy" wrote:

> =COUNTA(D122,"=A27")
>
> In the above formula I believe I am counting the number of instances the
> name in A27 appears in the list from D1 to D22.
>
> In the actual list the name in A27 actually only appears once, but the
> formula is telling me it appears 23 times.
>
> I think I am not doing something right.
>
> Please help

 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      19th Jun 2008
You are correct. You are not doing something right.
Try looking up the function COUNTA in Excel help.
You may also wish to look up the function COUNTIF.
--
David Biddulph

"Jeremy" <jeremiah.a.reynolds @ gmail.com> wrote in message
news:4F83E601-7586-423A-8A19-(E-Mail Removed)...
> =COUNTA(D122,"=A27")
>
> In the above formula I believe I am counting the number of instances the
> name in A27 appears in the list from D1 to D22.
>
> In the actual list the name in A27 actually only appears once, but the
> formula is telling me it appears 23 times.
>
> I think I am not doing something right.
>
> Please help



 
Reply With Quote
 
Jeremy
Guest
Posts: n/a
 
      19th Jun 2008
That worked beautifully, now if you coule teach me to fish for one second.

I get the fisrt part of the equation. It's the ,"="&A27 part that I don't
understand. What is this telling the computer to do?

Thanks, I want to learn this so one day I can help people too!

"Mike H" wrote:

> Hi,
>
> Your formula is counting non-blank cells in the range 'and' A27 hence the
> answer 23
>
> try this
>
> =COUNTIF(D122,"="&A27)
>
> Mike
>
> "Jeremy" wrote:
>
> > =COUNTA(D122,"=A27")
> >
> > In the above formula I believe I am counting the number of instances the
> > name in A27 appears in the list from D1 to D22.
> >
> > In the actual list the name in A27 actually only appears once, but the
> > formula is telling me it appears 23 times.
> >
> > I think I am not doing something right.
> >
> > Please help

 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      19th Jun 2008
Hi,

It tells excel to look at the address A27. If you put the entire thing in
quotes
"=A27" then excel treats that as a literal string instead of an address.

It's no different to using the concatenate sign (&) in a cell.

Mike


"Jeremy" wrote:

> That worked beautifully, now if you coule teach me to fish for one second.
>
> I get the fisrt part of the equation. It's the ,"="&A27 part that I don't
> understand. What is this telling the computer to do?
>
> Thanks, I want to learn this so one day I can help people too!
>
> "Mike H" wrote:
>
> > Hi,
> >
> > Your formula is counting non-blank cells in the range 'and' A27 hence the
> > answer 23
> >
> > try this
> >
> > =COUNTIF(D122,"="&A27)
> >
> > Mike
> >
> > "Jeremy" wrote:
> >
> > > =COUNTA(D122,"=A27")
> > >
> > > In the above formula I believe I am counting the number of instances the
> > > name in A27 appears in the list from D1 to D22.
> > >
> > > In the actual list the name in A27 actually only appears once, but the
> > > formula is telling me it appears 23 times.
> > >
> > > I think I am not doing something right.
> > >
> > > Please help

 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      19th Jun 2008
You can get away with just =COUNTIF(D122,A27)

As for learning to fish, as I suggested in another message on this thread,
use Excel help for the COUNTIF function.
--
David Biddulph

"Jeremy" <jeremiah.a.reynolds @ gmail.com> wrote in message
news07492FC-9507-47CC-980B-(E-Mail Removed)...
> That worked beautifully, now if you coule teach me to fish for one second.
>
> I get the fisrt part of the equation. It's the ,"="&A27 part that I don't
> understand. What is this telling the computer to do?
>
> Thanks, I want to learn this so one day I can help people too!
>
> "Mike H" wrote:
>
>> Hi,
>>
>> Your formula is counting non-blank cells in the range 'and' A27 hence the
>> answer 23
>>
>> try this
>>
>> =COUNTIF(D122,"="&A27)
>>
>> Mike
>>
>> "Jeremy" wrote:
>>
>> > =COUNTA(D122,"=A27")
>> >
>> > In the above formula I believe I am counting the number of instances
>> > the
>> > name in A27 appears in the list from D1 to D22.
>> >
>> > In the actual list the name in A27 actually only appears once, but the
>> > formula is telling me it appears 23 times.
>> >
>> > I think I am not doing something right.
>> >
>> > Please help



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum Wrong total but add each cell gives the correct total Steved Microsoft Excel Worksheet Functions 6 8th Jan 2009 01:19 AM
counta problem Paul Hood Microsoft Excel Discussion 6 19th Nov 2008 06:50 PM
CountA problem Jim Microsoft Excel Misc 8 24th Jan 2008 09:22 PM
counta result is wrong! mindmaster Microsoft Excel Worksheet Functions 1 12th Sep 2004 08:23 PM
Index & Counta formula problem =?Utf-8?B?cmxlb25hcmQ=?= Microsoft Excel Programming 6 13th May 2004 01:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:39 PM.