ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting two or more values from same column (https://www.excelbanter.com/excel-discussion-misc-queries/219808-counting-two-more-values-same-column.html)

UT

Counting two or more values from same column
 
I have column where a course is listed by two names and I need to count the
course with both names. I have tried countif and sumproduct function but
nothing works.

A
1. TECH 660
2. TECH 660/550
3. TECH 660

The count should be 3. What function should I be using?

Thanks

Pete_UK

Counting two or more values from same column
 
Well, you could try this:

=COUNTIF(A:A,"TECH 660*")

The asterisk is a wildcard character, meaning any characters.

Hope this helps.

Pete

On Feb 9, 2:18*pm, UT wrote:
I have column where a course is listed by two names and I need to count the
course with both names. I have tried countif and sumproduct function but
nothing works.

* *A
1. TECH 660
2. TECH 660/550
3. TECH 660

The count should be 3. What function should I be using?

Thanks




All times are GMT +1. The time now is 12:29 AM.

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