+ Reply to Thread
Results 1 to 11 of 11

Excel 2007 : Conditional Formatting

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    UK
    MS-Off Ver
    2013
    Posts
    32

    Conditional Formatting

    Hi guys,

    I have a document with multiple worksheets, each is a series of results for that day and it will be updated every day.
    From the second sheet onwards i wanted to include the conditional formatting Up and Down arrows, to express whether or not the data has risen or fallen. However without doing it cell by cell i don't know how to do it across the whole worksheet!
    Everytime i copy the format to another cell it copies the identical formula not the next cells data.

    I hope this makes sense, ask any questions that i haven't explained well enough please.

    Also if ANYONE knows how to get the up arrow to be red without a seperate cells along side that would be amazing!

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Conditional Formatting

    The icon sets are fixed, you cannot change them. I would love a green down arrow myself.

    For conditional formatting, it probably does not change the reference because you have used $A$1.
    If you want it to go down the row, use $A1
    If you want it to go across the column, use A$1

  3. #3
    Registered User
    Join Date
    06-21-2012
    Location
    UK
    MS-Off Ver
    2013
    Posts
    32

    Re: Conditional Formatting

    Thanks for getting back to me.

    I'll give up on the arrows then! Will use the grey scale ones.

    I tried as you said.

    I highlighted 1 cell on sheet 2 and then it automatically added the $ '='21.06.2012'!$B$5' so i deleted the second on around the cell number and got an erro message saying i cannot use relative references in conditional formatting?

    Am i doing this right. I click the cell on the 2nd sheet - format - manage rule - change type to 'formula' then select the identical cell from sheet 1 as my value?

  4. #4
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Conditional Formatting

    Hm, yes there are restrictions on relative references on some conditional formatting, such as icon sets.
    If you use the "formula to determine whichc ells to format" that does not have any such restrictions.
    I'm afraid the only other way to apply what you want is via either manual work or VBA (which basically you enter a select range and it does it for you)

    Bob Philips posted a solution for me for a similar issue:
    http://www.excelforum.com/showthread...=1#post2786028

  5. #5
    Registered User
    Join Date
    06-26-2012
    Location
    Grapevine,TX
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Conditional Formatting

    similar issue with conditional formatting
    in column d ( going down the column) i have figures reading from a seperate file "file d1"

    in column f ( going down the column) i have figures reading from a seperate file "file f1"


    i would like to create a conditional format that takes the figure in column F
    and compares is to column D

    if the figure in column f is "less than" column d it should show in green.

    when i copy this format down the column it doesnt adjust it copies the forumla(condition) verbatum ...

    ie. cell F5 looks to cell D5 and comes back as "less than" : copy the condition to cell F6 i would like F6 to look at D6 not D5



    any ideas?
    Attached Images Attached Images

  6. #6
    Registered User
    Join Date
    06-21-2012
    Location
    UK
    MS-Off Ver
    2013
    Posts
    32

    Re: Conditional Formatting

    Ok i guess it's a pretty tricky idea then..

    I've decided to use the Windings tactic but how can i make a formula that looks across the 2 worksheets and returns for example...

    Sheet 2 b1 = n if equal to Sheet 1 b1
    Sheet 2 b1 = m if greater than Sheet 1 b1
    Sheet 2 b1 = e if less than Sheet 1 b1

    if that makes any sense

  7. #7
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Conditional Formatting

    =IF(B1=Sheet1!B1,n,IF(B1>Sheet1!B1,m,IF(B1<Sheet1!B1,e,"")))

  8. #8
    Registered User
    Join Date
    06-21-2012
    Location
    UK
    MS-Off Ver
    2013
    Posts
    32

    Re: Conditional Formatting

    Perfect! You've been a great help!

    Without having to manually select each of the up, down and side arrows can i colour them automatically?

  9. #9
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Conditional Formatting

    This is something I found in a different post:
    Please Login or Register  to view this content.
    You need to highlight the cells you want to change the colors for and then run the macro.

    Remember to mark your thread as solved when your issue has been taken care of and to award points to helpful members via the star button to the left of their posts.
    Last edited by dip11; 06-26-2012 at 11:34 AM.

  10. #10
    Registered User
    Join Date
    06-21-2012
    Location
    UK
    MS-Off Ver
    2013
    Posts
    32

    Re: Conditional Formatting

    I have done as you said in terms of the points reward. You've been a great help.

    About the macro though i'm unsure how this works (Never used them before)

  11. #11
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Conditional Formatting

    Go to view macros, create new macro (enter a name first) and then replace the content of the window that opens with the above code.

    Then close/save and select the windings you want to change and go to view macros again and click Run on that macro.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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