+ Reply to Thread
Results 1 to 10 of 10

Conditional Formating an unrelated cell

  1. #1
    Registered User
    Join Date
    02-18-2007
    MS-Off Ver
    Excel 2007 & 2003
    Posts
    25

    Conditional Formating an unrelated cell

    If C4 on sheet 2 is less than 5, then fill cell A2 on sheet 1 with red.

    how can that be done in Excel 2007 without VBA ?
    Last edited by Eddiegnz1; 11-26-2013 at 12:31 PM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: Conditional Formating an unrelated cell

    should be able to

    in cell A2 - conditional format
    formula and put

    =sheet2!c4<5

    see attached
    Attached Files Attached Files
    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
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Conditional Formating an unrelated cell

    You cannot directly reference a cell on another worksheet by conditional formatting (in excel 2003) but you can using a named range.

    Create a named range "formatrng1" and assign it to sheet2 cell C4
    then apply the conditional format to sheet1 A2 of:
    =formatrng1<5
    and change background for conditional format to red.

    Edit: sorry - saw the version on your profile, didn't notice the 2007 bit in the post.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Conditional Formating an unrelated cell

    Your comment stands for 2007 as well, 2007 also cannot directly reference other sheets
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Conditional Formating an unrelated cell

    oh right, saw etaf had uploaded a workbook with that method so assumed it worked in later versions..

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Conditional Formating an unrelated cell

    I think they fixed that in 2010
    Your profile suggests 2003 as well?

  7. #7
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Conditional Formating an unrelated cell

    FDibbins - if that is aimed at me, then yes I use 2003.

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

    Re: Conditional Formating an unrelated cell

    my solution was for 2010 - should have said

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Conditional Formating an unrelated cell

    Quote Originally Posted by yudlugar View Post
    FDibbins - if that is aimed at me, then yes I use 2003.
    Yes it was, I thought I had seen you respond to .xlsx-type questions

  10. #10
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Conditional Formating an unrelated cell

    @FDibbins

    It's a reluctant attempt to try and pick up 2007 before I'm forced to change at work..

+ 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. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  2. [SOLVED] Conditional formating where cell value does not contain
    By dalej in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 11-04-2013, 04:31 PM
  3. How to add conditional formating to another cell
    By summer2010 in forum Excel General
    Replies: 4
    Last Post: 10-04-2010, 05:49 AM
  4. Conditional formating, using other cell
    By tkuia in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-26-2007, 11:29 AM
  5. Replies: 3
    Last Post: 03-30-2006, 10:02 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