BleepingComputer.com: Excel

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Excel counting the number of values

#1 User is offline   ramsey76 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 214
  • Joined: 15-November 05

Posted 12 November 2007 - 07:16 AM

I am using the IF function to get a YES or NO response .

I am trying to get the number of YES anwsers. I get to to this in mulitple steps but I am wondering if there a cleaner way.

The COUNTA function does not seem to work.

I guess in my IF statement i can make the NOs blank then I can use COUNTA since the NO will be blank

Do anybody know to counta repsonses assuming i leave the NOs as NOs

Thanks

#2 User is offline   Budapest 

  • Bleepin' Cynic
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 21,855
  • Joined: 11-November 06
  • Gender:Male

Posted 12 November 2007 - 07:31 AM

I think the following will work:

=COUNTIF(data,"yes")

Where data is the cell range.
The power of accurate observation is commonly called cynicism by those who haven't got it.

—George Bernard Shaw

#3 User is offline   ramsey76 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 214
  • Joined: 15-November 05

Posted 12 November 2007 - 08:51 AM

Thanks

I was not famliar with that command

Works great

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users