Edward_Low
Technical User
Hi Forum,
I hope this isn't too much to ask. I am trying to find a formula or VBA for the following:
There are four columns 1000s+ deep - A, B, C and D.
C may or may not contain a value. D contains 0 or 1. The formula needs to enter data into A and B, depending on what is in C and D.
There are four possible scenarios and their responses are:
1: Nothing is entered in C and there is a '1' found in column D. - RESPONSE: Enter 'orange' in column A.
2: Nothing is entered in C and there are only zeros in column D. - RESPONSE: Enter 'plum' in column A.
3: Something is entered in C and there is a '1' found in column D. - RESPONSE: Enter 'apple' in column A.
4: Something is entered in C and there are only zeros in column D. - RESPONSE: Enter 'raisin' in column A, and 'cherry' in column B.
There are no blank rows between any section. Any one of the four possible scenarios may exist in any section.
Thanks in advance for any help.
I hope this isn't too much to ask. I am trying to find a formula or VBA for the following:
There are four columns 1000s+ deep - A, B, C and D.
C may or may not contain a value. D contains 0 or 1. The formula needs to enter data into A and B, depending on what is in C and D.
There are four possible scenarios and their responses are:
1: Nothing is entered in C and there is a '1' found in column D. - RESPONSE: Enter 'orange' in column A.
2: Nothing is entered in C and there are only zeros in column D. - RESPONSE: Enter 'plum' in column A.
3: Something is entered in C and there is a '1' found in column D. - RESPONSE: Enter 'apple' in column A.
4: Something is entered in C and there are only zeros in column D. - RESPONSE: Enter 'raisin' in column A, and 'cherry' in column B.
There are no blank rows between any section. Any one of the four possible scenarios may exist in any section.
Thanks in advance for any help.