exceldotcom
New Member
- Joined
- Jul 2, 2018
- Messages
- 15
Hi everyone,
I have a formula that populates Y or N based on a few criteria (also has conditional formatting that shows Y as Green and N as Red). The formula is working fine for that purpose however, when there is an error the cell populates #N/A (this is fine) but I would like the cell to be blank instead.
Original formula: =IF((VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(Z3,$Y$127:$Z$133,2,0))+(VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(AB3,$Y$127:$Z$133,2,0))>=3,"Y","N")
I added an IFERROR to the Original formula:
=IFERROR(IF((VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(Z3,$Y$127:$Z$133,2,0))+(VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(AB3,$Y$127:$Z$133,2,0))>=3,"Y","N"),"")
But it seems to make all cells (even those which should be Y or N) go blank. Can anyone spot anything obvious I'm doing wrong?
Thanks!
I have a formula that populates Y or N based on a few criteria (also has conditional formatting that shows Y as Green and N as Red). The formula is working fine for that purpose however, when there is an error the cell populates #N/A (this is fine) but I would like the cell to be blank instead.
Original formula: =IF((VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(Z3,$Y$127:$Z$133,2,0))+(VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(AB3,$Y$127:$Z$133,2,0))>=3,"Y","N")
I added an IFERROR to the Original formula:
=IFERROR(IF((VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(Z3,$Y$127:$Z$133,2,0))+(VLOOKUP(AA3,$Y$127:$Z$133,2,0))+(VLOOKUP(AB3,$Y$127:$Z$133,2,0))>=3,"Y","N"),"")
But it seems to make all cells (even those which should be Y or N) go blank. Can anyone spot anything obvious I'm doing wrong?
Thanks!