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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 04:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com