Hi Folks,
I've had great luck with the members of this site, so here goes...
I have a data sheet where 12 columns contain a dynamic number of rows/cells where some are formulas and some are hardcoded values. This file is submitted each month. I would like a macro to insert the "Round" function to 2 decimal places into all the cells in these 12 columns only.
Specifically, the macro would:
1) add "=round(value,2)" to cells without formulas and greater than 0, and not "",
2) skip cells where there is already a round function included, and
3) add "round(formula,2)" to cells with other formulas.
If there's any chance someone could help me with this, I would be most appreciative.
Thanks.
CCantara
I've had great luck with the members of this site, so here goes...
I have a data sheet where 12 columns contain a dynamic number of rows/cells where some are formulas and some are hardcoded values. This file is submitted each month. I would like a macro to insert the "Round" function to 2 decimal places into all the cells in these 12 columns only.
Specifically, the macro would:
1) add "=round(value,2)" to cells without formulas and greater than 0, and not "",
2) skip cells where there is already a round function included, and
3) add "round(formula,2)" to cells with other formulas.
If there's any chance someone could help me with this, I would be most appreciative.
Thanks.
CCantara