Results 1 to 10 of 19

Thread: Copy to Summarise data based on 2 criteria: User ID and gaps in continuous day segments for same user

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    10,457
    Rep Power
    10
    Hello
    Thanks for the file and screenshot.
    ( You seem to have changed the format of column C ? I am not sure why you did that? It can be a bit confusing and irritating to someone trying to help you when you change things for no apparent reason. Perhaps you did not understand fully what I was asking for. I did not ask you to change anything in column C. So I am a bit confused. )

    So we have learnt nothing about the date issue, because you changed the format in column C.

    Question on you
    Why did you change the format in column C?

    You are continuing to make it very difficult to help you.




    But let us try to move on……

    You have given these 3 results for the Number 12345

    12345 22 3-Jan-22 4-Jan-22
    12345 22 6-Jan-22 7-Jan-22
    12345 22 2-Apr-22 4-Apr-22


    Questions for you to answer please

    _(i) Why is this not the correct result?
    12345 22 3-Jan-22 4-Apr-22

    _(ii) Why is this not the correct result?
    12345 22 3-Jan-22 7-Jan-22
    12345 22 2-Apr-22 4-Apr-22

    _(iii) Why is this not the correct result?
    12345 22 3-Jan-22 4-Jan-22
    12345 22 6-Jan-22 4-Apr-22


    Is the answer:- that there is a break in days / missing days
    4-Jan-22 ……… 6-Jan-22
    7-Jan-22 …………………………… 2-Apr-22

    Is the criteria for different rows in the results 2 things:
    _a) Different Number
    and also
    _b) For the same number, if there is a break in days - in other words, for a valid Start date and End date pair in the results, there must be consecutive days in the rows in column C Data to which those Start date and End date pair refer.


    Alan
    Last edited by DocAElstein; 12-10-2022 at 10:48 AM.
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    KILL A MODERATOR!!

  2. #2
    Member ayazgreat's Avatar
    Join Date
    Mar 2012
    Posts
    86
    Rep Power
    14
    Is the answer:- that there is a break in days / missing days
    4-Jan-22 ……… 6-Jan-22
    7-Jan-22 …………………………… 2-Apr-22

    Is the criteria for different rows in the results 2 things:
    _a) Different Number
    and also
    _b) For the same number, if there is a break in days - in other words, for a valid Start date and End date pair in the results, there must be consecutive days in the rows in column C Data to which those Start date and End date pair refer.




    Yes you are right regarding to above all answers
    Last edited by DocAElstein; 12-10-2022 at 02:44 PM.
    Somthing is better than nothing

Similar Threads

  1. Select column based on user input
    By Wall31 in forum Excel Help
    Replies: 4
    Last Post: 06-21-2020, 06:18 AM
  2. Replies: 5
    Last Post: 06-13-2014, 08:37 PM
  3. Copy paste data based on criteria
    By analyst in forum Excel Help
    Replies: 7
    Last Post: 01-13-2014, 12:46 PM
  4. Replies: 2
    Last Post: 09-18-2013, 12:30 AM
  5. Insert Or Delete Columns Based On User Input
    By HDMI in forum Excel Help
    Replies: 4
    Last Post: 06-21-2013, 03:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •