Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nick
 
Posts: n/a
Default Countif with cell reference

Hi

Hope someone can help. Is there a way to count the amount of instances less
than a certain value, but to enter this value as a reference to a cell. For
example the following:

=COUNTA(C5:C1000)/COUNTIF(B5:B1000,"h3")

Does not work but if i type in the value of h3 it does. Is there no way to
leave it as h3 so I dont have to manually enter it many (many!) times over?

Thanks....

nick
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

instead of "h3" which will look for the text string "h3" use ""&h3, thus


=COUNTA(C5:C1000)/COUNTIF(B5:B1000,""&H3)

should work\\


regards,

Peo Sjoblom


"Nick" wrote:

Hi

Hope someone can help. Is there a way to count the amount of instances less
than a certain value, but to enter this value as a reference to a cell. For
example the following:

=COUNTA(C5:C1000)/COUNTIF(B5:B1000,"h3")

Does not work but if i type in the value of h3 it does. Is there no way to
leave it as h3 so I dont have to manually enter it many (many!) times over?

Thanks....

nick

  #3   Report Post  
Nick
 
Posts: n/a
Default

thanks so much, works a treat :)

"Peo Sjoblom" wrote:

instead of "h3" which will look for the text string "h3" use ""&h3, thus


=COUNTA(C5:C1000)/COUNTIF(B5:B1000,""&H3)

should work\\


regards,

Peo Sjoblom


"Nick" wrote:

Hi

Hope someone can help. Is there a way to count the amount of instances less
than a certain value, but to enter this value as a reference to a cell. For
example the following:

=COUNTA(C5:C1000)/COUNTIF(B5:B1000,"h3")

Does not work but if i type in the value of h3 it does. Is there no way to
leave it as h3 so I dont have to manually enter it many (many!) times over?

Thanks....

nick

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
Excel should have a absolute reference cell property. Unitrip Excel Discussion (Misc queries) 5 March 27th 05 04:55 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM
Formula with text and reference to a date cell [email protected] Excel Discussion (Misc queries) 1 January 11th 05 08:15 AM
international absulute cell reference Sadinga Excel Discussion (Misc queries) 5 December 22nd 04 10:08 PM
Name Box cell reference HoJo Excel Worksheet Functions 3 December 15th 04 04:48 AM


All times are GMT +1. The time now is 06:43 PM.

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"