Zack Barresse
MrExcel MVP
- Joined
- Dec 9, 2003
- Messages
- 10,881
- Office Version
- 365
- 2010
- Platform
- Windows
- Mobile
- Web
hello all, another question for ya,
i'm trying to figure out a way to write some code in which a range of cells can have a mathematical operation performed on them, only if their cell value is > 0. these cells are the byproduct of about seven or eight calculations.
i'd like to assign this macro to a button so i have the power to say when to start the calculation.
so basically, look at each cell in range, if > 0, then value * 0.7 (minus 30%). those that are zero,i do not wish to perform any calculations on.
hope this isn't too vague. anybody point me in the right direction?
i'm trying to figure out a way to write some code in which a range of cells can have a mathematical operation performed on them, only if their cell value is > 0. these cells are the byproduct of about seven or eight calculations.
i'd like to assign this macro to a button so i have the power to say when to start the calculation.
so basically, look at each cell in range, if > 0, then value * 0.7 (minus 30%). those that are zero,i do not wish to perform any calculations on.
hope this isn't too vague. anybody point me in the right direction?