ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Counting people (https://www.excelbanter.com/excel-programming/335361-counting-people.html)

[email protected]

Counting people
 
Hi,

I've got a spreadsheet which has one column with names, another the
number of people and the third confirmed attendance i.e.

Jack & Jill 2 N
Simon & Jane 2 Y
Peter 1 Y

My question is how can i get excel to look at the confirmation column
and for every confirmation to add the number of people to a confirmed
total?

Many thanks

Ben


Leo Heuser[_3_]

Counting people
 

skrev i en meddelelse
oups.com...
Hi,

I've got a spreadsheet which has one column with names, another the
number of people and the third confirmed attendance i.e.

Jack & Jill 2 N
Simon & Jane 2 Y
Peter 1 Y

My question is how can i get excel to look at the confirmation column
and for every confirmation to add the number of people to a confirmed
total?

Many thanks

Ben



Hi Ben

One way:

=SUMPRODUCT((C2:C200="Y")*B2:B200)

--
Best Regards
Leo Heuser

Followup to newsgroup only please.




Nigel

Counting people
 
Consider setting up a PivotTable for the report.

--
Cheers
Nigel



wrote in message
oups.com...
Hi,

I've got a spreadsheet which has one column with names, another the
number of people and the third confirmed attendance i.e.

Jack & Jill 2 N
Simon & Jane 2 Y
Peter 1 Y

My question is how can i get excel to look at the confirmation column
and for every confirmation to add the number of people to a confirmed
total?

Many thanks

Ben




[email protected]

Counting people
 
Thanks will look into these


Leo Heuser[_3_]

Counting people
 
skrev i en meddelelse
oups.com...
Thanks will look into these

You're welcome.

LeoH




All times are GMT +1. The time now is 11:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com