I have spreadsheet with a column having values: yes,no,NA. at the end of sheet I want to calculate how many cells have 'yes', and same with 'no' and 'na. Could you please tell me the code to do this. I donot want to use filter.
I have spreadsheet with a column having values: yes,no,NA. at the end of sheet I want to calculate how many cells have 'yes', and same with 'no' and 'na. Could you please tell me the code to do this. I donot want to use filter.
Heres one way to count the yes's
=COUNTIF(A1:A7,"yes")
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assisted or failed to assist you I welcome your Feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks