Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ladynole
 
Posts: n/a
Default how can i add cells that are not in a range?

need help with formula. i want the total number of cells that contain "yes"
from the following cells,G9,G10,G12,G13,G14,G18,G24 .. appreciate the help..
  #2   Report Post  
Alan
 
Posts: n/a
Default

Try
=COUNTIF(G9:G24,"Yes")
Regards,
Alan.
"ladynole" wrote in message
...
need help with formula. i want the total number of cells that contain
"yes"
from the following cells,G9,G10,G12,G13,G14,G18,G24 .. appreciate the
help..



  #3   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

=COUNTIF(G9:G10,"Yes")+COUNTIF(G12:G14,"Yes") + COUNTIF(G18,"Yes")+
COUNTIF(G24,"Yes")

HTH,
Bernie
MS Excel MVP


"ladynole" wrote in message
...
need help with formula. i want the total number of cells that contain
"yes"
from the following cells,G9,G10,G12,G13,G14,G18,G24 .. appreciate the
help..



  #4   Report Post  
aka excel
 
Posts: n/a
Default

Select the cells G9,G10,G12,G13,G14,G18,G24 and give it a name by typing in
the name in the name box. Then try the the formula countif("Name
given","yes")

"ladynole" wrote:

need help with formula. i want the total number of cells that contain "yes"
from the following cells,G9,G10,G12,G13,G14,G18,G24 .. appreciate the help..

  #5   Report Post  
ladynole
 
Posts: n/a
Default

Thank you very much. It worked like a charm.

"Bernie Deitrick" wrote:

=COUNTIF(G9:G10,"Yes")+COUNTIF(G12:G14,"Yes") + COUNTIF(G18,"Yes")+
COUNTIF(G24,"Yes")

HTH,
Bernie
MS Excel MVP


"ladynole" wrote in message
...
need help with formula. i want the total number of cells that contain
"yes"
from the following cells,G9,G10,G12,G13,G14,G18,G24 .. appreciate the
help..




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
Display first, second, etc Nonblank Cells in a Range Jeremy N. Excel Worksheet Functions 12 September 25th 05 01:47 PM
How to use macros to copy a range of cells which can exclude some cells which I didn't want to be copied? excelnovice Excel Worksheet Functions 2 September 25th 05 12:38 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 2 May 2nd 05 08:53 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM
Count cells in one range based on parameters in another range dave roth Excel Worksheet Functions 2 March 29th 05 05:33 PM


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