Forum Discussion
Locky81
Aug 16, 2022Copper Contributor
Locking a cell value after successful IF function.
Hello, i have a result (number) in a cell as a result of a successful IF function, which is controlled on the sheet under an auto-refresh. I want to 'lock' or leave, the value in the cell after the I...
HansVogelaar
Aug 16, 2022MVP
That probably requires VBA code, but we'd need to have more detailed information.
- What is the formula?
- Which cell or cells have the formula?
- Locky81Aug 16, 2022Copper ContributorFormula lies in K5, L5, M5 etc
- HansVogelaarAug 16, 2022MVP
Thank you! Will the user enter TRUE or FALSE in K4, L4 etc., or do those cells contain formulas too?
I'm trying to find out which cells, when edited directly by the user, will determine the result of the formulas in K5, L5 etc.
- Locky81Aug 18, 2022Copper Contributor
=AND($G$2<=K2+0.0004,$G$2>=K2-0.0004)
Thus is the code that generates the true/false, its looking at 2 numbers only, factoring in a tolerance when matching their similarity.
- Locky81Aug 16, 2022Copper Contributor=IFS(K4=TRUE, $J$5)