Thank you John, that did the trick.
=COUNTIF(J10:J1731,"~*")
I was using the wizard and it was building the single quotes in it automatically. I was note editing the formula while I was using the wizard, so that is the reason why.
Thank you, thank you!!!
Peter Vidal| SR Technical Specialist | P: 800-808-1902 x 137210
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Yeung
Sent: Monday, November 18, 2013 1:17 PM
To: Midrange Systems Technical Discussion
Subject: Re: Excel / COUNTA function is not working properly
The COUNTA and COUNTIF functions are working as designed.
A cell with a blank space in it is not empty (it's a string of length 1), so is included in the COUNTA result.
COUNTIF will work, but asterisk is a special character. It's a wildcard. You need to escape it to get a literal asterisk. The escape character in Excel is the tilde (~). So you need to do
=COUNTIF(J10:J1731,"~*")
I don't know why you were also including single-quotes inside the double-quotes. Doing so should result in 0, not 1722. And there's no way you should be getting 1772 with that range in any case.
John
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
This communication is intended only for the use of the individual or entity named as the addressee. It may contain information which is privileged and/or confidential under applicable law. If you are not the intended recipient or such recipient's employee or agent, you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited. If you have received this communication in error, please immediately notify CareCentrix Compliance Hot Line at (877) 848-8229 and notify the sender by electronic mail. Please expunge this communication without making any copies. Thank you for your cooperation.
As an Amazon Associate we earn from qualifying purchases.