+ Reply to Thread
Results 1 to 9 of 9

Cell formatting based on criteria setup on another sheet

  1. #1
    Registered User
    Join Date
    03-23-2016
    Location
    Southfield, Michigan USA
    MS-Off Ver
    2007
    Posts
    27

    Cell formatting based on criteria setup on another sheet

    Is it possible for a user to enter values into a setup sheet to provide color formatting conditions for cells on another sheet.

    Example:

    I have a sheet that is currently setup so a cell will turn red if the value in that cell is above or below 5. Instead of formatting that cell, I'd like the user to be able to enter another value on another sheet, perhaps with a +/- value, to setup the conditional for cell color change.

    Has anybody done this?

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Cell formatting based on criteria setup on another sheet

    yes
    in the conditional formatting formula
    rather than use a formula

    =A1 > 5

    then use
    =A1 > sheet2!$B$3
    then the value added in sheet 2 cell B3 will be used

    for a range
    =AND ( A1 > sheet2!$B$3 , A1 < sheet2!$C$3 )

    now the range is in
    Sheet2 B3 and C3

    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "Choose File" (top Left corner).
    Find your file, click "Open" click "upload" click 'close windows" Top Right. click "Submit Reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    03-23-2016
    Location
    Southfield, Michigan USA
    MS-Off Ver
    2007
    Posts
    27

    Re: Cell formatting based on criteria setup on another sheet

    attempted to use the range example you provided, but no luck.

    I'm using Excel 2007 if that makes a difference.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Cell formatting based on criteria setup on another sheet

    Does this help?

    Please Login or Register  to view this content.

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Cell formatting based on criteria setup on another sheet

    Please upload a small clean sample of your data / workbook (not a picture) to the forum,

  6. #6
    Registered User
    Join Date
    03-23-2016
    Location
    Southfield, Michigan USA
    MS-Off Ver
    2007
    Posts
    27

    Re: Cell formatting based on criteria setup on another sheet

    Quote Originally Posted by JOHN H. DAVIS View Post
    Does this help?

    Please Login or Register  to view this content.
    Hmm, I guess I understand how you arrived at this as an answer, but it isn't what I'm looking for. Good solution if a "+" or "-" is involved, but in my case the +/- was to say a value of 4 to 6 is ok, but anything else should color the cell red.

    As far as uploading my worksheet, I can't do that. The amount of stripping to eliminate secrets would take significant time for my level of understanding, I would probably end up in the penalty box as a result! LOL

    It's ok if we don't come up with a solution on this one. It isn't a high priority. I will think of a better way to describe what I'm trying to do, but I suspect it might not be possible to conditionally format a cell on one sheet based on a value range on another sheet.

    I often ask excel to do things it really doesn't want to/can't do. Nice thing is I have you guys to get me out of hot water and pointed in the right direction!
    Last edited by PlankSpank; 04-11-2016 at 03:00 PM. Reason: clarity

  7. #7
    Registered User
    Join Date
    03-23-2016
    Location
    Southfield, Michigan USA
    MS-Off Ver
    2007
    Posts
    27

    Re: Cell formatting based on criteria setup on another sheet

    Quote Originally Posted by PlankSpank View Post
    Is it possible for a user to enter values into a setup sheet to provide color formatting conditions for cells on another sheet.

    Example:

    I have a sheet that is currently setup so a cell will turn red if the value in that cell is above or below 5. Instead of formatting that cell, I'd like the user to be able to enter another value on another sheet, perhaps with a +/- value, to setup the conditional for cell color change.

    Has anybody done this?
    Yep, managed to confuse myself reading this again.

    I intended it to convey this:

    data sheet currently has a cell with conditional formatting that turns red if the value is less than 4 or greater than 6. It works great, no issues.

    What I would like to do is:

    use a setup sheet to set the error range on the data sheet cell as a user input. So in one cell the user would enter the low range, in this case 4. In another cell, the user would enter the high range, in this case 6. This would provide the ability for the user to enter a custom error range for the conditional format, which is turn the cell red if the value is outside the specified range.

    Is that a more clear question? I'm trying here! LOL
    Last edited by PlankSpank; 04-11-2016 at 03:01 PM.

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Cell formatting based on criteria setup on another sheet

    but I suspect it might not be possible to conditionally format a cell on one sheet based on a value range on another sheet.
    it is possible

    heres an example

    sheet 1 - put the range
    row 5 is for between on sheet2
    row 10 is for outside range on sheet3
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Cell formatting based on criteria setup on another sheet

    Perhaps:

    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. Custom cell formatting & Completion time based on criteria check
    By Danyal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2015, 06:11 AM
  2. Replies: 1
    Last Post: 07-06-2015, 10:52 AM
  3. Need help how to setup code to create new sheets to a template based on a master sheet
    By Badassfullsize in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2015, 11:15 PM
  4. [SOLVED] Conditional Formatting - Highlight cell based on two criteria
    By HomerGuy in forum Excel General
    Replies: 3
    Last Post: 01-26-2015, 03:50 PM
  5. Reference A Cell From One Sheet Into Another Sheet Based On 3 Criteria
    By rlh06 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-10-2013, 05:13 PM
  6. Using formulas/conditional formatting to change fill of cell based on two criteria
    By 121jessawatts in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-09-2013, 09:42 PM
  7. Conditional Formatting based on 3 different cell values (criteria)
    By xlguy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-05-2007, 05:36 AM

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