Won't accept my function

jpbeenen

New Member
Joined
Feb 26, 2016
Messages
11
Hi,

In 2013 I'm trying to use this formula =COUNTIFS($K:$K,">=M1","<M2")
But it does not accept my function; keeps saying there's a problem and asking if I'm trying to use a function or just write text.

I think there's nothing wrong with the formula syntax and the cell is formatted as a number.

Please why is it not working?

With kind regards,

Jaspert
 
Hi,

Tnx for sticking with me :)

innovationservices.ehv.campus.philips.com/sites/default/files/u98/function.png Can you paste this into a browser?

Meanwhile I will investigate the link in your signature

=N1>1 - False
=N2>1 - False
=K2>1 - False to the end :)

There are no values larger than 1. These are % but then in numbers behind the comma. as in 0,57 meaning 57%
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
I don't see why that wouldn't work.
According to the picture, you're expecting a result of 3 right?

Are the values real numbers?
=ISNUMBER(N1)
=ISNUMBER(N2)
=ISNUMBER(K2) - filled to the end.

?
 
Upvote 0
I see it..

Remove the spaces in the quotation marks.
Those were added because of forum compatibility, it tends to treat < and > symbols as html code.

=COUNTIFS($K:$K;">="&N1;$K:$K;"<"&N2)
 
Last edited:
Upvote 0
This works!

I actually added the spaces some posts ago because I was asked to add spaces around the >

Really appreciate it!
 
Upvote 0
You're welcome.

Yeah, the thing about the spaces..
Forum software tends to treat < and > symbols as HTML code, and formulas get cut off.
So we suggest adding spaces around those characters when you post formulas in the forum.

I guess it should be added that those spaces should be removed when you're actually entering the formula in your excel sheet.
 
Upvote 0
Hi,

One more Q :)

What would the formula be for the counting the nr of times a cell is equal to &N3?

Tnx!
 
Upvote 0
I I see you've answered faster than I could post I thought of it myself hehe.

Tnx! for your very fast response
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,560
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top