+ Reply to Thread
Results 1 to 17 of 17

Extract data from each group

  1. #1
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Extract data from each group

    Hi excel experts
    the data in column a in groups between STRAT and END
    How can I extract the data from these groups "FN" & "LATESTDATE" & "TEL" in columns G to I?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Extract data from each group

    Hello,

    Here's a suggestion :


    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    thank you very much
    If you copied cells from A10 to A18 and paste them into A28 and tried the code you will find the last one with wrong data
    and as for the yellow group I need to extract the other information even if the information is not full so in this case the LATESTDATE and TEL should extracted
    I prefer to depend on START & END

  4. #4
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    bump bump can you help please?

  5. #5
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    bump bump

    can you help please?

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Extract data from each group

    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.

    From the forum rules (link in the main menu above):
    • If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Extract data from each group

    Pl see attached file and code for macro.
    I am not able to post code alone.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  8. #8
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    thanks a lot for help me
    I tested the file but I got only one result for the first group

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Extract data from each group

    upload the sample file.

  10. #10
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    Here's the final example
    Attached Files Attached Files

  11. #11
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Extract data from each group

    Try
    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    Amzing jindon. Works like charming
    thank you very much

  13. #13
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    How can instead of 'No Name' I got the part '=D9=88=D8=AD=D9=8A=D8=AF=20=D8=B9=D8=AA=D8=A7=D8=A8=D9=8A' ?

  14. #14
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Extract data from each group

    Because you didn't explain the logic clearly, I wrote the code based on your data and the results in you attached workbook.
    Still a guess and if this is not how you wanted, you need to show us the data and the result that you want.

    Try change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    In the results of your code, in G4 I got 'No Name' and that result should be '=D9=88=D8=AD=D9=8A=D8=AF=20=D8=B9=D8=AA=D8=A7=D8=A8=D9=8A' instead of that text 'No Name'
    that's the only change I need

  16. #16
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Extract data from each group

    try
    Please Login or Register  to view this content.

  17. #17
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Extract data from each group

    thank you very much. you helped me a lot. you are so great

+ 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. Group multiple radio buttons and extract data to report
    By michael35 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2018, 10:57 PM
  2. Group Weekly Data with Totals for that Week VBA - Group by Date
    By CHRISOK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2017, 11:50 AM
  3. Replies: 6
    Last Post: 08-09-2016, 10:50 AM
  4. group matching and insert group of relevant data
    By kitkitkat430 in forum Excel General
    Replies: 1
    Last Post: 10-27-2015, 04:03 AM
  5. Extract data from multiple columns, group and sum up unique values
    By Alcotraz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-05-2015, 06:54 PM
  6. Formula That Will Allow Me To Extract Date Range From Sub-Group
    By thomas.jones@perform in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-22-2013, 02:37 PM
  7. Macro to extract data into different tabs for each values in column D "Group"
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-26-2012, 03:30 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