TWINKLEMARVEL
Board Regular
- Joined
- Sep 24, 2008
- Messages
- 101
Pls help me out to insert the below formula in the macro given below. I need the formula to be in cell N2
Code:
=IF(L2="","",IF(L2=0,1,IF(L2<=4,L2,IF(AND(L2>=5,L2<=7),"a.5-7",IF(AND(L2>=8,L2<=15),"b.8-15",IF(AND(L2>=16,L2<=30),"c.16-30",IF(AND(L2>=31,L2<=60),"d.30-60","e.>60")))))))
Code:
Range("N2").Select
ActiveSheet.Paste
Range(Selection, Selection.End(xlDown)).Select