+ Reply to Thread
Results 1 to 22 of 22

Conditional Formatting - Up Red Arrow and Down Green Arrow

  1. #1
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Conditional Formatting - Up Red Arrow and Down Green Arrow

    Hi Helpers!

    I have a KPI report I need trend arrows in, but based on 2 criteria, an up or down arrow based on whether there is improvement from previous and either red or green based on whether it is above threshold.

    I've searched the forum and found this from 2016 but no matter how I tweak it I can't get it to work to my rules:

    jason.b75 jason.b75 is offline
    Forum Expert
    Assuming value of interest in A1, enter this formula in B1, and fill down.
    =IF(A1<0,CHAR(234),CHAR(233))
    Apply the 'wingdings' font to column B.
    Next apply conditional formatting to column B, using 2 formulas as rules.
    First rule, changes font colour to green.
    =B1=CHAR(234)
    Second rule, changes font colour to red.
    =B1=CHAR(234)
    There are a couple of other arrow styles using the same font.

    I've followed several multi step paths through conditional formattiong icon sets from the web but nothing seems to be giving the desired outcome, I have attached a sample sheet of what I want to achieve, although the arrows in the outcome cells are pasted in jpegs not from formula or formatting icons.

    thanks in advance!

    Jason
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    I cannot see where you have tried to apply this. Please provide a workbook theat includes your attempts so that we can troubleshoot them. What EXACTLY have you tried?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Thanks for taking the time to look at this, unfortunately I didn't save out any of the conditional formatting icon set routes from the web as none of them worked, I'll have a dig through web history but it was quite the rabbit hole I went down on this yesterday! It seems a common problem to have an upward red arrow and a downward green arrow but all the solutions were just against 1 criteria.

    I've attached an update to the example sheet with the wingdings route i found from this forum from a few years ago

    thanks again

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    You need four rules:

    =AND(G2=CHAR(233),D2<85)
    =AND(G2=CHAR(233),D2>=85)

    =AND(G2=CHAR(234),D2<85)
    =AND(G2=CHAR(234),D2>=85)

  5. #5
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Thank you so much! I've run it in and the arrows are the right way round but the colouring is off, I think I might have skewed something in the conditional formatting build? I built it 1 rule at a time from the new rule / use a formula to determine which cells to format path four times over and then used format painter to apply to to each of the corresponding cells, I've only ever worked with inherited, established conditional formatting before so am probably doing it the wrong way round, please see attached example
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Once again, you need four rules:

    =AND(G2=CHAR(233),D2<85) RED
    =AND(G2=CHAR(233),D2>=85) GREEN

    =AND(G2=CHAR(234),D2<85) RED
    =AND(G2=CHAR(234),D2>=85) GREEN

    You had muddled these up.

    DON'T use format painter. Set ALL rules with just cell G2 selected, then use the Applies to box to set the range. You will find this a much easier way to control what's going on.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  7. #7
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Hi there

    That's great thank you so much!

    I haven't closed the post yet as under either submit reply nor Go Advanced can I see the Add Reputation option, I've hovered over all the above options and they're all the formatting options, below the text box all I have is Post Icons and then additional options of Miscellaneous, Attachments, Subscription and Rate Thread.

    I'd really like to use this add reputation feature, especially if I can go back into previously solved posts and add that retrospectively, I've had some very substantial assistance from this forum :D

    thanks again for your help

    Jason

  8. #8
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Did some digging and found the route to adding rep, thanks again

  9. #9
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Hi AliGW

    I wasn't sure what the proper path was, this same query has developed, do I reopen it or start another post?

    In short as well as the green for above and red for below they've added an amber category in between, so for example:

    Green >= 85
    Amber 81-84
    Red <= 80

    Thanks in advance

    Jason

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    It's fine here - just remove the SOLVED tag for now.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    You need to adapt the LOWER end rules:

    =AND(G2=CHAR(233),D2<=80)
    =AND(G2=CHAR(234),D2<=80)

    and create two new ones:

    =AND(G2=CHAR(233),D2>=81,D2<85)
    =AND(G2=CHAR(234),D2>=81,D2<85)

  12. #12
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Hi AliGW

    Thanks for all your input, after bending my head round trying to add this amber layer in they've removed it, so it's back to a single threshold with red and green above and below and arrows for improvement or decline, but they now also want to see a same as previous month icon as the current version shows an upward arrow if it's the same as previous month.

    I've had a go in the attached so they can pick the look and feel they want but in Icon Sample 1 the Below Threshold and Declining and the Above Threshold and Same variants are returning the wrong colour, they look the same as the others and in the same order, I might have massively overcomplicated it in the way I've built it (I have pulled it back in from the version that has the client data in and lots of different versions against different thresholdS) and i might have just muddled it somewhere but can't see where for the life of me!

    Thanks again for your help with this, I was just getting to the point where i thought i understood it!

    Jason
    Attached Files Attached Files

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Where have you mocked up what you want? Everything has a formula and a CF rule, so I don't know what is as you want it to be and what isn't.

    This is getting complex, so add clear explanations to the sample workbook, please. I'm not going to try to match what you are saying in your post with what I'm seeing in the workbook: you need to do that bit for me (or whowver ands up helping you further). I've already spent a considerable amount of time on this, and you didn't even bother to thank me last time until now when you suddenly want it changing again.

  14. #14
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Well according to the Add Reputation box i submitted i had thanked you, as i have repeatedly in my posts, thanks for your time but i'll work it out myself rather than be told off for inaccuracies.

    Have a better day :D

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    I'm referring to post #11 - there was no response to that from you at all yesterday.

    I can't help you based on your latest workbook - sorry. If you take the time to add the detail I've asked for, then I will have another look. You are not being 'told off' and I have not suggested that there are any 'inaccuracies'.

    i'll work it out myself
    Your choice. Let us know if you get stuck.
    Last edited by AliGW; 07-14-2022 at 08:51 AM.

  16. #16
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Apologies, I might be a bit fried by the sun but I'm always ken to express my gratitude to the help I get from this forum for all the help Ive gotten from it over the years.

    I can't see why Icon Set 1 is returning the wrong colour in E3 and E6. I've attached a workbook with a note in, its the 2 cells with thick borders that aren't behaving as expected, I've also added a word doc with a screen grab of the CF rules for each of the Icon Sample columns in the workbook.

    Apart from the changes of CHAR refs for different icons they all look the same to me!

    thanks again

    Jason
    Attached Files Attached Files

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    OK - thanks. I'll have a peek presently.

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Actually, the Word document was a big help - thanks.

    Look carefully at your rules: some refer to C2 (which is correct) and others to C3.
    Attached Files Attached Files
    Last edited by AliGW; 07-14-2022 at 09:53 AM. Reason: Added example workbook.

  19. #19
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Ha, typical, wheres the massive facepalm emoji when you need him!

    Although I'm maybe more confused now, as the rules for column E where the error was all pointed to C3, it's the other columns, where the colouring was correct, that the C2 / C3 mix was!

    I'm going to review this tomorrow BEFORE the sun gets to me, hopefully the cool be=reeze of morning will bring with it some enlightenment!

    thanks again

  20. #20
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    That's the problem.

    Look at your Word document again: icon 1 was ALL C3, but should have been C2! In my copy, all the rules have been fixed.

  21. #21
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    Hey

    I see clearly now (the heatstoke's gone!)

    The problem I had with yesterday's review is that I was solely looking at the CF rules for Icon Set 1 / column E as they were the ones bringing through the wrong colours, everday has room for learning!

    Thanks so much for your help with this, now they have the same as variant and options for what I will look like when I build it against all the different reporting lines I should hopefully be able to put this to bed and step quietly away from conditional formatting (for now), so for that alone, Thank you so much!

  22. #22
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Conditional Formatting - Up Red Arrow and Down Green Arrow

    No worries. Just remember when you set a rule, with the first cell in the range selected, to make sure that the references are consistent. Then, when you set a range in the Applies to box, all will be well. I never try to use copy paste special for CF - learnt that the hard way!!!

+ 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: 1
    Last Post: 12-16-2019, 06:20 AM
  2. Conditional Formatting Arrow.
    By Sunny2019 in forum Excel General
    Replies: 1
    Last Post: 05-08-2019, 12:38 AM
  3. Arrow and conditional formatting
    By sanlen in forum Excel General
    Replies: 4
    Last Post: 09-23-2015, 12:41 AM
  4. [SOLVED] How to push painted cell using the arrow keys or shape-arrow in Excel - VBA-Offset?
    By Dumy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-04-2015, 05:05 AM
  5. Excel 2007 : Arrow icons in conditional formatting
    By Hollywood in forum Excel General
    Replies: 1
    Last Post: 11-08-2011, 12:33 PM
  6. Changing Arrow colors with conditional formatting
    By bp2010 in forum Excel General
    Replies: 2
    Last Post: 04-27-2010, 04:30 AM
  7. [SOLVED] How to change double arrow to single arrow (older version)
    By Ellen Hall in forum Excel General
    Replies: 2
    Last Post: 10-30-2005, 02:05 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