Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Conditional Formatting for Formula Cells

Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A, while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either blank or
return a value.

I want to apply conditional formatting only to those cells in Column B that
return a value. The colour formatting will alert a staff member that they
have a task to complete on a certain day if it is shaded with 'their' colour.
I've fuddled around with variations including IF, ISBLANK and NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting for Formula Cells

Why do you have this at the end of your formula: &""

Conditional Formatting
Formula Is: =B1<""

Biff

"Vibeke" wrote in message
...
Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A, while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either blank
or
return a value.

I want to apply conditional formatting only to those cells in Column B
that
return a value. The colour formatting will alert a staff member that they
have a task to complete on a certain day if it is shaded with 'their'
colour.
I've fuddled around with variations including IF, ISBLANK and
NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Conditional Formatting for Formula Cells

You asked..."Why do you have this at the end of your formula: &""

Because the data populated by the function is a combination of two bits of
data from the other speadsheet (the name of the event and the date it occurs).

Thanks you for your replies, I will now give them a try.



"T. Valko" wrote:

Why do you have this at the end of your formula: &""

Conditional Formatting
Formula Is: =B1<""

Biff

"Vibeke" wrote in message
...
Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A, while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either blank
or
return a value.

I want to apply conditional formatting only to those cells in Column B
that
return a value. The colour formatting will alert a staff member that they
have a task to complete on a certain day if it is shaded with 'their'
colour.
I've fuddled around with variations including IF, ISBLANK and
NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting for Formula Cells

Try this ..

Assume your range is A1:D10

Select the range (with A1 active),
then apply CF using settings:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)

Condition 2, Formula is:
=AND(A1<"",NOT(ISERROR(A1)))
Format: Blue fill

OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Vibeke" wrote:
Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A, while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either blank or
return a value.

I want to apply conditional formatting only to those cells in Column B that
return a value. The colour formatting will alert a staff member that they
have a task to complete on a certain day if it is shaded with 'their' colour.
I've fuddled around with variations including IF, ISBLANK and NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting for Formula Cells

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)


They have any errors trapped in the formula:

=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36 ,14,0)),"",........


Biff

"Max" wrote in message
...
Try this ..

Assume your range is A1:D10

Select the range (with A1 active),
then apply CF using settings:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)

Condition 2, Formula is:
=AND(A1<"",NOT(ISERROR(A1)))
Format: Blue fill

OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Vibeke" wrote:
Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A, while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either blank
or
return a value.

I want to apply conditional formatting only to those cells in Column B
that
return a value. The colour formatting will alert a staff member that they
have a task to complete on a certain day if it is shaded with 'their'
colour.
I've fuddled around with variations including IF, ISBLANK and
NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting for Formula Cells

"T. Valko" wrote:
They have any errors trapped in the formula ..


True that's what the OP posted, but we can treat the suggestion as generic
then <g, just in case the formulas range does have any untrapped error
returns.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Conditional Formatting for Formula Cells

Thank you very much for your assistance. Worked a charm. If I could trouble
you with an extended question on a similar problem, I would be very grateful
for any assistance.

Column B's formula returns an event and a date. Depending on the task, and
the type of event, a different staff member is assigned to complete the task.
I would like to create a conditional format for each task which will do a
wildcard search on the text in B1.

So condition 1 might be: find any text in B1 containing "*ABC*", "*HIJ*" or
"*QRS*", then pink.
Condition 2 would be : find any text in B1 containing "*DEF*", "*KLM*", or
"*TUV*", then yellow

Fortunately, condition 3 would be the formula you provided in my earlier
query!

I've searched the discussion groups (and learned A LOT - now wouldn't that
be a great function?), but despite trying variations of SEARCH, AND, IF and
OR, I'm no further a-head for all my head scratching (So to speak).

Many thanks & curtsies.




"T. Valko" wrote:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)


They have any errors trapped in the formula:

=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36 ,14,0)),"",........


Biff

"Max" wrote in message
...
Try this ..

Assume your range is A1:D10

Select the range (with A1 active),
then apply CF using settings:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)

Condition 2, Formula is:
=AND(A1<"",NOT(ISERROR(A1)))
Format: Blue fill

OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Vibeke" wrote:
Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A, while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either blank
or
return a value.

I want to apply conditional formatting only to those cells in Column B
that
return a value. The colour formatting will alert a staff member that they
have a task to complete on a certain day if it is shaded with 'their'
colour.
I've fuddled around with variations including IF, ISBLANK and
NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting for Formula Cells

Try this:

Condition 1
Formula Is:

=OR(ISNUMBER(SEARCH("ABC",B1)),ISNUMBER(SEARCH("HI J",B1)),ISNUMBER(SEARCH("QRS",B1)))

Condition 2
Formula Is:

=OR(ISNUMBER(SEARCH("DEF",B1)),ISNUMBER(SEARCH("KL M",B1)),ISNUMBER(SEARCH("TUV",B1)))

If you have a whole bunch of these then it will probably be better to list
them somewhere on your sheet and then use something like this:

F1 = ABC
F2 = HIJ
F3 = QRS
F4 = DEF
F5 = KLM
F6 = TUV

Then:

Condition 1
Formula Is: =MATCH(B1,F1:F3,0)

Condition 2
Formula Is: =MATCH(B1,F4:F6,0)

Biff

"Vibeke" wrote in message
...
Thank you very much for your assistance. Worked a charm. If I could
trouble
you with an extended question on a similar problem, I would be very
grateful
for any assistance.

Column B's formula returns an event and a date. Depending on the task,
and
the type of event, a different staff member is assigned to complete the
task.
I would like to create a conditional format for each task which will do a
wildcard search on the text in B1.

So condition 1 might be: find any text in B1 containing "*ABC*", "*HIJ*"
or
"*QRS*", then pink.
Condition 2 would be : find any text in B1 containing "*DEF*", "*KLM*", or
"*TUV*", then yellow

Fortunately, condition 3 would be the formula you provided in my earlier
query!

I've searched the discussion groups (and learned A LOT - now wouldn't that
be a great function?), but despite trying variations of SEARCH, AND, IF
and
OR, I'm no further a-head for all my head scratching (So to speak).

Many thanks & curtsies.




"T. Valko" wrote:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)


They have any errors trapped in the formula:

=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36 ,14,0)),"",........


Biff

"Max" wrote in message
...
Try this ..

Assume your range is A1:D10

Select the range (with A1 active),
then apply CF using settings:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)

Condition 2, Formula is:
=AND(A1<"",NOT(ISERROR(A1)))
Format: Blue fill

OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Vibeke" wrote:
Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A,
while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either
blank
or
return a value.

I want to apply conditional formatting only to those cells in Column B
that
return a value. The colour formatting will alert a staff member that
they
have a task to complete on a certain day if it is shaded with 'their'
colour.
I've fuddled around with variations including IF, ISBLANK and
NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.






  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting for Formula Cells

Ooops! I forgot that you were looking for a substring:

If you have a whole bunch of these then it will probably be better to list
them somewhere on your sheet and then use something like this:

F1 = ABC
F2 = HIJ
F3 = QRS
F4 = DEF
F5 = KLM
F6 = TUV

Then:

Condition 1
Formula Is: =MATCH(B1,F1:F3,0)

Condition 2
Formula Is: =MATCH(B1,F4:F6,0)



Make those formulas:

Condition 1
Formula Is: =OR(ISNUMBER(SEARCH(F1:F3,B1)))

Condition 2
Formula Is: =OR(ISNUMBER(SEARCH(F4:F6,B1)))

Biff

"T. Valko" wrote in message
...
Try this:

Condition 1
Formula Is:

=OR(ISNUMBER(SEARCH("ABC",B1)),ISNUMBER(SEARCH("HI J",B1)),ISNUMBER(SEARCH("QRS",B1)))

Condition 2
Formula Is:

=OR(ISNUMBER(SEARCH("DEF",B1)),ISNUMBER(SEARCH("KL M",B1)),ISNUMBER(SEARCH("TUV",B1)))

If you have a whole bunch of these then it will probably be better to list
them somewhere on your sheet and then use something like this:

F1 = ABC
F2 = HIJ
F3 = QRS
F4 = DEF
F5 = KLM
F6 = TUV

Then:

Condition 1
Formula Is: =MATCH(B1,F1:F3,0)

Condition 2
Formula Is: =MATCH(B1,F4:F6,0)

Biff

"Vibeke" wrote in message
...
Thank you very much for your assistance. Worked a charm. If I could
trouble
you with an extended question on a similar problem, I would be very
grateful
for any assistance.

Column B's formula returns an event and a date. Depending on the task,
and
the type of event, a different staff member is assigned to complete the
task.
I would like to create a conditional format for each task which will do a
wildcard search on the text in B1.

So condition 1 might be: find any text in B1 containing "*ABC*", "*HIJ*"
or
"*QRS*", then pink.
Condition 2 would be : find any text in B1 containing "*DEF*", "*KLM*",
or
"*TUV*", then yellow

Fortunately, condition 3 would be the formula you provided in my earlier
query!

I've searched the discussion groups (and learned A LOT - now wouldn't
that
be a great function?), but despite trying variations of SEARCH, AND, IF
and
OR, I'm no further a-head for all my head scratching (So to speak).

Many thanks & curtsies.




"T. Valko" wrote:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)

They have any errors trapped in the formula:

=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36 ,14,0)),"",........

Biff

"Max" wrote in message
...
Try this ..

Assume your range is A1:D10

Select the range (with A1 active),
then apply CF using settings:

Condition 1, Formula is: =ISERROR(A1)
Format: White font (to mask the error returns, if any)

Condition 2, Formula is:
=AND(A1<"",NOT(ISERROR(A1)))
Format: Blue fill

OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Vibeke" wrote:
Hi
I have a workbook that creates a monthly task calendar in one of the
spreadsheets. in that sheet, there is a list of tasks in Column A,
while
Column B contains the formula :
=IF(ISERROR(VLOOKUP(A3,'calendar~data'!$B$5:$O$36, 14,0)),"",VLOOKUP(A3,'calendar~data'!$B$5:$O$36,14 ,0))&""

where A3 is a date. The cells in Column B therefore appear either
blank
or
return a value.

I want to apply conditional formatting only to those cells in Column
B
that
return a value. The colour formatting will alert a staff member that
they
have a task to complete on a certain day if it is shaded with 'their'
colour.
I've fuddled around with variations including IF, ISBLANK and
NOT(ISBLANK)
but to no avail. can anyone assist?

Thanks.







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 2 cells debjocc Excel Worksheet Functions 6 June 2nd 06 03:21 PM
Conditional Formatting with two cells ballastrae Excel Worksheet Functions 8 February 15th 06 01:17 AM
conditional formatting based on another cells formula result kstarkey Excel Discussion (Misc queries) 3 October 5th 05 09:07 PM
Conditional Formatting Multiple cells based on 2 cells Louis Markowski Excel Worksheet Functions 2 June 1st 05 05:26 PM
Conditional formatting on cells with a VLOOKUP formula in them JenniM Excel Discussion (Misc queries) 4 April 1st 05 06:45 PM


All times are GMT +1. The time now is 11:45 PM.

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

About Us

"It's about Microsoft Excel"