Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Conditional Formatting Based on If and Or

How can I set the conditional formatting of a A1 if B1 or C1 shows #n/a?

(B1 and C1 both contain formulae that will return #n/a until the required
information is inputted elsewhere in the spreadsheet. Hence I want
conditional formatting to highlight information that is missing)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Conditional Formatting Based on If and Or

Hi,

selecte A1

Format | Conditional format | change to "The formula is"

=and(iserror(b1),iserror(c1))

format as you need

hth
regards from Brazil
Marcelo

"luvthavodka" escreveu:

How can I set the conditional formatting of a A1 if B1 or C1 shows #n/a?

(B1 and C1 both contain formulae that will return #n/a until the required
information is inputted elsewhere in the spreadsheet. Hence I want
conditional formatting to highlight information that is missing)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Conditional Formatting Based on If and Or

sorry I have been post and instead of OR as you ask so

=or(iserror(b1),iserror(c1))

regards
Marcelo

"luvthavodka" escreveu:

How can I set the conditional formatting of a A1 if B1 or C1 shows #n/a?

(B1 and C1 both contain formulae that will return #n/a until the required
information is inputted elsewhere in the spreadsheet. Hence I want
conditional formatting to highlight information that is missing)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Conditional Formatting Based on If and Or


luvthavodka wrote:
How can I set the conditional formatting of a A1 if B1 or C1 shows #n/a?

(B1 and C1 both contain formulae that will return #n/a until the required
information is inputted elsewhere in the spreadsheet. Hence I want
conditional formatting to highlight information that is missing)


=IF(OR(ISNA(B1),ISNA(C1)),TRUE,FALSE) Will tell you what you want to
know.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Conditional Formatting Based on If and Or

This is a good start, however sorry I didn't clarify before that if b1 is
#n/a, c1 will be blank and if c1 is #n/a, b1 will be blank.

How could I adapt this formula so the condition is that b1 OR c1 = #n/a,
rather than AND?

Many thanks

"Marcelo" wrote:

Hi,

selecte A1

Format | Conditional format | change to "The formula is"

=and(iserror(b1),iserror(c1))

format as you need

hth
regards from Brazil
Marcelo

"luvthavodka" escreveu:

How can I set the conditional formatting of a A1 if B1 or C1 shows #n/a?

(B1 and C1 both contain formulae that will return #n/a until the required
information is inputted elsewhere in the spreadsheet. Hence I want
conditional formatting to highlight information that is missing)



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Conditional Formatting Based on If and Or


luvthavodka wrote:
This is a good start, however sorry I didn't clarify before that if b1 is
#n/a, c1 will be blank and if c1 is #n/a, b1 will be blank.

How could I adapt this formula so the condition is that b1 OR c1 = #n/a,
rather than AND?


=OR(ISNA(B1),ISNA(C1))

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
Conditional formatting formula that uses VLookup, based on content of another cell Fred Excel Discussion (Misc queries) 2 August 3rd 06 10:38 AM
Conditional formatting formula that uses VLookup, based on content of another cell Fred Excel Discussion (Misc queries) 3 August 2nd 06 04:23 PM
Applying conditional formatting to cell based on another cell's in kdesemple Excel Discussion (Misc queries) 1 March 22nd 06 06:37 PM
Conditional formatting based on a date + 30 days Laura4363 Excel Discussion (Misc queries) 5 January 13th 06 11:07 AM
Conditional Formatting Based on Date John F.M. Excel Discussion (Misc queries) 1 June 2nd 05 08:14 PM


All times are GMT +1. The time now is 02:43 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"