I'm brand new to excel VBA - found some code that works to change the value of one cell based on a single if statement. I'm trying to write something that will have two if statements, and apply to a range.
Column C contains one of two values - "Base" or "Option"...let's assume there's 10 rows so C1:C10
Cell A2 will have a pick list for "On" or "Off" - this will be the change event that applies to any of the Options in Column C.
In D1:D10, I want "Off" to be returned if A2="Off" and the value next to it in column C is "Option".
If A1 = "On", all the options should return "On" in column D2
I hope that's clear enough...I have a feeling this will be very simple for someone out there. A file is attached for some visual assistance. Thanks!!!
Bookmarks