Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default can conditional formatting varry the area it highlights based on c

I have a template type spreadsheet and i would like to add conditional
formatting to it, but i don't know if conditional formatting can do this or
not.

I want conditional formatting to highlight rows based upon a value in a cell.

Example: in cell A1 there is a formula that generates a value of 3 ... i
want conditional formatting to then highlight 3 rows ... if the formula
generated a 15 it would then highlight 15 rows.

Any suggestions? thanks!
--
Eric
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 834
Default can conditional formatting varry the area it highlights based on c

Yes, use a formula like this over all potential rows.

=ROW()-ROW($A$10)<=$A$10


---
HTH

Bob Phillips

"Eric D" wrote in message
...
I have a template type spreadsheet and i would like to add conditional
formatting to it, but i don't know if conditional formatting can do this
or
not.

I want conditional formatting to highlight rows based upon a value in a
cell.

Example: in cell A1 there is a formula that generates a value of 3 ... i
want conditional formatting to then highlight 3 rows ... if the formula
generated a 15 it would then highlight 15 rows.

Any suggestions? thanks!
--
Eric



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default can conditional formatting varry the area it highlights based on c

CF/ Formula Is
=ROWS(A$1:A1)<=A$1

Adjust the range to suit your requirement.
--
David Biddulph

"Eric D" wrote in message
...
I have a template type spreadsheet and i would like to add conditional
formatting to it, but i don't know if conditional formatting can do this
or
not.

I want conditional formatting to highlight rows based upon a value in a
cell.

Example: in cell A1 there is a formula that generates a value of 3 ... i
want conditional formatting to then highlight 3 rows ... if the formula
generated a 15 it would then highlight 15 rows.

Any suggestions? thanks!
--
Eric



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default can conditional formatting varry the area it highlights based on c

Highlight all the cells/rows you want formatted. Format - Conditional Format,
Formula is:
=ROW()<=$A$1

Note that if you wanted an offset, say you wanted to highlight rows 5, 6,
and 7, (this is an offset of 4) the formula becomes:
=AND(ROW()+4<=$A$1,ROW()4)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Eric D" wrote:

I have a template type spreadsheet and i would like to add conditional
formatting to it, but i don't know if conditional formatting can do this or
not.

I want conditional formatting to highlight rows based upon a value in a cell.

Example: in cell A1 there is a formula that generates a value of 3 ... i
want conditional formatting to then highlight 3 rows ... if the formula
generated a 15 it would then highlight 15 rows.

Any suggestions? thanks!
--
Eric

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 of Cells Based on Data Entry in anoth Jim Excel Discussion (Misc queries) 3 November 11th 08 11:52 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting Highlights Apptacular Excel Discussion (Misc queries) 1 December 11th 06 10:14 PM
I click on a cell and move the cursor the entire area highlights Pam Excel Discussion (Misc queries) 2 June 20th 05 10:22 PM
I click on a cell and move the cursor the entire area highlights . Pam Excel Discussion (Misc queries) 1 June 20th 05 07:30 PM


All times are GMT +1. The time now is 03:18 PM.

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"