+ Reply to Thread
Results 1 to 5 of 5

conditional format for trendline

  1. #1
    Registered User
    Join Date
    04-10-2010
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    148

    Thumbs up conditional format for trendline

    Hi,

    Is there any way to apply conditional format on a trendlline and series name in xl 2003 or is there any alternative trick for that?
    Last edited by Ralem; 06-09-2010 at 09:18 AM.
    Cheers
    Ralem

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,466

    Re: conditional format for trendline

    Depending on the condition and formatting you could use additional series or VBA coding.

    Care to explain further? Maybe post a workbook to illustrate what you need.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    04-10-2010
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    148

    Re: conditional format for trendline

    Hi,

    Please have a look at the attachment, click on the cells D2 and below to see the formula...
    I'd like to change the trendline color based on the cell D1; if D1=1 then trendline is red,
    if D1=2 then green... is that possible in Xl 2003 without using VB code?
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,466

    Re: conditional format for trendline

    create 2 new series
    remove marker and line formatting
    add trendline to each and colour accordingly
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-10-2010
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    148

    Re: conditional format for trendline

    Thanks Andy, it's a nice solution ;-)

+ 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