Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
TUNGANA KURMA RAJU
 
Posts: n/a
Default complex conditional format

I have a cell value based on a calculation,which gives me any one of 7
values.The cell values a-"DEAD","DEAD & DEAD","DEAD & LIVE","LIVE &
DEAD","LIVE","LIVE & LIVE",BLANK CELL. I would like to apply conditional
format of that cell-"DEAD" word to red bold font 11 with a color shade,and
"LIVE" word to blue bold font11 with the same color shade.Since I can apply
only three conditions and a cell value can't accept two formats at a time,I
am unable to do the task.Can any one suggest me how to do this.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default complex conditional format



--

HTH

RP
(remove nothere from the email address if mailing direct)


"TUNGANA KURMA RAJU" wrote in
message ...
I have a cell value based on a calculation,which gives me any one of 7
values.The cell values a-"DEAD","DEAD & DEAD","DEAD & LIVE","LIVE &
DEAD","LIVE","LIVE & LIVE",BLANK CELL. I would like to apply conditional
format of that cell-"DEAD" word to red bold font 11 with a color

shade,and
"LIVE" word to blue bold font11 with the same color shade.Since I can

apply
only three conditions and a cell value can't accept two formats at a

time,I
am unable to do the task.Can any one suggest me how to do this.



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default complex conditional format

It can't be done. Using VBA you could get two different font colours, but
not with CF.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TUNGANA KURMA RAJU" wrote in
message ...
I have a cell value based on a calculation,which gives me any one of 7
values.The cell values a-"DEAD","DEAD & DEAD","DEAD & LIVE","LIVE &
DEAD","LIVE","LIVE & LIVE",BLANK CELL. I would like to apply conditional
format of that cell-"DEAD" word to red bold font 11 with a color

shade,and
"LIVE" word to blue bold font11 with the same color shade.Since I can

apply
only three conditions and a cell value can't accept two formats at a

time,I
am unable to do the task.Can any one suggest me how to do this.



  #4   Report Post  
nastech
 
Posts: n/a
Default complex conditional format

beta freeware possibility:
http://www.xldynamic.com/source/xld.....Download.html

"TUNGANA KURMA RAJU" wrote:

I have a cell value based on a calculation,which gives me any one of 7
values.The cell values a-"DEAD","DEAD & DEAD","DEAD & LIVE","LIVE &
DEAD","LIVE","LIVE & LIVE",BLANK CELL. I would like to apply conditional
format of that cell-"DEAD" word to red bold font 11 with a color shade,and
"LIVE" word to blue bold font11 with the same color shade.Since I can apply
only three conditions and a cell value can't accept two formats at a time,I
am unable to do the task.Can any one suggest me how to do this.

  #5   Report Post  
TUNGANA KURMA RAJU
 
Posts: n/a
Default complex conditional format

Thanks,but I am new to VBA ,can you give me simple VBA code to apply this two
clors to this cell value

"Bob Phillips" wrote:

It can't be done. Using VBA you could get two different font colours, but
not with CF.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TUNGANA KURMA RAJU" wrote in
message ...
I have a cell value based on a calculation,which gives me any one of 7
values.The cell values a-"DEAD","DEAD & DEAD","DEAD & LIVE","LIVE &
DEAD","LIVE","LIVE & LIVE",BLANK CELL. I would like to apply conditional
format of that cell-"DEAD" word to red bold font 11 with a color

shade,and
"LIVE" word to blue bold font11 with the same color shade.Since I can

apply
only three conditions and a cell value can't accept two formats at a

time,I
am unable to do the task.Can any one suggest me how to do this.






  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default complex conditional format

Here is some code

Dim iPos As Long

With ActiveCell
iPos = InStr(.Value, "DEAD")
.Characters(iPos, 4).Font.Color = vbRed
iPos = InStr(.Value, "LIVE")
.Characters(iPos, 4).Font.Color = vbBlue
End With

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TUNGANA KURMA RAJU" wrote in
message ...
Thanks,but I am new to VBA ,can you give me simple VBA code to apply this

two
clors to this cell value

"Bob Phillips" wrote:

It can't be done. Using VBA you could get two different font colours,

but
not with CF.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TUNGANA KURMA RAJU" wrote

in
message ...
I have a cell value based on a calculation,which gives me any one of 7
values.The cell values a-"DEAD","DEAD & DEAD","DEAD & LIVE","LIVE &
DEAD","LIVE","LIVE & LIVE",BLANK CELL. I would like to apply

conditional
format of that cell-"DEAD" word to red bold font 11 with a color

shade,and
"LIVE" word to blue bold font11 with the same color shade.Since I can

apply
only three conditions and a cell value can't accept two formats at a

time,I
am unable to do the task.Can any one suggest me how to do this.






  #7   Report Post  
TUNGANA KURMA RAJU
 
Posts: n/a
Default complex conditional format

Thanks Bob,for testing purpose I have entered the code you have given,it gave
me error 'invalid outside procedure'.I have all of my 7 cell values in a
column and tested.
can you plese give me correct code.I have a column range with these 7 values
which I have mentioned in my question.please give me event macro as my
worksheet contains these values based on sheet calculation.Please remember
there is a string '&' between these words in some cells which contain two
words "DEAD" and "LIVE".Thanks in advance.
"Bob Phillips" wrote:

Here is some code

Dim iPos As Long

With ActiveCell
iPos = InStr(.Value, "DEAD")
.Characters(iPos, 4).Font.Color = vbRed
iPos = InStr(.Value, "LIVE")
.Characters(iPos, 4).Font.Color = vbBlue
End With

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TUNGANA KURMA RAJU" wrote in
message ...
Thanks,but I am new to VBA ,can you give me simple VBA code to apply this

two
clors to this cell value

"Bob Phillips" wrote:

It can't be done. Using VBA you could get two different font colours,

but
not with CF.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TUNGANA KURMA RAJU" wrote

in
message ...
I have a cell value based on a calculation,which gives me any one of 7
values.The cell values a-"DEAD","DEAD & DEAD","DEAD & LIVE","LIVE &
DEAD","LIVE","LIVE & LIVE",BLANK CELL. I would like to apply

conditional
format of that cell-"DEAD" word to red bold font 11 with a color
shade,and
"LIVE" word to blue bold font11 with the same color shade.Since I can
apply
only three conditions and a cell value can't accept two formats at a
time,I
am unable to do the task.Can any one suggest me how to do this.






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 format numbers PiPPo Excel Worksheet Functions 5 October 18th 05 05:03 AM
Cell Format Changes When Data Is Entered - Not Conditional Formatt SundanceKidLudwig Excel Worksheet Functions 2 September 30th 05 02:07 PM
Conditional format of minimum number MaggieMagill Excel Worksheet Functions 6 September 25th 05 11:36 PM
Conditional Format Question DougS Excel Worksheet Functions 3 May 3rd 05 01:36 AM
Conditional Format George Gee New Users to Excel 2 February 17th 05 07:13 PM


All times are GMT +1. The time now is 02:11 AM.

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"