Counting text in multiple columns together

khandelwal

New Member
Joined
Dec 19, 2018
Messages
4
Hi,

I want to count a specific text in a column and also want to do this for multiple columns (6 columns in a single table). Need help. I am only able to do it one column at a time.

Sample Table:

Month Text Week Ending Column 1Column 2Column 3Column 4Column 5Column 6
Dec'1819-DecABC, DEF, GHIJK, LMNOPQ, RST, UVWABC, DEF, GHIJK, LMNOPQ, RST, UVWABC, DEF, GHIJK, LMNOPQ, RST, UVW
Nov'1802-NovABC, DEF, GHIJK, LMNOPQ, RST, UVWABC, DEF, GHIJK, LMNOPQ, RST, UVWABC, DEF, GHIJK, LMNOPQ, RST, UVW
Oct'1806-OctABC, GHIJK, LMNOPQ, RST, UVWABC, GHIJK, LMNOPQ, RST, UVWABC, GHIJK, LMNOPQ, RST, UVW
Dec'1819-DecABC, DEF, GHIJK, LMNOPQ, RSTABC, DEF, GHIJK, LMNOPQ, RSTABC, DEF, GHIJK, LMNOPQ, RST
Nov'1802-NovABC, DEF, GHIJKUVWABC, DEF, GHIJKUVWABC, DEF, GHIJKUVW
Oct'1806-OctABC, DEF, LMNOPQABC, DEF, LMNOPQABC, DEF, LMNOPQ
Dec'1819-DecGHIJKOPQ, UVWGHIJKOPQ, UVWGHIJKOPQ, UVW
Nov'1802-NovDEF, GHIJK, LMNRST, UVWDEF, GHIJK, LMNRST, UVWDEF, GHIJK, LMNRST, UVW
Oct'1806-OctLMNUVWLMNUVWLMNUVW

<tbody>
</tbody>

I was not able to format it here.

Now I want to count e.g. "*OPQ*" in the table from column 1, parallelly I want to count "*UVW*" from column 4 grouped by either month or Week ending.

I hope I have explained my requirement.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
your table is not normalized and wouldn't be designed this way,
but you can make 6 queries, 1 for each column.
combine them in UNION query,
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top