Share via

Sum a column that is all text

Anonymous
2022-09-23T18:33:11+00:00

Hello,

I am using Microsoft Excel office

I have created a spreadsheet for our banquet. I have a column which is labeled C3 to C44 and then C46 to C88.

I want to insert a formula in cell c90 that gives me the sum of all those who ordered Ham, and cell 91 for all those that ordered Turkey.

I have gone on line to try and find the formula that will do this. I have tried close to a dozen formulas and none of them give me the results I am looking for.

If anyone could send me a formula that works I would be greatly appreciative.

Thanks

Bill

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. HansV 462.6K Reputation points MVP Volunteer Moderator
    2022-09-23T18:49:49+00:00

    In C90:

    =COUNTIF(C3:C44,"Ham")+COUNTIF(C46:C88,"Ham")

    In C91:

    =COUNTIF(C3:C44,"Turkey")+COUNTIF(C46:C88,"Turkey")

    P.S. If C45 will never contain "Ham" or "Turkey", you can use

    =COUNTIF(C3:C88,"Ham")

    =COUNTIF(C3:C88,"Turkey")

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-09-23T19:26:57+00:00

    That worked perfectly. I plugged in the formulas and even added some and it works great.

    Thank you very much.

    Bill

    0 comments No comments