VBA if else and columns headers -
hello i'm newbie vba , macros. i've found many interesting hints if else couldn't use them purpose. have sheet many columns , alphanumeric data, need fill empty column under few conditions. try give example following table:
tuesday friday colors 10 20 10 b 30 b 20 b 20
i need fill column colors using data columns tuesday , friday, conditions simple, eg:
if tuesday=a , friday=10 colors=yellow. if tuesday=a , friday=20 colors=red
my problem need every week , columns location can change, example can add column called monday. conditions not change , based on columns tuesday , friday, column should filled named colors. final result should be
tuesday friday colors 10 yellow 20 red 10 yellow b 30 green b 20 black b 20 black
can please give me advice? i'm not skilled vba related comment useful me.
ps: example oversimplified it's need do.
Comments
Post a Comment