Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve Curtis
 
Posts: n/a
Default cell properties and cell functions

Is there a way to do basically a reverse of the conditional formatting -
where the certain cells have a pattern assigned to them already, and is there
a way to in another column have that change to either a numeric value or even
a true false.

Like if cell A1 has a red background have B1 come up with sometype of a
number that would be different that if the background was blank.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EdMac
 
Posts: n/a
Default cell properties and cell functions


Why not use the value that has caused the other cell to come up red.

So if your conditional formatting for A1 depends on say the content
being greater than 10, then using an if statement in B1 to insert the
value you want =if(A110,Value you want).

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile: http://www.excelforum.com/member.php...o&userid=30736
View this thread: http://www.excelforum.com/showthread...hreadid=512291

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve Curtis
 
Posts: n/a
Default cell properties and cell functions

Because there are not values that caused the coloring - that was entered by
hand

"EdMac" wrote:


Why not use the value that has caused the other cell to come up red.

So if your conditional formatting for A1 depends on say the content
being greater than 10, then using an if statement in B1 to insert the
value you want =if(A110,Value you want).

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile: http://www.excelforum.com/member.php...o&userid=30736
View this thread: http://www.excelforum.com/showthread...hreadid=512291


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default cell properties and cell functions

Then it isn't conditional formatting.

You will need a function, like this

Function CI(rng as Range)
If rng.Count 1 Then
CI = cvErr(xlErrRef)
Else
Ci = rng.Interior.Colorindex
End If
End Function

and in your cell, use

=IF(CI(A1)=3,99,100)

which tests for Red.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Steve Curtis" wrote in message
...
Because there are not values that caused the coloring - that was entered

by
hand

"EdMac" wrote:


Why not use the value that has caused the other cell to come up red.

So if your conditional formatting for A1 depends on say the content
being greater than 10, then using an if statement in B1 to insert the
value you want =if(A110,Value you want).

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile:

http://www.excelforum.com/member.php...o&userid=30736
View this thread:

http://www.excelforum.com/showthread...hreadid=512291




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve Curtis
 
Posts: n/a
Default cell properties and cell functions

Thanks Bob, that works great - but here is another question - I know that the
3 is for Red, how do I find out what the other related numbers are for other
colors?


"Bob Phillips" wrote:

Then it isn't conditional formatting.

You will need a function, like this

Function CI(rng as Range)
If rng.Count 1 Then
CI = cvErr(xlErrRef)
Else
Ci = rng.Interior.Colorindex
End If
End Function

and in your cell, use

=IF(CI(A1)=3,99,100)

which tests for Red.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Steve Curtis" wrote in message
...
Because there are not values that caused the coloring - that was entered

by
hand

"EdMac" wrote:


Why not use the value that has caused the other cell to come up red.

So if your conditional formatting for A1 depends on say the content
being greater than 10, then using an if statement in B1 to insert the
value you want =if(A110,Value you want).

Ed


--
EdMac
------------------------------------------------------------------------
EdMac's Profile:

http://www.excelforum.com/member.php...o&userid=30736
View this thread:

http://www.excelforum.com/showthread...hreadid=512291







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default cell properties and cell functions

Steve,

See this previous post from myself and Peter T, most are given there
http://tinyurl.com/annkb

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Steve Curtis" wrote in message
...
Thanks Bob, that works great - but here is another question - I know that

the
3 is for Red, how do I find out what the other related numbers are for

other
colors?


"Bob Phillips" wrote:

Then it isn't conditional formatting.

You will need a function, like this

Function CI(rng as Range)
If rng.Count 1 Then
CI = cvErr(xlErrRef)
Else
Ci = rng.Interior.Colorindex
End If
End Function

and in your cell, use

=IF(CI(A1)=3,99,100)

which tests for Red.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Steve Curtis" wrote in message
...
Because there are not values that caused the coloring - that was

entered
by
hand

"EdMac" wrote:


Why not use the value that has caused the other cell to come up red.

So if your conditional formatting for A1 depends on say the content
being greater than 10, then using an if statement in B1 to insert

the
value you want =if(A110,Value you want).

Ed


--
EdMac

------------------------------------------------------------------------
EdMac's Profile:

http://www.excelforum.com/member.php...o&userid=30736
View this thread:

http://www.excelforum.com/showthread...hreadid=512291







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
Excel cell properties Will Excel Worksheet Functions 2 February 10th 06 07:07 PM
Cell changing it's properties jtpeters New Users to Excel 0 December 27th 05 10:09 PM
How do you use EXCEL formula in properties of file (cell content) chiefcook Excel Discussion (Misc queries) 1 November 10th 05 04:53 PM
How do I show some of the file properties in a cell in a work she. Mike on the learning curve! Excel Worksheet Functions 2 December 30th 04 11:14 PM
Excel document properties insert into a cell Mark Excel Discussion (Misc queries) 3 December 16th 04 02:05 PM


All times are GMT +1. The time now is 05:16 AM.

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"