Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
harshaputhraya
 
Posts: n/a
Default Using COUNTIF on specific cells


Hi,

I want to count the occurrences based on a particular value in
particular cells.

If I use a range of cells, say =COUNTIF(B2:AC2,"<Not Yet Presented ")
then it will return the count of all the cells where the string is not
present.

Instead of that I want to perform the operation on specific cells,
say on B2,I2,P2 and W2.

I tried it with one cell =COUNTIF(B2,"<Not Yet Presented ") and it
works, but it didn’t work for more than one

Is there any solution? Please let me know.

Appreciate your time and help:)

Harsha


--
harshaputhraya
------------------------------------------------------------------------
harshaputhraya's Profile: http://www.excelforum.com/member.php...o&userid=33225
View this thread: http://www.excelforum.com/showthread...hreadid=539171

  #2   Report Post  
Posted to microsoft.public.excel.misc
CaptainQuattro
 
Posts: n/a
Default Using COUNTIF on specific cells


Try this

=CountA(A1:A100)-COUNTIF(A1:A100,"Not Yet Presented ")


--
CaptainQuattro
------------------------------------------------------------------------
CaptainQuattro's Profile: http://www.excelforum.com/member.php...o&userid=32763
View this thread: http://www.excelforum.com/showthread...hreadid=539171

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ken Johnson
 
Posts: n/a
Default Using COUNTIF on specific cells

Hi Harsha,

This seems to work...

=SUMPRODUCT((B1<"Not Yet Presented")+(I1<"Not Yet
Presented")+(P1<"Not Yet Presented")+(W1<"Not Yet Presented"))

Ken Johnson

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Using COUNTIF on specific cells

=SUMPRODUCT(--(B2:AC2<"Not Yet Presented "),--(MOD(COLUMN(B2:AC2),7)=2))

should it really have those two spaces at the end of the text?

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"harshaputhraya"
wrote in
message news:harshaputhraya.27bl9b_1146808201.594@excelfor um-nospam.com...

Hi,

I want to count the occurrences based on a particular value in
particular cells.

If I use a range of cells, say =COUNTIF(B2:AC2,"<Not Yet Presented ")
then it will return the count of all the cells where the string is not
present.

Instead of that I want to perform the operation on specific cells,
say on B2,I2,P2 and W2.

I tried it with one cell =COUNTIF(B2,"<Not Yet Presented ") and it
works, but it didn't work for more than one

Is there any solution? Please let me know.

Appreciate your time and help:)

Harsha


--
harshaputhraya
------------------------------------------------------------------------
harshaputhraya's Profile:

http://www.excelforum.com/member.php...o&userid=33225
View this thread: http://www.excelforum.com/showthread...hreadid=539171



  #5   Report Post  
Posted to microsoft.public.excel.misc
harshaputhraya
 
Posts: n/a
Default Using COUNTIF on specific cells


Thanks a lot Bob, the solution provided by you worked for me!!


--
harshaputhraya
------------------------------------------------------------------------
harshaputhraya's Profile: http://www.excelforum.com/member.php...o&userid=33225
View this thread: http://www.excelforum.com/showthread...hreadid=539171

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
CALCULATING A FORMULA TO USE A SPECIFIC CELL'S VALUES PaulH-Oz Excel Worksheet Functions 0 March 27th 06 12:50 AM
Automate selection of specific reference cells njg Excel Discussion (Misc queries) 0 February 26th 06 05:48 AM
find cells that contain specific characters mshornet Excel Worksheet Functions 8 November 23rd 05 03:02 PM
countif >0, specific cells Renee - California Excel Worksheet Functions 9 September 8th 05 12:31 AM
keep specific cells from being changed. bronsonbits Excel Discussion (Misc queries) 1 September 7th 05 07:44 PM


All times are GMT +1. The time now is 08:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"