+ Reply to Thread
Results 1 to 10 of 10

Help with auto sort/new entered data superseding the previous one

  1. #1
    Registered User
    Join Date
    01-17-2020
    Location
    London, England
    MS-Off Ver
    10
    Posts
    5

    Question Help with auto sort/new entered data superseding the previous one

    Hello all, I'm having a trouble with auto sort.
    I have Sheet 1: 1.PNG
    and Sheet 2: 2.PNG

    What I want is when "Fault", "yes" is entered, the Reference and Project would be copied to Sheet 2. Each "Fault" would therefore be next to a fault Number, "001","002", etc. My problem is when new "fault" is entered, if the reference number is above the previous one, it supersedes it and becomes the new 001.
    3.PNG
    4.PNG
    I was thinking sorting the numbers by date? Or maybe make the next formula in line on sheet 2 to ignore the number of the filled in cell. Any suggestions?

    The formula I used for reference is: =IF(ROWS($A4:A$4)<=$A$3,INDEX('Progress sheet'!$A$1:$A$3457,AGGREGATE(15,3,('Progress sheet'!$U$1:$U$3457="Yes")/('Progress sheet'!$U$1:$U$3457="Yes")*(ROW('Progress sheet'!$U$1:$U$3457)),ROWS($A4:A$4))),"")
    Attached Files Attached Files
    Last edited by lizdali; 01-20-2020 at 08:17 AM.

  2. #2
    Registered User
    Join Date
    01-17-2020
    Location
    London, England
    MS-Off Ver
    10
    Posts
    5

    Re: Help with auto sort/new entered data superseding the previous one

    Any help would be greatly appreciated! I've been stuck with this for some time now and google returned no applicable searches.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Help with auto sort/new entered data superseding the previous one

    Administrative Note:

    We don't expect you to bump threads sooner than 24 hours after your last post or more than once a day Please remember that those who help here do so voluntarily and of their own goodwill. They live in many different time zones and many will be out at work right now if they are not asleep on the other side of the globe. This is not a paid 'service': members will help when they are ready and able to do so, and not 'on demand'. Please do not try to put pressure of time on anyone here: if you get the help you need today, that's fine, but you really should not count on it. Thanks for your understanding and patience.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Help with auto sort/new entered data superseding the previous one

    Administrative note

    Welcome to the forum

    missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  5. #5
    Registered User
    Join Date
    01-17-2020
    Location
    London, England
    MS-Off Ver
    10
    Posts
    5

    Re: Help with auto sort/new entered data superseding the previous one

    I'm not putting pressure on anyone to be prompt with this, and not sure what I've written suggested that. Thanks for making some kind of point? I think.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,544

    Re: Help with auto sort/new entered data superseding the previous one

    This is confusing. In the sample file as well as the screen shot it appears that you want the numbering to correspond to the position of the fault. That is if the fault is in a prior row it will receive a prior fault number.
    However, the description in the post indicates that the fault numbers should be assigned based on when the fault is designated as "yes".
    If the former then the present in the Fault Number column (Fault sheet) could be modified, pasted into cell B4 and then copied down: =IF(C4="","",SUM(B3,1))
    If the later then assigning a time stamp (Ctrl + ; then space Ctrl + Shift + ; ) and filling the Reference column (Fault sheet) using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If neither is true, please clarify and add an example to the file.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    01-17-2020
    Location
    London, England
    MS-Off Ver
    10
    Posts
    5

    Re: Help with auto sort/new entered data superseding the previous one

    Thank you so much for your help! You're right, I need it filled according to "when". Is there a way to automatically assign a timestamp as soon as the fault = "Yes"?

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,544

    Re: Help with auto sort/new entered data superseding the previous one

    You're Welcome. I believe that automatically assigning a timestamp is better accomplished using VBA. You may want to request that a moderator (i.e. send P.M. to Pepe) move this thread to the Excel Programming / VBA / Macros forum so that a contributor with those skills will be more likely to help.
    I hope that you have a blessed day.

  9. #9
    Registered User
    Join Date
    01-17-2020
    Location
    London, England
    MS-Off Ver
    10
    Posts
    5

    Re: Help with auto sort/new entered data superseding the previous one

    Thanks! I actually found another solution - can't believe I haven't thought of it - drop down list! In hidden cell, =NOW() and then next to Fault column, I've introduced a "Fault Date", so in drop down list, you select the date. And it doesn't auto update.
    Thanks for all your help, again. And have a fantastic day too!

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,544

    Re: Help with auto sort/new entered data superseding the previous one

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. It would be helpful to those whom in the future are facing a similar issue, if you could post an sample that demonstrates your solution. I hope that you have a blessed day.

+ 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. [SOLVED] Auto Sort Data As Information Is Entered
    By curtisglas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-07-2015, 03:45 AM
  2. Auto Sort When Date Is Entered
    By Lauratb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2013, 07:35 AM
  3. Auto Sort When Date Is Entered
    By suehatesyou in forum Excel General
    Replies: 6
    Last Post: 09-05-2013, 05:56 PM
  4. Macro required to auto sort worksheet when new data is entered
    By ravinella in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-21-2013, 11:32 AM
  5. Replies: 1
    Last Post: 01-22-2013, 08:41 AM
  6. Alpabetically Auto Sort when new data is entered
    By mstry510 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-04-2012, 08:39 AM
  7. Auto sort text as it is entered
    By sledge97 in forum Excel General
    Replies: 3
    Last Post: 05-26-2005, 03:41 PM

Tags for this Thread

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