venugopal.p
New Member
- Joined
- Jun 11, 2010
- Messages
- 3
my excel sheet looks like this
row no ColumnA ColumnB ColumnC
1 Term log 101
2 Lots 20 102
3 mode Normal 103
4 Test cats 101
5 bus 10 102
6 goo max 104
If the column C value is 101 then I need to perform Column A+B in Column D.
If the column C value is 102 then I need to perform column B>20 then make column D value as Incorrect
If the column C value is 103 then Check column B=Normal then Column D is correct
Like this there are so many values and conditions
How to achieve this in VB macro?
Please help me
row no ColumnA ColumnB ColumnC
1 Term log 101
2 Lots 20 102
3 mode Normal 103
4 Test cats 101
5 bus 10 102
6 goo max 104
If the column C value is 101 then I need to perform Column A+B in Column D.
If the column C value is 102 then I need to perform column B>20 then make column D value as Incorrect
If the column C value is 103 then Check column B=Normal then Column D is correct
Like this there are so many values and conditions
How to achieve this in VB macro?
Please help me