+ Reply to Thread
Results 1 to 12 of 12

extracting data into relevant fields

  1. #1
    Registered User
    Join Date
    11-19-2013
    Location
    Wroclaw
    MS-Off Ver
    Excel 2003
    Posts
    23

    extracting data into relevant fields

    Hello,
    I need to extract values from F,G,H,I,J and L into another worksheet.
    According to values in column B, data should look like in the second worksheet in the attachment. Problem is, returned L values can be 1,2,3 or more and has to be one after each other in a row.
    So, I need the logic, if it is within "x" value, take all values in L as a row.
    Thx,
    Attached Files Attached Files

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

    Re: extracting data into relevant fields

    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-19-2013
    Location
    Wroclaw
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: extracting data into relevant fields

    Macro works however it skips data. How can we include all the values?
    Attached Files Attached Files

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

    Re: extracting data into relevant fields

    Change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-19-2013
    Location
    Wroclaw
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: extracting data into relevant fields

    I still have missing data
    i = i + n - 2 doesn't work

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

    Re: extracting data into relevant fields

    .....................
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-19-2013
    Location
    Wroclaw
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: extracting data into relevant fields

    Still, I have missing results. Can you please check macro again? I have 7 numbers in column B but macro returns only 3 rows.
    Attached Files Attached Files

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

    Re: extracting data into relevant fields

    What is your desired result then?

    The code has been written according to your desired format in your 1st file.

  9. #9
    Registered User
    Join Date
    11-19-2013
    Location
    Wroclaw
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: extracting data into relevant fields

    I am attaching the desired output. I am sorry if I was not clear enough in the beginning.
    Attached Files Attached Files

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

    Re: extracting data into relevant fields

    OK, now clear...
    This should do.
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    11-19-2013
    Location
    Wroclaw
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: extracting data into relevant fields

    It turned out that I need more information to extract from the original sheet. Can you please include them as well (in desired column field)?
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    11-19-2013
    Location
    Wroclaw
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: extracting data into relevant fields

    Can somebody have a look at my post please?

+ 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. Extracting Certain Fields from XML File to Excel - PLEASE HELP!!!
    By pritchard.ev in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2017, 01:05 AM
  2. Extracting Information From 8 Fields in excel and Placing it into a Powerpoint Table
    By Wesley0705 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2013, 11:50 PM
  3. Replies: 7
    Last Post: 05-23-2013, 05:20 PM
  4. Replies: 3
    Last Post: 05-01-2013, 09:25 PM
  5. [SOLVED] Excel 2007 : Extracting numbers into text fields
    By pennywaltz in forum Excel General
    Replies: 2
    Last Post: 06-18-2012, 04:57 PM
  6. Extracting Word Custom Fields to Excel
    By kevin.carbonaro in forum Excel General
    Replies: 0
    Last Post: 10-11-2011, 05:21 AM
  7. macro for Extracting relevant data from an excel database
    By cbhawsar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2011, 11:50 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