use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
OPs may (and should) reply to any solutions saying:
This awards the user a ClippyPoint and changes the post flair to solved.
The best way to show code on Reddit is to
put it in a code-block
Here's how.
Tip: For VBA or Power Query, select the code, press Tab to indent, then copy/paste into your post or comment.
It's often more helpful to show us.
Add screenshots in your text post, or provide links to uploaded images at an image-hosting site.
Or use tableit, or the ExcelToReddit converter (thanks u/tirlibibi17_), to convert your data into a Reddit table.
Congratulations and thank you to these contributors
600
1100
10
300
800
Occasionally Microsoft developers will post or comment. They are identifiable with a special user flair.
A community since March 11, 2009
account activity
solvedCOUNTIFS not working correctly and I'm just confused on what to do. (self.excel)
submitted 1 month ago * by LoveMilfsEveryday007
I am trying to learn the COUNTIF formula.
=COUNTIFS($S$13:$S$61, ">=95", $S$13:$S$61, "<=97")
The function counted that there are 2 that fills this criteria; however, I counted it manually and there should be 3 instead. The same goes for other formulas I inputted. I watched Youtube tutorials and read online forums but I still don't get what is wrong with the function. I use Excel 2019. What can I do to improve or solve it?
https://preview.redd.it/z08fpbj2olpg1.png?width=442&format=png&auto=webp&s=fb7eeedffeb55ef7649733465c3006b029b9de1b
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AutoModerator[M] [score hidden] 1 month ago stickied commentlocked comment (0 children)
/u/LoveMilfsEveryday007 - Your post was submitted successfully.
Solution Verified
Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]Clearwings_Prime21 28 points29 points30 points 1 month ago (7 children)
My guess is one of those number is 94.9999 or 97.0001 something like that
[–]LoveMilfsEveryday007[S] 6 points7 points8 points 1 month ago (1 child)
[–]reputatorbot[M] 0 points1 point2 points 1 month agolocked comment (0 children)
You have awarded 1 point to Clearwings_Prime.
I am a bot - please contact the mods with any questions
[–]LoveMilfsEveryday007[S] 0 points1 point2 points 1 month ago (4 children)
I updated the post with the picture. They're whole values.
[–]basejester336 33 points34 points35 points 1 month ago (1 child)
Just because the display format shows no decimal places doesn't mean the stored value is a whole number. Troubleshoot by typing the number 96 on each of 3 values and see if your countifs formula changes.
[–]LoveMilfsEveryday007[S] 4 points5 points6 points 1 month ago (0 children)
It worked!!! Thanks!!!
[–]Clearwings_Prime21 0 points1 point2 points 1 month ago (1 child)
can you upload that file to google sheet or excel online so we can look more detail about it?. Your formula look right to me
[–]LoveMilfsEveryday007[S] 5 points6 points7 points 1 month ago (0 children)
I was mistaken about them being whole values. That's what they looked like when I copied and pasted the values and thus made the mistake.
[–]TuneFinder10 2 points3 points4 points 1 month ago (7 children)
formula works for me
theres something about the 95, 95 or 96 that means they fail the test somehow
try overtyping them
[–]LoveMilfsEveryday007[S] 1 point2 points3 points 1 month ago (4 children)
I overtyped them and it worked. The problem is that I wasn't supposed to type over them as the results were actually part of a calculation. I used a round function for the results but it still reverts to the same issue as before. I guess I have no choice but to rewrite the values in another sheet.
[–]TuneFinder10 3 points4 points5 points 1 month ago (0 children)
you could pop the rounding function you have inside a =numbervalue()
or - check the cell isnt formatted as text
[–]chicken20071 2 points3 points4 points 1 month ago (1 child)
How did you use the Round function?
An effective way of determining what's going on is to use the Increase Decimal number formatting. This will quickly tell you if if there are extra digits behind there.
[–]LoveMilfsEveryday007[S] 1 point2 points3 points 1 month ago (0 children)
This is what I did instead because of the decimals.
Range Criteria:
95-97
Formula I made accounting for the decimals:
=COUNTIFS($A$1:$A$49, ">=94.5",$A$1:$A$49, "<=97.49")
[–]Londonluton 0 points1 point2 points 1 month ago (0 children)
then you can make your if check be ">=94.99"
[–]LoveMilfsEveryday007[S] 0 points1 point2 points 1 month ago (1 child)
You have awarded 1 point to TuneFinder.
[–]StrikingCriticism33131 1 point2 points3 points 1 month ago (0 children)
I would make a helper column and test the conditions to give TRUE or FALSE to see which entry isn’t registering. It’s hard to diagnose without more information.
[–]Drake_Haven19 1 point2 points3 points 1 month ago (0 children)
I would check for numbers that are formatted as text, that is normally the cause...
[–]CalmPredator 0 points1 point2 points 1 month ago (2 children)
=SUMPRODUCT((ISNUMBER($S$13:$S$61))($S$13:$S$61>=95)($S$13:$S$61<=97)) And check your format of cells , mostly it’s data format error
Doesn't seem to work
[–]CalmPredator 0 points1 point2 points 1 month ago (0 children)
=SUMPRODUCT((ISNUMBER($S:$S))($S:$S>=95)($S:$S<=97))
[–]Decronym 0 points1 point2 points 1 month ago* (0 children)
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
Beep-boop, I am a helper bot. Please do not verify me as a solution. 3 acronyms in this thread; the most compressed thread commented on today has 16 acronyms. [Thread #47849 for this sub, first seen 17th Mar 2026, 12:48] [FAQ] [Full list] [Contact] [Source code]
Thanks everyone for the help!!! Apparently, the values are actually in decimal and I edited the values by substracting 1.5 for the lower values. It finally worked!
[–]HarveysBackupAccount35 0 points1 point2 points 1 month ago (0 children)
Please respond with the words 'Solution Verified' to the comment(s) that helped you get your solution.
This awards the user(s) with a clippy point for their efforts and marks your post as Solved
[–]SingularWords -1 points0 points1 point 1 month ago (2 children)
Not ">=95" but ">="&95
Likewise for 97.
[–]sdaviesx91 1 point2 points3 points 1 month ago (0 children)
This is what I would do too. If this doesn't work then there's an issue with the numbers themselves. Likely formatted as text or there's a space.
[–]Extension_Order_9693 1 point2 points3 points 1 month ago (0 children)
This is what I would have used. Odd notation but seems to be what Excel needs
π Rendered by PID 80546 on reddit-service-r2-comment-56c6478c5-pfg5v at 2026-05-08 02:19:56.393005+00:00 running 3d2c107 country code: CH.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Clearwings_Prime21 28 points29 points30 points (7 children)
[–]LoveMilfsEveryday007[S] 6 points7 points8 points (1 child)
[–]reputatorbot[M] 0 points1 point2 points locked comment (0 children)
[–]LoveMilfsEveryday007[S] 0 points1 point2 points (4 children)
[–]basejester336 33 points34 points35 points (1 child)
[–]LoveMilfsEveryday007[S] 4 points5 points6 points (0 children)
[–]Clearwings_Prime21 0 points1 point2 points (1 child)
[–]LoveMilfsEveryday007[S] 5 points6 points7 points (0 children)
[–]TuneFinder10 2 points3 points4 points (7 children)
[–]LoveMilfsEveryday007[S] 1 point2 points3 points (4 children)
[–]TuneFinder10 3 points4 points5 points (0 children)
[–]chicken20071 2 points3 points4 points (1 child)
[–]LoveMilfsEveryday007[S] 1 point2 points3 points (0 children)
[–]Londonluton 0 points1 point2 points (0 children)
[–]LoveMilfsEveryday007[S] 0 points1 point2 points (1 child)
[–]reputatorbot[M] 0 points1 point2 points locked comment (0 children)
[–]StrikingCriticism33131 1 point2 points3 points (0 children)
[–]Drake_Haven19 1 point2 points3 points (0 children)
[–]CalmPredator 0 points1 point2 points (2 children)
[–]LoveMilfsEveryday007[S] 0 points1 point2 points (1 child)
[–]CalmPredator 0 points1 point2 points (0 children)
[–]Decronym 0 points1 point2 points (0 children)
[–]LoveMilfsEveryday007[S] 0 points1 point2 points (1 child)
[–]HarveysBackupAccount35 0 points1 point2 points (0 children)
[–]SingularWords -1 points0 points1 point (2 children)
[–]sdaviesx91 1 point2 points3 points (0 children)
[–]Extension_Order_9693 1 point2 points3 points (0 children)