This is not a specific VBA question, but a formula question. I have a sheet where I have two cells, g2 and j2 that have formulas in them. I want to write a formula that says 'if g2 and j2 are both 0, then....'
This seems like something that should be extremely easy, but every time I try it, the AND function yields a 'false' value. If I manually type in 0 into each cell, then it yields true. Which leads me to believe that the AND function cannot be used with formula result values but I cannot find explicit confirmation of this.
Can someone please confirm or deny this, and if that is the case, is there another way for me to do this? I already checked to see if I could add in some helper columns, or just copy/paste values but was told those are not options.
Here is my formula as it stands...when evaluating just the AND portion, it comes out as false. The returned values in the referenced cells are 0. Again, if I just hard code the numbers as 0, it works. =IF(AND(G2=0,J2=0),"0%",IF(ERROR.TYPE(J19/G19)<3,"100%"))

