In MS Excel 2003, need to do conditional formating on HLOOKUP

S

Shikha

I need to paint the result of HLOOKUP in red if it returns #N/A or #REF, but
conditional formatting formula is not able to equate #N/A as a string. Anyone
knows how to do this?
 
S

Stefi

Insert =ISERROR( ) function in CF condition with the appropriate cell
reference!

Regards,
Stefi

„Shikha†ezt írta:
 
A

Ashish Mathur

Hi,

you can try this formula in conditional formatting (Format > Conditional
formatting)

=OR(ERROR.TYPE($D$11)=4,ERROR.TYPE($D$11)=7)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
P

Pete_UK

Use something like this:

=ISERROR(HLOOKUP(....))

as your CF formula.

Hope this helps.

Pete
 

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