Forum Discussion
Jupiter1
May 07, 2020Copper Contributor
Formula #NA ERROR
Hi All, I have a small issue with a formula error, hoping someone can help. I HAVE A FORMULA WHICH RELIES ON TWO CELLS HAVING A VALUE EQUAL OR MORE THAN 1. I’VE USED THE FORMULA BELOW WHICH WOR...
mtarler
May 07, 2020Silver Contributor
yes and no. I don't understand exactly what you want or why (which if we know we might be able to better supply an alternative or workaround or just better solution), but you can most likely do what you want using a macro/VBA. Using just cell formulas, you can't have a formula get deleted and magically reappear on its own. That said, there are usually ways to achieve what you want using formulas and/or helper columns.
Jupiter1
May 07, 2020Copper Contributor
Hi, thanks for looking at this. I have attached visual to explain. I hope it makes sense.
Many thanks
- mtarlerMay 07, 2020Silver Contributoryeah what you are asking for is really a macro. You could add in parallel A-D columns that are "force on/off" an then basically have the formula incorporate that corresponding cell also. in terms of numbers you could have those cells be -1 (force off),0 (nothing),1 (force on) and add it to the result of the checks and then compare as >0