Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2019, 04:42 PM
abraxis abraxis is offline Count Chicken or Meat Choices Windows 7 64bit Count Chicken or Meat Choices Office 2013
Advanced Beginner
Count Chicken or Meat Choices
 
Join Date: Oct 2012
Location: South Florida
Posts: 37
abraxis is on a distinguished road
Unhappy Count Chicken or Meat Choices

I have the names of 250 people on my list for a club function. Next to each one is a single character, C or M (for Chicken or Meat, obviously). Now it is crunch time, and I have to count how many Cs and how many Ms and indicate this at the bottom of the spreadsheet. Obviously a simple problem for the trained Excel users. How can I accomplish the feat, as a novice. Any suggestions greatly appreciated, as long as they do not contain slurs on my inability to perform what must be a trivial chore for the experienced user. Thank you in advance.
Reply With Quote
  #2  
Old 11-02-2019, 08:12 PM
jeffreybrown jeffreybrown is offline Count Chicken or Meat Choices Windows 10 Count Chicken or Meat Choices Office 2016
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Take a look at this attachment and see if it helps. Two options: A Pivot Table or the Countif formula.
Attached Files
File Type: xlsx Book1.xlsx (20.2 KB, 10 views)
Reply With Quote
  #3  
Old 11-03-2019, 02:34 PM
abraxis abraxis is offline Count Chicken or Meat Choices Windows 7 64bit Count Chicken or Meat Choices Office 2013
Advanced Beginner
Count Chicken or Meat Choices
 
Join Date: Oct 2012
Location: South Florida
Posts: 37
abraxis is on a distinguished road
Default

Thank you very much for the solution. I do have a couple of questions though:


Do you mean use a solution using COUNTIF, or a solution using a Pivot Table, i.e. one or the other? I can certainly live with that after I study each solution so I learn from it rather than parroting it.


I know I mentioned that it was a final sheet, and no more changes would be made, but what happens if I add another user (a Johnny-come-lately)? If he has a C or an M next to his name, then his (or her) selection of foods is counted correctly, but the total number of guests stays the same, at 250. The total number of guests is not increased. How do I make the total count correct?


Thanks once again for the solution, and any additional information you might add.
Reply With Quote
  #4  
Old 11-04-2019, 07:32 AM
jeffreybrown jeffreybrown is offline Count Chicken or Meat Choices Windows 10 Count Chicken or Meat Choices Office 2016
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Hi abraxis,

Sorry for the delay. Had a full day yesterday.

Yes, you can use either one. They were just two different options.

As for the new user, the Countif will capture the new input as I used the whole column reference.

=COUNTIF(B:B,K2)

For the pivot table, you would need to take two actions.

1) Change the source data to include entire ranges

Analyze >> Data >> Change Data Source >> Sheet1!$A:$B

2) Once new data is loaded, you will need to right click the PT and select refresh

P.S. You could also look into a dynamic named range

How to Create a Pivot Table with Expanding Data Ranges -
Reply With Quote
  #5  
Old 11-04-2019, 02:17 PM
abraxis abraxis is offline Count Chicken or Meat Choices Windows 7 64bit Count Chicken or Meat Choices Office 2013
Advanced Beginner
Count Chicken or Meat Choices
 
Join Date: Oct 2012
Location: South Florida
Posts: 37
abraxis is on a distinguished road
Default

Thank you very much. The answer was right on the money and very helpful. And seeing the correct answer and approache made the whole topic of counting functions very understandable.
Abradaxis
Reply With Quote
Reply

Tags
counting, sums



Similar Threads
Thread Thread Starter Forum Replies Last Post
Count Chicken or Meat Choices Office 2010 Pro No Longer Activated - what choices are there? MB300E! Office 21 09-13-2019 08:24 PM
Count Chicken or Meat Choices combining cells with multiple choices H28Sailor Excel 1 01-13-2017 11:02 PM
Count Chicken or Meat Choices Creating Shorcuts to insert choices of different text Chris W Word 4 01-29-2016 06:43 AM
Pivot Table choices disappear caz46 Excel 0 03-31-2015 01:41 AM
Drop down lisr with multiple choices Richard121 Excel 1 02-17-2015 08:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft