Counting (some) words in Excel

Iain McBride

New Member
Joined
Aug 17, 2018
Messages
38
Hi, I am trying to create a formula to count worded cells, but to exclude certain words.
the basic chart is:

Column Q
12/10/17
1) yes
2) always
3) DNA
4) Yes all the time
5) Occasionally
6) Only on a Wednesday
7) Absent
8) All the time
9) Each 3rd Month
10) Never

So I want to find I way to find out what responses I have received and to NOT count the "Absent" and "DNA" (Answer should be 8), but struggling between =COUNTIFS, =SUMPRODUCT and also from not knowing what I am doing!!

Any help gratefully received.

Thanks
Iain
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I solve almost everything in VBA and this one is easily solved with that tool. If you're ready to go down that route then please elaborate what 12/10/17 means.
Is it a date? Is it relevant?
 
Last edited by a moderator:
Upvote 0
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
Q
[/TD]
[TD]
R
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD]yes[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]always[/TD]
[TD]
8​
[/TD]
[/TR]
[TR]
[TD]
3
[/TD]
[TD]DNA[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
4
[/TD]
[TD]Yes all the time[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
5
[/TD]
[TD]Occasionally[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
6
[/TD]
[TD]Only on a Wednesday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
7
[/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
8
[/TD]
[TD]All the time yes[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
9
[/TD]
[TD]Each 3rd Month[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
10
[/TD]
[TD]Never[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



R2=
COUNTIFS(Q1:Q10,"<>"&Q3,Q1:Q10,"<>"&Q7)

 
Upvote 0
Gone with:
=COUNTIFS(Range,"<>*Absent*",Range,"<>*DNA*",Range,?*") and so far works, now to look at trying to correlate lots of these answers into another spreadsheet!
 
Upvote 0
trying to correlate lots of these answers into another spreadsheet

Then formula should be in the target sheet cell and range should address the source sheet cells
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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