Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Fill cells based on value

I am looking for a way to fill a number of cells in a row/column based on a particular cell's value. So, if a cells value is say 7 or 3, then 7 cells or 3 cells must be be filled with a particular colour.

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default Fill cells based on value

I am looking for a way to fill a number of cells in a row/column based
on a particular cell's value. So, if a cells value is say 7 or 3, then 7
cells or 3 cells must be be filled with a particular colour.


In my example, cells of column A are filled in based on the value in cell C1.

Select column A and use "conditional Formatting" with "use a formula". The formula is
=ROW()<=$C$1
Choose the format and click OK.

With Excel 2010, when I update C1 the filled rows don't change (for some reason) until I select column A.

Hope this helps getting started.
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
fill a cell based on another cells value r2rcode Excel Worksheet Functions 3 March 4th 10 05:56 PM
add value of cells based on the formatted fill color mike Excel Worksheet Functions 3 November 5th 09 08:41 PM
Is there a way to add cells based on their shading / fill colour? ChefAtSea Excel Discussion (Misc queries) 2 July 4th 07 01:22 PM
Fill Cells Based On Cells In Another Sheet [email protected] Excel Worksheet Functions 1 May 31st 07 10:30 PM
Fill cells with color based on criteria in two cells AA Excel Worksheet Functions 2 January 3rd 06 12:29 AM


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