Hello can someone help me how can I convert a cell value using If statement in VBA? In column A contain numbers and I want to convert them using this formula. I will just run the macro and the whole data in column A will turn to this ="IF(AND(B4<12,B4>-1),"<12",IF(AND(B4>12,B4<24),"12-24",IF(AND(B4>24,B4<36),"24-36",IF(AND(B4>36,B4<48),"36-48","48+"))))"