+ Reply to Thread
Results 1 to 6 of 6

Specific number of cell to fill with color based in a dynamic cell range

  1. #1
    Registered User
    Join Date
    03-20-2010
    Location
    Portugal
    MS-Off Ver
    Excel 2019
    Posts
    69

    Specific number of cell to fill with color based in a dynamic cell range

    Specific number of cell to fill with color based in a dynamic cell range:

    Example to SUM:
    If cell D10 have the value 5 SUM from A10 to A15.
    If the number from cell D10 changes to 7 and SUM changes from A10 to A17.

    Thanks to "Ron Coderre":
    Please Login or Register  to view this content.
    But now,i was wondering... its possible to fill the cells with color?
    Example:
    If D10 have the value "2" then the cell A10 to A12 will be filled also with color.

    I´ve tried to use the Conditional Formation with formula but i couldn't do it.
    Can i use "INDEX" in the conditional formating in the section "applies to"?

    If the value from the cell D10 changes the number of cells that will be filled with color will change also.

    Thank you.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Specific number of cell to fill with color based in a dynamic cell range

    You may try something like this......

    Select A10:A20 and make a New Rule for conditional formatting using the formula given below and set the format as per your choice.

    Please Login or Register  to view this content.
    Does this help?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Specific number of cell to fill with color based in a dynamic cell range

    Hello
    Select range from A10:A100 or to whatever your range is...
    Try this formula for conditional formatting
    =ROW()<=($D$10+10)
    Hope this helps!!
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  4. #4
    Registered User
    Join Date
    03-20-2010
    Location
    Portugal
    MS-Off Ver
    Excel 2019
    Posts
    69

    Re: Specific number of cell to fill with color based in a dynamic cell range

    Like this it works:

    Please Login or Register  to view this content.
    Thank you.
    Last edited by Blue_Wings; 02-28-2015 at 05:06 PM.

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Specific number of cell to fill with color based in a dynamic cell range

    Please see the attached.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,306

    Re: Specific number of cell to fill with color based in a dynamic cell range

    Try this formula for conditional formatting
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Specific number of cell to fill with color based in a dynamic cell range
    By Blue_Wings in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2015, 10:10 AM
  2. Replies: 5
    Last Post: 07-16-2014, 07:46 AM
  3. [SOLVED] change fill color of a range of cells based on color of a cell?
    By DarMelNel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2014, 04:48 PM
  4. Dynamic Auto-Fill Range based upon Specific number of rows
    By a333 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2013, 03:54 AM
  5. [SOLVED] I am trying to color fill a cell based on specific criteria
    By jglen in forum Excel General
    Replies: 1
    Last Post: 05-27-2005, 01:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1