+ Reply to Thread
Results 1 to 8 of 8

Formula using arrow icons to show trend

  1. #1
    Registered User
    Join Date
    02-19-2007
    Posts
    43

    Formula using arrow icons to show trend

    I'm trying to create a formula where I can show the trend of two values from one month to the next that shows wheather the results went up or down in a positive or negetive value. For example:

    If I have a transfer % of 18% in October and November MTD is at 17% - the arrow would then reflect downward showing in green, as the lower percentage is better. but I need the arrow to show upward in Red if say the value for November MTD was 19% instead.

    I tried conditional formatting and attempted an "If" formula. I must not have all the information to create the formula as it errors out on me. I can create it if only looking to reflect one arrow...

    =if(c3<b3,"↓")

    Any help is greatly appreciated.

    FYI - I have excel 2007.
    Last edited by casdaq; 11-16-2009 at 07:55 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula using arrow icons to show trend

    You need a combination of two things:

    first, a formula that will put the arrow in the cell.

    =if(c3<b3,char(234))
    format the cell as wingdings

    Then, conditional formatting to format the font color.

    see attached
    Last edited by teylyn; 11-16-2009 at 07:47 PM.

  3. #3
    Registered User
    Join Date
    02-19-2007
    Posts
    43

    Re: Formula using arrow icons to show trend

    Thank you for the reply. I didn't see anything attached but tried what you mentioned and it didn't seem to work for me. If there is a way to add to my "If" function to show both arrows I think that may be what I'm looking for. Something like this although I know this isnt right...

    =If(c3<b3,"↓")&if(c3>b3,↑)

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula using arrow icons to show trend

    you might want to change to martlett font
    and use say
    =IF(C3<B3,"t",IF(C3>B3,"u","v"))
    this will give
    t gives up triangle
    u down triangle
    v up and down triangle indicating no change
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula using arrow icons to show trend

    sorry, must have forgotten to click the upload button. I added the file above.

  6. #6
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Formula using arrow icons to show trend

    In Excel 2007, you can use conditional formatting with icon sets to show arrows for trends (up, down, stable, etc).

  7. #7
    Registered User
    Join Date
    02-19-2007
    Posts
    43

    Re: Formula using arrow icons to show trend

    Just wanted to thank everyone for their help. I found an old formula I had that worked for this and figured out how best to use it with the conditional formatting.

    Thanks again!

  8. #8
    Registered User
    Join Date
    11-30-2012
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Formula using arrow icons to show trend

    This thread is really helpful! However if I want to include the ranking difference from the last period to show like "up 5", is this possible by using one formula? Also I've tried to combine the arrows with the absolute numbers (by using CONCATENATE formula) but it seems really tricky to combine the winddings font with other formats... I've been pulling off my hair because of this for the whole afternoon!

    Thank you gurus!!

    -Iris

+ 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