RSVP List -- Counting y,n,m and blank

meppwc

Well-known Member
Joined
May 16, 2003
Messages
623
Office Version
  1. 365
Platform
  1. Windows
I am using a spreadsheet to keep track of invitations to a party. One column is reserved for RSVP's. Those columns contain a y, n, m or is blank (people who have not contacted us to state if they are attending or not.

I want to be able to tally the amount of y, n, m and blanks.

Anyone have any idea how to do this
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Use these formulas:

=COUNTIF(A1:A10,"y")
=COUNTIF(A1:A10,"n")
=COUNTIF(A1:A10,"m")
=COUNTBLANK(A1:A10)

where A1:A10 contains the list of replies.
 
Upvote 0
people coming {=SUM((A1:A10)*(B1:B10="Y"))}
(Array CNTRL+SHIFT+ENTER)

not coming {=SUM((A1:A10)*(B1:B10="N"))}
(Array CNTRL+SHIFT+ENTER)
 
Upvote 0
That is what I was looking for, thanks a million
 
Upvote 0
I just noticed something. The "n" is being added as opposed to subtracted from the total. In you example provided above, Cell A8 "After RSVP" should total out to be 6. Currently it is 9 (because the 3 "n" is being added opposed to subtracted)
 
Upvote 0
meppwc said:
I just noticed something. The "n" is being added as opposed to subtracted from the total. In you example provided above, Cell A8 "After RSVP" should total out to be 6. Currently it is 9 (because the 3 "n" is being added opposed to subtracted)

No problem. A simpler SumIf formula will suffice...

=SUMIF($C$2:$C$6,"y",$B$2:$B$6)
 
Upvote 0
Why not a PIVOT TABLE??
Book1
ABCDEF
1NameCountRSVPSumofCount
2Mike2yRSVPTotal
3Terry3nm1
4Beth1mn3
5Mom2y6
6Keith4yNoResponse2
7GrandTotal12
8
Sheet1
 
Upvote 0
i should have been able to see that.....thanks again
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,334
Members
451,697
Latest member
pedroDH

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