OkayKid
New Member
- Joined
- Jan 12, 2011
- Messages
- 15
In E18, E19, and E20, I have formulas returning a result or an error, and in E17 I would like to populate the correct result, depending on whether or not the three cells are generating errors or not. Here's the kind of formula that I want to use but it's not working:
=(IF(ISERROR(E18),E19,E18),(IF((AND(ISERROR(E18), ISERROR(E19))),E20,),(IF(E18=0,"N/A",E18))))
At the moment, in E18 I have a #REF! error, in E19 there is a 0, and in E20 there is a 0. This formula is returning a #VALUE! error in E17, when I would like it to be showing the 0 in E19. And if E19 had a #REF! error, it would populate what E20 had in it. I hope this makes sense.
Any help would be much appreciated!
=(IF(ISERROR(E18),E19,E18),(IF((AND(ISERROR(E18), ISERROR(E19))),E20,),(IF(E18=0,"N/A",E18))))
At the moment, in E18 I have a #REF! error, in E19 there is a 0, and in E20 there is a 0. This formula is returning a #VALUE! error in E17, when I would like it to be showing the 0 in E19. And if E19 had a #REF! error, it would populate what E20 had in it. I hope this makes sense.
Any help would be much appreciated!