Hi all,
As I'm pretty new to VBA it's still tough to amend codes that I've found. Would like to use Macros to perform the following task:
I've the followng table, just imagine with many many more columns and the outcome I want is in the following
OK NO OK OK Outcome Header 1 Header 2 Header 3 Header 4 Header 1 5,000 5,000 Header 3, Header 4 6,000 6,000
So essentially, if the first row = "OK" and if there are values in the columns below (aka non-blank), to concatenate the header names with commas separating them.
Using formulas is possible but a nightmare given how many columns there are. So I'm wondering if there is a more efficient way to perform this by using a VBA function. But I'm very weak with amending scripts I found so far so thought it might be easier to approach experts online. Would appreciate if you could explain the script as well if you have time. Would greatly appreciate any help. Thanks!
Bookmarks