#N/A

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
 
M

Ms-Exl-Learner

=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!
 
T

T. Valko

=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)),"")
 
T

T. Valko

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)),"")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top