Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JenniM
 
Posts: n/a
Default Conditional formatting on cells with a VLOOKUP formula in them

I have a worksheet with some cells that contain values generated from a
VLOOKUP formula. Some of these cells contain a #N/A error. (That's not the
problem.) I want to be able to use conditional formatting to turn the cells
containing #N/A red, but for some reason I can't make it work! Even on cells
that have values instead, a conditional format just won't work.

Is this because I'm trying to do it on VLOOKUPs? Is this an Excel glitch,
or is there something special I have to do?

Any help would be greatly appreciated!

Thanks,
JenniM
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

In CF, choose "Formula Is" and use:

=ISNA(INDIRECT("rc",0))

HTH
Jason
Atlanta, GA

-----Original Message-----
I have a worksheet with some cells that contain values

generated from a
VLOOKUP formula. Some of these cells contain a #N/A

error. (That's not the
problem.) I want to be able to use conditional

formatting to turn the cells
containing #N/A red, but for some reason I can't make it

work! Even on cells
that have values instead, a conditional format just

won't work.

Is this because I'm trying to do it on VLOOKUPs? Is

this an Excel glitch,
or is there something special I have to do?

Any help would be greatly appreciated!

Thanks,
JenniM
.

  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi Jenni

select the range you want to apply the conditional formatting to,
choose format /conditional formatting
choose formula is
type
=ISERROR($M2)
where M2 is the first cell in the selected range
click on format - set your formatting
click OK twice

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"JenniM" wrote in message
...
I have a worksheet with some cells that contain values generated from a
VLOOKUP formula. Some of these cells contain a #N/A error. (That's not
the
problem.) I want to be able to use conditional formatting to turn the
cells
containing #N/A red, but for some reason I can't make it work! Even on
cells
that have values instead, a conditional format just won't work.

Is this because I'm trying to do it on VLOOKUPs? Is this an Excel glitch,
or is there something special I have to do?

Any help would be greatly appreciated!

Thanks,
JenniM



  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Jenni

sorry, instead of ISERROR
use ISNA

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"JulieD" wrote in message
...
Hi Jenni

select the range you want to apply the conditional formatting to,
choose format /conditional formatting
choose formula is
type
=ISERROR($M2)
where M2 is the first cell in the selected range
click on format - set your formatting
click OK twice

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"JenniM" wrote in message
...
I have a worksheet with some cells that contain values generated from a
VLOOKUP formula. Some of these cells contain a #N/A error. (That's not
the
problem.) I want to be able to use conditional formatting to turn the
cells
containing #N/A red, but for some reason I can't make it work! Even on
cells
that have values instead, a conditional format just won't work.

Is this because I'm trying to do it on VLOOKUPs? Is this an Excel
glitch,
or is there something special I have to do?

Any help would be greatly appreciated!

Thanks,
JenniM





  #5   Report Post  
JenniM
 
Posts: n/a
Default

Julie and Jason, thanks a million!

It works like a charm, and now I don't have to dread the rest of my afternoon!

"JulieD" wrote:

Hi Jenni

sorry, instead of ISERROR
use ISNA

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"JulieD" wrote in message
...
Hi Jenni

select the range you want to apply the conditional formatting to,
choose format /conditional formatting
choose formula is
type
=ISERROR($M2)
where M2 is the first cell in the selected range
click on format - set your formatting
click OK twice

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"JenniM" wrote in message
...
I have a worksheet with some cells that contain values generated from a
VLOOKUP formula. Some of these cells contain a #N/A error. (That's not
the
problem.) I want to be able to use conditional formatting to turn the
cells
containing #N/A red, but for some reason I can't make it work! Even on
cells
that have values instead, a conditional format just won't work.

Is this because I'm trying to do it on VLOOKUPs? Is this an Excel
glitch,
or is there something special I have to do?

Any help would be greatly appreciated!

Thanks,
JenniM






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate percentage based on cells with conditional formatting Cachod1 New Users to Excel 5 April 4th 05 02:11 PM
vlookup & conditional formatting Emma Excel Worksheet Functions 5 February 23rd 05 02:29 PM
counting cells with conditional formatting applied HalB Excel Discussion (Misc queries) 3 February 21st 05 01:21 PM
Copying cells with conditional formatting Benfanfromlo Excel Discussion (Misc queries) 3 February 10th 05 06:12 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM


All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"