+ Reply to Thread
Results 1 to 5 of 5

Power Query (Maybe)

  1. #1
    Registered User
    Join Date
    01-08-2013
    Location
    Oxnard, Ca
    MS-Off Ver
    MS 365
    Posts
    17

    Power Query (Maybe)

    Hi, I am working with several thousand Bill of Materials and the current spreadsheet is 150K+ lines. Office 365
    There are multiple assemblies with various parts and number of parts.

    Here is the mission:
    Find the obsolete items and replace with active parts. (this should have been an ongoing process, but, what ya gonna do)
    Here is the rub: NetSuite needs a full revision uploaded via CSV. Can't just use a CSV to replace one item. You must upload a new revision and then populate with all needed items. So we need to find the obsolete and all other active items in the BOMs and then create a CSV with all active items to upload to NetSuite.

    I will try to explain a different way.

    1. Download raw data from NetSuite (NS)
    2. Find obsolete items to be replaced. Could be multiple items.
    3. Find the BOM name with the obsolete items. Could be multiple obsolete items in one BOM.
    4. Copy and paste the entire BOM with active and obsolete items into another sheet.
    5. Find and replace all obsolete items.
    6. Create and load CSV.

    I hope this isn't confusing. Going to try to upload a few samples to help.

    Thank you in advance

    Tim
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,098

    Re: Power Query (Maybe)

    In the absence of a Power Query solution, or any other proposal, let's go "old school":

    Use a Helper Column, say Column M. Then . . .

    Cell: M2
    =IFNA(VLOOKUP(G2,P:R,3,FALSE),G2)
    and copy down to end of data

    Then copy the entire column M.

    Paste Special | Values over column G

    Delete column M
    (and any unrequired data)

    Save as .csv file (recommend saving with a new file name)

    Upload .csv file


    You could, if you wish, record a macro while you go through the steps manually. However, it will need tweaking and it may not be worth the effort.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,098

    Re: Power Query (Maybe)

    Oh, forgot to ask: are you still using Excel 2007? If you have upgraded to 365, the formula can be made to spill.

    If you have upgraded, please update your profile.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,098

    Re: Power Query (Maybe)

    With 365:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,098

    Re: Power Query (Maybe)

    Thanks for the rep.


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.


    Thanks for updating your profile.

+ 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. Replies: 5
    Last Post: 10-31-2023, 11:12 AM
  2. Power Query - Feeding dynamic sheet name to Power query
    By egoosen3 in forum Excel General
    Replies: 5
    Last Post: 09-13-2023, 07:41 AM
  3. [SOLVED] [Power Query] How to filter 0 from two columns in power query editor in one step?
    By daliye in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2023, 09:44 PM
  4. Replies: 1
    Last Post: 07-14-2023, 10:15 AM
  5. [SOLVED] Power Query - excel formula translation into Power Query
    By afgi in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 02-19-2020, 03:38 AM
  6. Replies: 4
    Last Post: 02-17-2020, 06:03 AM
  7. Sub-Forum for Excel Power Tools (Power Query, Power Pivot & Power BI)
    By chullan88 in forum Suggestions for Improvement
    Replies: 10
    Last Post: 06-28-2018, 02:25 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