Results 1 to 6 of 6

Thread: Filling A Number Of Cells Based On Numerical Value

  1. #1
    Member Ryan_Bernal's Avatar
    Join Date
    Dec 2012
    Posts
    37
    Rep Power
    0

    Filling A Number Of Cells Based On Numerical Value

    Hello guys,
    Good day!
    Need help regarding on this.
    I just want to filling A Number Of Cells Based On Numerical Value.
    So that it will tell the user to input only on the filled cells.
    Let say B3 is the numerical value and the cells to be filled is from range E3:N10
    The value of B3=5 then the cells should be fill are range E3:I5.
    When there is data that will be inputted after I5 the cell will filled with red color.
    Here is my workbook.
    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Member Ryan_Bernal's Avatar
    Join Date
    Dec 2012
    Posts
    37
    Rep Power
    0
    I already solve my own problem. using conditional formatting.
    But if you have better solutions, please let me know.
    Thank you so much.
    Attached Files Attached Files

  3. #3
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Thanks for sharing
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  4. #4
    Member Ryan_Bernal's Avatar
    Join Date
    Dec 2012
    Posts
    37
    Rep Power
    0
    Quote Originally Posted by Admin View Post
    Thanks for sharing
    I am much thankful to become a member of this forum. Excelfox.com ROCKS!!! \íi/

  5. #5
    Junior Member
    Join Date
    Dec 2012
    Posts
    16
    Rep Power
    0
    Hi Ryan_Bernal

    Another solution for the formatting might be.
    Rule 1 Green: =COLUMNS($E$3:E3)<=$B$3
    Rule 2 Red: =AND(E$3<>"",COLUMNS($E$3:E3)>$B$3)

    Kevin

  6. #6
    Member Ryan_Bernal's Avatar
    Join Date
    Dec 2012
    Posts
    37
    Rep Power
    0
    Quote Originally Posted by Kevin@Radstock View Post
    Hi Ryan_Bernal

    Another solution for the formatting might be.
    Rule 1 Green: =COLUMNS($E$3:E3)<=$B$3
    Rule 2 Red: =AND(E$3<>"",COLUMNS($E$3:E3)>$B$3)

    Kevin
    Thanks bro.

    https://www.youtube.com/channel/UCnxwq2aGJRbjOo_MO54oaHA
    Last edited by DocAElstein; 06-10-2023 at 03:37 PM.

Similar Threads

  1. Replies: 3
    Last Post: 05-23-2013, 11:17 PM
  2. Replies: 4
    Last Post: 05-05-2013, 04:01 AM
  3. Replies: 2
    Last Post: 01-24-2013, 09:03 PM
  4. Replies: 1
    Last Post: 12-04-2012, 08:56 AM
  5. Format Cells Based on Given Input
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 10
    Last Post: 08-23-2011, 11:19 AM

Posting Permissions

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