#N/A

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I have this formula =INDIRECT("B" & VLOOKUP(ROW()-4,CP$5:CR$65,3,FALSE))
I would like these cells with this formula to read a blank cell instead of
#N/A
These cells read #N/A only until data is entered in other cells is this
possible
 
=IF(ISNA(INDIRECT("B" &
VLOOKUP(ROW()-4,CP$5:CR$65,3,FALSE))),"",INDIRECT("B" &
VLOOKUP(ROW()-4,CP$5:CR$65,3,FALSE)))

Remember to Click Yes, if this post helps!
 
=INDIRECT("B" & VLOOKUP(ROW()-4,CP$5:CR$65,3,FALSE))

That formula will return #N/A if the lookup value ROW()-4 can't be found in
the lookup table. So, try this...

=IF(COUNTIF(ROW()-4,CP$5:CP$65),INDIRECT("B"&VLOOKUP(ROW()-4,CP$5:CR$65,3,0)),"")
 
there is an error in formula can it be updated

Ooops!

My fault. In the COUNTIF function I have the arguments backwards.

Corrected version:

=IF(COUNTIF(CP$5:CP$65,ROW()-4),INDIRECT("B"&VLOOKUP(ROW()-4,CP$5:CR$65,3,0)),"")
 
Back
Top