VBa count colum with names and display number on different sheet

Isaac21

New Member
Joined
Jan 10, 2021
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
Hello, I need some help creating a code that will count the number of times the words Junior, Senior, Master, Grand Master and Great grand master appears in row column "J" on a worksheet called "Combined" and then display that number on a different worksheet called "summary" in the cell next to the corresponding word the cells have named ranges for example c,15 is called Juniors... and so on for the rest

Images attached below to add some context, can provide more images if needed

If anyone can help with this i would appreciate as i don't know much about VBA,

Thanks
Isaac

1611225122473.png
1611225373923.png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Any particular reason you need a macro, as this can be done with a simple formula.
In C15 dragged down
Excel Formula:
=COUNTIFS(Combined!J:J,B15)
 
Upvote 0
Any particular reason you need a macro, as this can be done with a simple formula.
In C15 dragged down
Excel Formula:
=COUNTIFS(Combined!J:J,B15)
needs to be vba for assessment, thanks for reply
 
Upvote 0
If it's for an assessment, you should say so in your post.
What have you tried?
 
Upvote 0

Forum statistics

Threads
1,215,410
Messages
6,124,755
Members
449,187
Latest member
hermansoa

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