• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Fill cells based on value

hiwire03

New Member
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
 
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

Remember to desensitize the data.
 
Select D2:R16 >> Conditional Formatting >> New Rule >> Use a formula >> Formula Rule :

=COLUMN()-3<=$C2

>> Click Format >> choose " yellow" for cell back ground color >> OK

upload_2017-11-9_23-50-17.png

Regards
Bosco
 

Attachments

  • CFdemo(2).xlsx
    109.4 KB · Views: 5
Back
Top