1 Attachment(s)
pushbutton and countif/deletes
Hello
I may be asking for a bit much. I've been working with some man made macros and was wondering if there's something i can do in VBA that can make life a little easier.
Attached is my spreadsheet Attachment 28487
Tab 1 has the info we are provided by another team - currently we paste it in, strip the formatting, split the outlets in row b into singular rows so it's easier to count.
Tab 2 has a breakdown of all the media outlets that we get queries from - i have a basic countif formula counting each one separately. I did try to nest it, but ran into issues when it was counting the various ways some words are used to mean the same thing ie the word "Clyde" as it would be written multiple ways. The wildcard search caused issues elsewhere, as there are outlets like evening express, and daily express, and in the nest it would count both of those as both so it would mess with the count.
Tab 3 is the tally of all the media
I crudely recorded a couple of Macros. One to strip formatting, one to split column B using text to column thing and I've been looking at a delete macro for each media outlet.
I want to create a button that will run multiple macros one after the other, maybe with a short break. So run clear formatting, pause for a second, run split data, pause for a second. I've only managed to get a button to run one macro.
I was also wondering if i could use code that replicates the count done on tab 2 = so that it just appears in the table on the Tally based on the way the outlets are set out on Breakdown.
Finally i was wondering if there was code finds all the words that sit on the breakdown tab and removes it from row B - F which would be ran separately at end - this will allow us to identify and add new outlets as we go until we get to the stage where everything is captured within the keywords on the Breakdown tab.
and a bonus - i was wondering if there was a way to count how many rows after each heading in CAPS - the numbers of rows vary between each subject so a simple count doesn't seem to work.
I don't know enough to write a formula that finds the word COMMUNITIES, counts how many rows have text and stops counting when it reaches EXTERNAL AFFAIRS the repeat the same for each topic. The number of media logged against each query will change on a daily basis so my regular count's don't work and have been doing it manually.
Thank you so much for your time