Hello all ,
I am wanting to get a function or macro that can count the four different colours
in this sheet .
But only count when the heading has the letter P in it from col F onwards . .
Thanks .
Hello all ,
I am wanting to get a function or macro that can count the four different colours
in this sheet .
But only count when the heading has the letter P in it from col F onwards . .
Thanks .
How is that color being applied?
If it was through Conditional Formatting, we may be able to use the same rule
If it was manually colored, formulas cannot see color, so you will need VBA
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Thanks for that , i have put the macro in this book2 .
Its used for my very large 450,000 row main sheet .
thanks .
Here is a VBA solution
Please Login or Register to view this content.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thanks Alan , initially i thought there was a problem where i had the four colours listed in my order of cols.
But the macro works perfectly with green and lite blue swapped around in your macro . I will work on getting brown , green , lite blue , dark blue in order a little later .
Over all really happy , thanks so much .
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks