Conditional Formatting

P

Panchi

I have a sheet that already has conditonal format where every 3rd row is
highlighted green (the cond. format formula is =MOD(ROW(),3)=1 ).

Now I want to add another condition where the #N/A is not visible. Its OK
for all the rows that are not highlighted but it still shows the error in the
rows still highlighted. how can i work around this?
 
G

Gary''s Student

You can avoid the problem with =ISNA(). for example, rather than:
=VLOOKUP(A1,D1:E10,2)
use:
=IF(ISNA(VLOOKUP(A1,D1:E10,2)),"",VLOOKUP(A1,D1:E10,2))
 
F

Faraz A. Qureshi

If using XL 2007:
=IFERROR(VLOOKUP(....),"")
Otherwise
=IF(ISNA(VLOOKUP(....)),"",VLOOKUP(....))
 
P

Panchi

Thanks GS & Faraz, the issue is reolved now.


Faraz A. Qureshi said:
If using XL 2007:
=IFERROR(VLOOKUP(....),"")
Otherwise
=IF(ISNA(VLOOKUP(....)),"",VLOOKUP(....))

--
Thanx in advance,
Best Regards,

Faraz
 

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