alokjain22
New Member
- Joined
- Sep 15, 2006
- Messages
- 1
I am good in excel. However i do not know how to solve the following two problems:-
1. Say i have a formula in Column C = "ColumnA+ColumnB (a1+b1, a2+b2, ... like that in all rows of column C. Now i want to add an 'IF' condition in the same row. (e.g.=if(a1+b1>100,100,a1+b1). One way of doing is entering this formula and copy it in all rows of col C. But what if Column C have different formulas, and i have to add the 'IF' condition (or any ther thing) in all rows of col C irrespective of difference of formulas.
2. In a Macro, how to choose the End of the sheet, when it is not a fixed cell?
1. Say i have a formula in Column C = "ColumnA+ColumnB (a1+b1, a2+b2, ... like that in all rows of column C. Now i want to add an 'IF' condition in the same row. (e.g.=if(a1+b1>100,100,a1+b1). One way of doing is entering this formula and copy it in all rows of col C. But what if Column C have different formulas, and i have to add the 'IF' condition (or any ther thing) in all rows of col C irrespective of difference of formulas.
2. In a Macro, how to choose the End of the sheet, when it is not a fixed cell?