## Thursday, September 20, 2012

### yogi_Compute Number Of Invited Guests Who Have Accepted Invite By Inviting Party

Yogi Anand, D.Eng, P.E.      Google Spreadsheet   Post  #768  Sep 20, 2012    www.energyefficientbuild.com

Wedding Spreadsheet - Calculate total attending guests per family
So here's a question I'm having.  I have a spreadsheet keeping track of every guest we're inviting.  For every name, there are five relevant columns here.
Column A - Bride's Mom/Stepfather's Guests
Column B - Bride's Dad/Stepmother's Guests
Column C - My mom's guests
Column D - Our friends/Wedding party
Column E - # of people who accept the invitation in that family

I want to keep track of each family's guests, so how many they're inviting and how many accept in each group.  I'm trying to write a formula that will sum up the values in Column E, but only if they have a corresponding number in Column A-D (so for her Mom's guests, sum up the number of guests who accept in column E but only if they have a value in column A).

Some of the solutions I've found will do it per line (check if a value exists then sum), but I'm looking to condense it all into one total number.  SUMIF seems to be the right way to go, but I'm not familiar with the syntax of it and I'm having trouble getting it right.

Please let me know if I can expand in any way.  Thank you!
----