+ Reply to Thread
Results 1 to 18 of 18

Add arrows whenvalue of cell changes

  1. #1
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Add arrows whenvalue of cell changes

    Hey guys, not sure this is the right sub-forum but hope so. I have a spreadsheet about my pool team and one of the collumns is the percentage of the games each of us has won. What I would like to do (just for one cell, for example my percentage of games i won in total) is when that value goes up a green arrow would appear, when the values goes down a red arrow would appear and if it stays the same a yellow sideways arrow would appear. Is there a way I can do that?

    Thanks in advance guys
    Last edited by Beatriz Conceição; 11-06-2019 at 12:35 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Add arrows whenvalue of cell changes

    Hi. Please read the yellow banner at the top of this page... and then add a sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    example.png
    Don't know why but can't add attachements, hope this image will help.

    When we have a new game the number of games palyed and victories change so the percentages changes too, i would like to add arrow depending on the change of the percentage

  4. #4
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    Not sure if i made myself clear but for example if with the next games my percentage went to 70% a red arrow would appear (since the value before was 75%). And i would like the arrow to appear next to the percentage in a new cell, not sure if this i spossible
    Last edited by Beatriz Conceição; 11-06-2019 at 12:42 PM.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Add arrows whenvalue of cell changes

    Select the cells containing the %s. Conditional formatting/iconsets & choose the top arrow one.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    Thanks for the reply and the help, but that's not really what i want. Take that excel you send me and in cell A2 change the value to 17, the percentage will go down right? so what i wanted was since that value went down a red arrow pointing bottom would show.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Add arrows whenvalue of cell changes

    Well... yes and no. In the case of the FIRST row with data, what arrow direction do you want, Up, down or across, as there is no way of predicting what a non-existent value will be!!
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 11-07-2019 at 04:27 AM.

  8. #8
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    Screenshot_1.png
    Imagine in the next week player 1 does 4 more games and wins all of the games, the percentage of victories will go way up so the arrow should go up. But for example player 2 does 4 games aswell but doenst win any game the percentage goes down so the arrow should go down
    Last edited by Beatriz Conceição; 11-07-2019 at 07:03 AM. Reason: wrong image

  9. #9
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    This is the excel spreadsheet
    Attached Files Attached Files

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Add arrows whenvalue of cell changes

    So, on Post 8.... you reveal a very important factor... you are NOT comparing one row with the next!!! There are different players and it is the rows belonging to EACH player that you want to compare.

    Any other surprises??

    Take a look at this. Happy to explain if it is what you want.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    Yes each row refers to a single player, but i dont want to compare them with each other. Each week we have a game and what i want is to compare for each player the % of victories for each week. so if that percentage goes up a green arrow would appear and if it goes down a red one would appear. I think i suck at explaining what i want lol

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Add arrows whenvalue of cell changes

    Take a look at the sheet I posted and tell me exactly where it does NOT do what you want.

  13. #13
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    you have various row for player 1, 2 and 3 for example. i want just one row for each one like the first sheet i send

  14. #14
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    i'm not sure it's possible to do what i'm asking, sorry for all the trouble and thanks for attention and patience

  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Add arrows whenvalue of cell changes

    Finally, I understand. It cannot be done without VBA, as Excel cannot "remember" the value that USED to be in the cell.

    1. Close this thread.

    2. Prepare a new sheet, without any of my stuff in it - as it's all wrong!!

    3. Post it in the VBA section along with a new clear description. Maybe something like this???


    As each player plays more games, i want excel to compare the Current winning % with the previous winning percentage for each player, individually. So, for example:

    Player X has played 9 games and has won 3. Current win % =33.3%. He player another game and wins it. Now the win % is 40%. I want an upward pointing arrow to show that the win % has increased, side pointing for no change and downward for a decrease in the win %.

  16. #16
    Registered User
    Join Date
    11-06-2019
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    12

    Re: Add arrows whenvalue of cell changes

    ok will do. Thanks a lot for all the help!

  17. #17
    Valued Forum Contributor
    Join Date
    08-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, Office 365
    Posts
    467

    Re: Add arrows whenvalue of cell changes

    Hi Beatriz

    First of all, if a Player plays a game each week, then their win percentage will either increase (if they win their last game), or their win percentage will decrease (if the lose their game, or even 'draw' their game). Their win percentage can never be the same as it was the previous week. Unless they didn't play a game that week...

    If you kept the weekly record of each Player on say, a separate worksheet, then you don't need any vba.
    You can get the results you want, as per your 'summary' example sheet, just by using Excel formulas.

    zeddy
    Excel Nightclub Eviction Enforcer

  18. #18
    Valued Forum Contributor
    Join Date
    08-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, Office 365
    Posts
    467

    Re: Add arrows whenvalue of cell changes

    Hi Beatriz

    If you can clarify whether the results of a game might include 'Draw", i.e. no Win and no Loss, or whether a game always has a winner, and whether Players might 'skip' a week etc etc etc, then I could post an example file which matches your results, using formulas as per my suggestion.

    zeddy
    Excel Curfew Compliance Host

+ 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. Arrows now appear with cell comments
    By Bob H in forum Excel General
    Replies: 3
    Last Post: 12-17-2016, 09:28 PM
  2. Replies: 2
    Last Post: 09-08-2014, 02:22 PM
  3. Replies: 1
    Last Post: 04-18-2013, 05:19 PM
  4. [SOLVED] Excel will not move from cell to cell with arrows, only scrolls
    By negzel in forum Excel General
    Replies: 1
    Last Post: 05-06-2006, 10:43 AM
  5. Replies: 1
    Last Post: 05-06-2006, 09:20 AM
  6. How can i link arrows with cell?
    By Sandip in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-04-2006, 03:20 PM
  7. [SOLVED] Changing cell value with arrows (?)
    By Nigel in forum Excel General
    Replies: 9
    Last Post: 01-25-2005, 01:06 PM

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