Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional Formatting based on values from other sheet

I have two worksheets: Inventory and Status
Status has two columns

A B
Fridge In Stock
Stove Out of Stock
Oven Low Stock

What I would like to do is when sheet2 is modified, "Fridge" for example is
changed from In Stock to Low Stock it searches Sheet1 for the word "Fridge"
and changes the background color to Yellow.

Because "Fridge" can be in any column or row it can't be tied to a specific
cell.

Is there a way to accomplish this through conditional formatting?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional Formatting based on values from other sheet

--Select the cells in Status : range ColA and B and name those cells as
myRange..
(Select cellsIn the name box (just above cell A1) type myRange and enter)

--In sheet Inventory select the cells
1. Select the cell/Range (say A1:J10). Please note that the cell reference
A1 mentioned in the formula is the active cell in the selection. Active cell
will have a white background even after selection

2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula
=VLOOKUP(A1,myRange,2,0)="Low Stock"

4. Click Format ButtonPattern and select your color (say Yellow)
5. Hit OK..this will highlight all cells in sheet Inventory for which the
status is 'Low'



If this post helps click Yes
---------------
Jacob Skaria


"Dmox" wrote:

I have two worksheets: Inventory and Status
Status has two columns

A B
Fridge In Stock
Stove Out of Stock
Oven Low Stock

What I would like to do is when sheet2 is modified, "Fridge" for example is
changed from In Stock to Low Stock it searches Sheet1 for the word "Fridge"
and changes the background color to Yellow.

Because "Fridge" can be in any column or row it can't be tied to a specific
cell.

Is there a way to accomplish this through conditional formatting?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional Formatting based on values from other sheet

It's working pretty good, but not quite.

If I type in "Fridge" it works great. But if I type in "White Fridge with
black door" it doesn't work. Is there a way to find "Fridge" in a sentence
or a String?

"Jacob Skaria" wrote:

--Select the cells in Status : range ColA and B and name those cells as
myRange..
(Select cellsIn the name box (just above cell A1) type myRange and enter)

--In sheet Inventory select the cells
1. Select the cell/Range (say A1:J10). Please note that the cell reference
A1 mentioned in the formula is the active cell in the selection. Active cell
will have a white background even after selection

2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula
=VLOOKUP(A1,myRange,2,0)="Low Stock"

4. Click Format ButtonPattern and select your color (say Yellow)
5. Hit OK..this will highlight all cells in sheet Inventory for which the
status is 'Low'



If this post helps click Yes
---------------
Jacob Skaria


"Dmox" wrote:

I have two worksheets: Inventory and Status
Status has two columns

A B
Fridge In Stock
Stove Out of Stock
Oven Low Stock

What I would like to do is when sheet2 is modified, "Fridge" for example is
changed from In Stock to Low Stock it searches Sheet1 for the word "Fridge"
and changes the background color to Yellow.

Because "Fridge" can be in any column or row it can't be tied to a specific
cell.

Is there a way to accomplish this through conditional formatting?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional Formatting based on values from other sheet

If I type in "Fridge" it works great. But if I type in "White Fridge with
black door" it doesn't work. Is there a way to find "Fridge" in a sentence
or a String?

"Jacob Skaria" wrote:

--Select the cells in Status : range ColA and B and name those cells as
myRange..
(Select cellsIn the name box (just above cell A1) type myRange and enter)

--In sheet Inventory select the cells
1. Select the cell/Range (say A1:J10). Please note that the cell reference
A1 mentioned in the formula is the active cell in the selection. Active cell
will have a white background even after selection

2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula
=VLOOKUP(A1,myRange,2,0)="Low Stock"

4. Click Format ButtonPattern and select your color (say Yellow)
5. Hit OK..this will highlight all cells in sheet Inventory for which the
status is 'Low'



If this post helps click Yes
---------------
Jacob Skaria


"Dmox" wrote:

I have two worksheets: Inventory and Status
Status has two columns

A B
Fridge In Stock
Stove Out of Stock
Oven Low Stock

What I would like to do is when sheet2 is modified, "Fridge" for example is
changed from In Stock to Low Stock it searches Sheet1 for the word "Fridge"
and changes the background color to Yellow.

Because "Fridge" can be in any column or row it can't be tied to a specific
cell.

Is there a way to accomplish this through conditional formatting?

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 based on top values Cecilia Excel Worksheet Functions 4 January 5th 08 05:06 PM
Conditional Formatting in Pivot Based on other values in pivot. XL Mats M Excel Discussion (Misc queries) 0 November 7th 07 10:36 AM
Conditional values based on formatting? lerjia Excel Worksheet Functions 2 May 22nd 07 07:18 PM
copy values generated by conditional formula in one sheet to the other work sheet as values ramana Excel Worksheet Functions 1 October 5th 05 01:04 PM
copy values generated by conditional formula in one sheet to the other work sheet as values bobby Excel Discussion (Misc queries) 1 October 5th 05 12:18 PM


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