Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
stevepain
 
Posts: n/a
Default COUNTIF less than cell reference


Dear all,

Hopefully a simple countif function query.
I want to count the number of values that are less than a certain cell
reference. However, when I enter =COUNTIF(A1:A25,<G1) it returns an
error.

Basically I want to count all occurences in cells A1 to A25 where the
value is less than the value in G1.

Any ideas?


--
stevepain
------------------------------------------------------------------------
stevepain's Profile: http://www.excelforum.com/member.php...o&userid=21759
View this thread: http://www.excelforum.com/showthread...hreadid=386449

  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default


Here you go:

=COUNTIF(A1:A25,"<"&G1)

Does that help?

Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=386449

  #3   Report Post  
stevepain
 
Posts: n/a
Default


Thanks Ron - that works fine!


--
stevepain
------------------------------------------------------------------------
stevepain's Profile: http://www.excelforum.com/member.php...o&userid=21759
View this thread: http://www.excelforum.com/showthread...hreadid=386449

  #4   Report Post  
KL
 
Posts: n/a
Default

try this: =COUNTIF(A1:A25,"<"&G1)

Regards,
KL


"stevepain" wrote in
message ...

Dear all,

Hopefully a simple countif function query.
I want to count the number of values that are less than a certain cell
reference. However, when I enter =COUNTIF(A1:A25,<G1) it returns an
error.

Basically I want to count all occurences in cells A1 to A25 where the
value is less than the value in G1.

Any ideas?


--
stevepain
------------------------------------------------------------------------
stevepain's Profile:
http://www.excelforum.com/member.php...o&userid=21759
View this thread: http://www.excelforum.com/showthread...hreadid=386449



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
Flexible Cell Reference Brandt Excel Discussion (Misc queries) 5 June 2nd 05 10:23 PM
reference cell value from fixed column with variable row bob z Excel Discussion (Misc queries) 0 May 23rd 05 11:30 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM
Name Box cell reference HoJo Excel Worksheet Functions 3 December 15th 04 04:48 AM
Using the results from two seperate cells to create cell reference DarrenWood Excel Worksheet Functions 2 November 14th 04 10:35 PM


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