+ Reply to Thread
Results 1 to 6 of 6

Pull from Table by Root # and Regroup in Summary

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Pull from Table by Root # and Regroup in Summary

    I'm in over my head on this code. I have a list of items required in for manufacture (on Summary sheet Col A) and a table on Sheet Table where costs were calculated using Sys1 or Sys2. I am attempting to run a macro which will go through the table looking for the items in Summary and paste them into Col F:I if Sys1 and J:L if Sys2 (see expected results in attachment). My code so far
    Please Login or Register  to view this content.
    Can anyone give me some next steps? Actually, I'd like it to total for sys1 and sys2 for each item also. Thanks in advance.
    Attached Files Attached Files
    Last edited by ChemistB; 03-18-2011 at 11:18 AM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Pull from Table by Root # and Regroup in Summary

    Does this help?

    Please Login or Register  to view this content.
    Martin

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pull from Table by Root # and Regroup in Summary

    Thanks, I'm getting there. I need the macro to identify the root number though. It's only pulling over exact matches. The examples I gave are fairly complete. It always starts with the number, then either nothing, an R or a - followed by another number. Values can go into the thousands though so if I'm looking for 103, I don't want it to return 1030 or 1039 but it should return 103-1 or 103R.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pull from Table by Root # and Regroup in Summary

    I have continued this in a new thread. Part 1 is solved.

    http://www.excelforum.com/excel-prog...ml#post2492035

  5. #5
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Pull from Table by Root # and Regroup in Summary

    Possibly..

    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pull from Table by Root # and Regroup in Summary

    Nope, that didn't work either. Check referenced thread (post #4) for latest attachment/coding. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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