chintanbtech
New Member
- Joined
- Jan 16, 2012
- Messages
- 6
Hi,
Please find below the Sample spreadsheet.
<tbody>
</tbody>
Is it possible to create a macro which fulfill below conditions?
If in Column D (AVCDREF) the value is Animal then in Column C (AVALCD) formula should appear as =IF(D2="Animal",A2&" for "&B2,"").
If in Column D (AVCDREF) the value is Fruit then in Column C (AVALCD) Formula should not be appeared and user should allow to enter any value in the corresponding cell of Column C. In case in Column D (AVCDREF) the value is updated to Animal then again formula should appear.
Thank you for your help!
Regards,
CP
Please find below the Sample spreadsheet.
ACD | AVAL | AVALCD | AVCDREF |
A | Apple | Fruit | |
B | Banana | Fruit | |
C | Cat | C for Cat | Animal |
D | Dog | D for Dog | Animal |
E | Elephant | E for Elephant | Animal |
F | Fox | F for Fox | Animal |
G | Grape | Fruit | |
....... | ....... | ....... | ....... |
<tbody>
</tbody>
Is it possible to create a macro which fulfill below conditions?
If in Column D (AVCDREF) the value is Animal then in Column C (AVALCD) formula should appear as =IF(D2="Animal",A2&" for "&B2,"").
If in Column D (AVCDREF) the value is Fruit then in Column C (AVALCD) Formula should not be appeared and user should allow to enter any value in the corresponding cell of Column C. In case in Column D (AVCDREF) the value is updated to Animal then again formula should appear.
Thank you for your help!
Regards,
CP