ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Countif(table;(">"&A1)&("<"&B1)) (https://www.excelbanter.com/excel-discussion-misc-queries/32787-countif-table%3B-%22%3E%22-a1-%22%3C%22-b1.html)

Micos3

Countif(table;(">"&A1)&("<"&B1))
 
This content works individualy, how can i make it work? is it any way to
count the values between A1 and <B1?

tks

bj

The simplest is
=countif(range,"<"&b1)-countif(range""&A1)

"Micos3" wrote:

This content works individualy, how can i make it work? is it any way to
count the values between A1 and <B1?

tks


Domenic

Try...

=COUNTIF(Range,""&A1)-COUNTIF(Range,"="&B1)

If your version of Excel uses the semi-colon as a separator, replace
commas with semi-colons.

Hope this helps!

In article ,
Micos3 wrote:

This content works individualy, how can i make it work? is it any way to
count the values between A1 and <B1?

tks


Don Guillett

or
=sumproduct((a1:a22=a1)*(a1:a22<b1))

--
Don Guillett
SalesAid Software

"Micos3" wrote in message
...
This content works individualy, how can i make it work? is it any way to
count the values between A1 and <B1?

tks




Micos3

In my PC is only working this formula:
=sum((countif(table;"<"&B1))-(countif(table;"<"&A1))

but i don't know why in my friends PC isn't working, but i'll find out!!!

thanks guys :)

"Don Guillett" escreveu:

or
=sumproduct((a1:a22=a1)*(a1:a22<b1))

--
Don Guillett
SalesAid Software

"Micos3" wrote in message
...
This content works individualy, how can i make it work? is it any way to
count the values between A1 and <B1?

tks






All times are GMT +1. The time now is 11:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com