Conditional Formatting

amygirl

New Member
Joined
Jun 8, 2011
Messages
5
Hi
I am using a formula to bring in data from another sheet in the same book. WHen there is an #N/A I want the conditional formatting to gray it out. The problem is that tho the cell shows #N/A the conditional formatting doesn't see it as #N/A...it sees the code:

Code:
=INDEX(Duration!$I:$I,MATCH(1,(Duration!$C:$C=$A2)*(Duration!$D:$D=$A28)*(Duration!$G:$G=K$7),0))

I tried using indirect in the conditional formatting but it was too confusing and I blacked out. When I came to, I was in the fetal postition whimpering.

If you need more information, please let me know.

Thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi
I am using a formula to bring in data from another sheet in the same book. WHen there is an #N/A I want the conditional formatting to gray it out. The problem is that tho the cell shows #N/A the conditional formatting doesn't see it as #N/A...it sees the code:

Code:
=INDEX(Duration!$I:$I,MATCH(1,(Duration!$C:$C=$A2)*(Duration!$D:$D=$A28)*(Duration!$G:$G=K$7),0))

I tried using indirect in the conditional formatting but it was too confusing and I blacked out. When I came to, I was in the fetal postition whimpering.

If you need more information, please let me know.

Thanks!
What version of Excel are you using?

What cell is this formula in?
 
Upvote 0
Excel 2007

The formula is in cell K12

OK, try this...
  • Select cell K12
  • Goto the Home tab>Styles>Conditional Formatting>Manage rules>New rule>Use a formula to determine which cells to format
  • Enter this formula in the box below:
    =ISNA(K12)
  • Click the Format button
  • Select the desired style(s)
  • OK out
 
Upvote 0

Forum statistics

Threads
1,224,578
Messages
6,179,654
Members
452,934
Latest member
mm1t1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top