+ Reply to Thread
Results 1 to 24 of 24

Automatic Priority re-ordering possible?

  1. #1
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Question Automatic Priority re-ordering possible?

    Hi All,
    I am a beginner level Excel user who has recently been experimenting with scheduling abilities in the program. I've been asked by my boss if automatic priority setting is possible as well, and I honestly have no idea. For example,

    I would like to be able to automatically update a listing of Projects based on level of importance after one is completed. I have provided a picture to show what I would like to automate. ExcelSchedule screenshot.JPG
    Let me know if it's even possible and if so how can it be accomplished...
    *willing to move location of list if needed as well.*

    Thanks!

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    Can you attach a copy of your file? Also, how do you indicate if a project is complete?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Question Re: Automatic Priority re-ordering possible?

    Here is a copy and I'm not really sure how I'd prefer to represent a completed task. Right now I just have it numbered 1(most important) - #n (least important). Honestly, even if you could just show me how to get it to automatically renumber the tasks starting over from 1 again after one task is deleted (meaning completion), that would work as well. I just need a way of establishing importance. Whatever you think would work. Thank you!LASER_TASK_SCHEDULE_Group_tester.xlsx

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    Just to clarify ... if column L has the number 1 typed into it, you want that row deleted and everything below to move up and re-number. Is this correct?

  5. #5
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    Yes, that's right.

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    Try the attached file. When a project is completed, type the word "Complete" in column L to replace the existing priority number and exit the cell. I'm not sure what your command button did, but if it's no longer necessary, you could delete it.
    Attached Files Attached Files
    Last edited by Mumps1; 01-21-2015 at 01:18 PM.

  7. #7
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Question Re: Automatic Priority re-ordering possible?

    Mumps,

    It didn't seem to work, maybe it's something I'm doing wrong? I attached a screenshot of the result.screenshot.JPG

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    Type the word "Complete" not "Completed". If you want to use "Completed" you can change the line in the code that refers to it.

  9. #9
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    Oh, yeah sorry I did do that. I tried both. I changed it to Completed in the code as well.

  10. #10
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    So did it work as you wanted?

  11. #11
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    What I sent you previously was the result after I tried all of those. Should have clarified.

  12. #12
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    When I try it, it works perfectly. Are you saying that it still isn't working for you?

  13. #13
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    Yeah, I'm not sure why. May just have to admit defeat and figure out another way. Thank you for your help though!

  14. #14
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    That is strange. Are you typing the word "Complete" or "Completed" with the capital "C"? are you getting any error messages? Could I ask you to attach a copy of the file that's not working for you and I'll see how it works for me?

  15. #15
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Question Re: Automatic Priority re-ordering possible?

    scmason247.xlsmYup, all of the above. I'm thinking it may just be because I'm opening it on my work computer and marcos or something are not allowed to be enabled. But I'll send you the file to check.

  16. #16
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    It worked for me. If macros are enabled, it's not going to work.

  17. #17
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    Oh I see, still no result after I tried that. Could you maybe try doing what you did but delete that command box that's there, its not needed. It won't let me get rid of it on my end, maybe that is the issue?

  18. #18
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    Sorry but in my previous response I should have said that if macros are not enabled, it won't work. In the attachment in this post, I removed the button but that shouldn't make any difference. I tried it again and it worked perfectly. Have you enabled macros in Excel? If you haven't and aren't sure of how to do that, please let me know and I'll post the instructions. If you have enabled macros, try one more thing. Hold down the ALT key and press the F11 key to open the Visual Basic Editor so you can see the macro. Hold down the CRTL key and press the letter "G". This will open up the Immediate Window at the bottom. In this window, type: Application.EnableEvents = True and press the ENTER key. Type "Complete" in column L. If this still doesn't work, I can't see any other reason for the problem. Maybe someone else in this forum with more expertise than I could have another solution. You may want to start another thread attaching your file and explaining the problem you're having. Also include what you have tried and isn't working for you.
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    It worked, thank you so much! one more quick question though, is there any chance you can make it so that it only does it for that one column L instead of the row? it deletes the names. If not no problem i'll just retype it!

    You're awesome. Boss will love it.
    Last edited by scmason247; 01-22-2015 at 11:31 AM.

  20. #20
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    I'm not exactly sure what you mean when you say
    it only does it for that one column L instead of the row
    Do you not want to delete the row? Could you please clarify what you want to delete and what you want to keep? Please refer to specific cells and ranges.

  21. #21
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    Basically, is it possible to only automatically order column L, so that when I type in "Complete" only L6-15 or L6- any cell number below 6 are the ones that change? As of now, when I type "Complete" it deletes the whole row across (including the names and everything in the schedule) while it reorders. I'd like the change only to effect the Priority column.

  22. #22
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    See if the attached file works for you.
    Attached Files Attached Files

  23. #23
    Registered User
    Join Date
    01-20-2015
    Location
    CT
    MS-Off Ver
    2007
    Posts
    12

    Re: Automatic Priority re-ordering possible?

    Thank you! Works great.

  24. #24
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,884

    Re: Automatic Priority re-ordering possible?

    My pleasure.

+ 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: 10
    Last Post: 01-09-2015, 04:40 PM
  2. Excel ordering rows by priority
    By pabloxls in forum Excel General
    Replies: 5
    Last Post: 01-07-2015, 07:17 PM
  3. VBA Ordering User form for Purchase Ordering.
    By caf20012 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-10-2014, 01:50 PM
  4. Automatic Cell Ordering
    By dompoma in forum Excel General
    Replies: 4
    Last Post: 06-15-2012, 04:52 PM
  5. Automatic Dates against priority ratings
    By tekapo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2010, 05:17 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