Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ellie
 
Posts: n/a
Default Conditional format based on data from another column

Hi

Yesterday I asked about the possibility of conditional formatting a range of
20 random numbers into 2 different formats. Thank you for that, but now it
seems that 3 of my 20 numbers are now requiring a different cell to be
highlighted in yet another colour.

Currently the situation is as follows:-

Column G has a list of random numbers ranging from 1-20, with columns either
side pertaining to the random number located in the relevant cell in Column
G.

It now appears that 3 numbers in this random list do not require
highlighting in Column G and have amended the condition formatting for Column
G accordingly, but do require the data located in Column I, relevant to the
random number to be highlighted in a 3rd colour.

Is there any way I may be able to get the cells in Column I to highlight in
a colour subject to the random numbers in Column G (being 7, 13 & 16)?

Hope this makes some sense.

Many thanks.

Ellie
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Hi, Ellie. Use conditional formatting with a formula.
http://www.officearticles.com/excel/...ft_ excel.htm
************
Anne Troy
www.OfficeArticles.com

"Ellie" wrote in message
...
Hi

Yesterday I asked about the possibility of conditional formatting a range
of
20 random numbers into 2 different formats. Thank you for that, but now
it
seems that 3 of my 20 numbers are now requiring a different cell to be
highlighted in yet another colour.

Currently the situation is as follows:-

Column G has a list of random numbers ranging from 1-20, with columns
either
side pertaining to the random number located in the relevant cell in
Column
G.

It now appears that 3 numbers in this random list do not require
highlighting in Column G and have amended the condition formatting for
Column
G accordingly, but do require the data located in Column I, relevant to
the
random number to be highlighted in a 3rd colour.

Is there any way I may be able to get the cells in Column I to highlight
in
a colour subject to the random numbers in Column G (being 7, 13 & 16)?

Hope this makes some sense.

Many thanks.

Ellie



  #3   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

Yes, you can apply the conditional formatting in column I, and use a
formula to refer the the contents of column G.

For example, with cell I2 as the active cell, choose FormatConditional
Formatting
From the first dropdown, choose Formula Is
In the formula box, type: =G2=7
Click the Format button, and add the formatting you want for that number.
Click the Add button, and do the next two conditions.

You can use the Format Painter to copy the formatting to the remaining
cells in column I.

There's an example he

http://www.contextures.com/xlCondFormat02.html


Ellie wrote:
Hi

Yesterday I asked about the possibility of conditional formatting a range of
20 random numbers into 2 different formats. Thank you for that, but now it
seems that 3 of my 20 numbers are now requiring a different cell to be
highlighted in yet another colour.

Currently the situation is as follows:-

Column G has a list of random numbers ranging from 1-20, with columns either
side pertaining to the random number located in the relevant cell in Column
G.

It now appears that 3 numbers in this random list do not require
highlighting in Column G and have amended the condition formatting for Column
G accordingly, but do require the data located in Column I, relevant to the
random number to be highlighted in a 3rd colour.

Is there any way I may be able to get the cells in Column I to highlight in
a colour subject to the random numbers in Column G (being 7, 13 & 16)?

Hope this makes some sense.

Many thanks.

Ellie



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Conditional format based on data from another column

Only problem with this Is I have a listing of 15, a sort by number if you
will, the column will be any number between 1 and 15, I want the
corresponding row to change to a particular background based on that
particular number 1 through 15, in formatting it only allows me to add three,
how do I get the system to allow for all 15?

Thank you for your help.
--
Judy Rose Cohen


"Debra Dalgleish" wrote:

Yes, you can apply the conditional formatting in column I, and use a
formula to refer the the contents of column G.

For example, with cell I2 as the active cell, choose FormatConditional
Formatting
From the first dropdown, choose Formula Is
In the formula box, type: =G2=7
Click the Format button, and add the formatting you want for that number.
Click the Add button, and do the next two conditions.

You can use the Format Painter to copy the formatting to the remaining
cells in column I.

There's an example he

http://www.contextures.com/xlCondFormat02.html


Ellie wrote:
Hi

Yesterday I asked about the possibility of conditional formatting a range of
20 random numbers into 2 different formats. Thank you for that, but now it
seems that 3 of my 20 numbers are now requiring a different cell to be
highlighted in yet another colour.

Currently the situation is as follows:-

Column G has a list of random numbers ranging from 1-20, with columns either
side pertaining to the random number located in the relevant cell in Column
G.

It now appears that 3 numbers in this random list do not require
highlighting in Column G and have amended the condition formatting for Column
G accordingly, but do require the data located in Column I, relevant to the
random number to be highlighted in a 3rd colour.

Is there any way I may be able to get the cells in Column I to highlight in
a colour subject to the random numbers in Column G (being 7, 13 & 16)?

Hope this makes some sense.

Many thanks.

Ellie



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


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
How do I color specific data series based on location on data she Havard Charts and Charting in Excel 1 July 1st 05 02:06 PM
Keep conditional format when "show pages" from Pivot table Angus Excel Discussion (Misc queries) 7 June 30th 05 01:33 PM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM
Getting data from another workbook based on variable joemc911 Excel Discussion (Misc queries) 3 May 25th 05 09:18 AM
How do I set a Conditional Format for ROWs based on the value of . Wes T Excel Discussion (Misc queries) 3 December 29th 04 06:10 PM


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