Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Vic Vic is offline
external usenet poster
 
Posts: 117
Default format adjacent cells

I need to format a cell (change it to red) when the cell adjacent to it
contains the character "x". I did try to look at tthe conditional formating
but colud not find a specific formula to do this, can anyone help me
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default format adjacent cells

Conditional Formatting
=A1="x"
Format any color you want

"vic" wrote:

I need to format a cell (change it to red) when the cell adjacent to it
contains the character "x". I did try to look at tthe conditional formating
but colud not find a specific formula to do this, can anyone help me

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 492
Default format adjacent cells

One formula,
=ISNUMBER(SEARCH("x",A1))
Regards,
Alan.
"vic" wrote in message
...
I need to format a cell (change it to red) when the cell adjacent to it
contains the character "x". I did try to look at tthe conditional
formating
but colud not find a specific formula to do this, can anyone help me



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default format adjacent cells

In the conditional formatting dialog, choose Formula Is instead of Value is,
then type in this formula as shown, changing the F16 to the cell address you
are setting conditional formatting for.
=OFFSET(F16,0,-1)="X"

In this case, when E16 contains x or X, then the conditional formatting will
change F16. You can fill this left/right/up/down as needed - but will result
in an error if you fill all the way into column A, since there is no column
to the left of column A.

Hope it helps you out.

"vic" wrote:

I need to format a cell (change it to red) when the cell adjacent to it
contains the character "x". I did try to look at tthe conditional formating
but colud not find a specific formula to do this, can anyone help me

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
Why will my cells not format? Jamie Kelly New Users to Excel 3 January 13th 06 06:41 PM
how do i add in numbers automatically based on adjacent cells cont lemskibar Excel Discussion (Misc queries) 2 December 22nd 05 05:27 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Number format exactly the same, displays differently in some cells eider Excel Discussion (Misc queries) 1 July 29th 05 12:26 AM
format cells dialog box does not come up GMed Excel Discussion (Misc queries) 1 April 14th 05 05:00 PM


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