+ Reply to Thread
Results 1 to 3 of 3

Copy data from a sheet based on entered product code

  1. #1
    Registered User
    Join Date
    03-01-2019
    Location
    Pennsylvania, USA
    MS-Off Ver
    Office 365 Business
    Posts
    2

    Copy data from a sheet based on entered product code

    Hello all,

    Hopefully someone can point me in the right direction or let me know if this is even possible without being overly complicated. I've tried implementing vlookup functions, VBA code that copies and pastes data based on a column and row input, but none work anywhere near where I want them. I don't have a lot of VBA coding experience, and only a good understanding of excel functions.

    I have an excel spreadsheet that we enter a product order code. Each part of the code represents a certain "option" that, if selected, adds required parts to the order. What I'm trying to accomplish is to take the master data from one spreadsheet and put it in another spreadsheet that only has the required parts to it.

    Example time...

    Sheet 1 has the following table in it.

    A1 B1 C1 D1 E1 F1 G1 H1 I1 J1

    Each column represent a different "option" and some columns can have more than one option assigned to it. Meaning column 1 can have either option A1 or A2 in it, and subsequently for the remaining columns.

    Now Sheet 2 has a "master list" of every option set up as such:

    Qty1 Description1 Manufacturer1 Option-Code1 (A1)
    Qty2 Description2 Manufacturer2 Option-Code1 (A2)
    Qty3 Description3 Manufacturer3 Option-Code1 (A2)

    And the list continues for about 200 rows. As stated previously, each part "option" can have multiple items assigned to it.

    So in the end, what I'd like is to pull only the records that match the options and put that compiled data on Sheet 3.

    Also, some of the options utilize the same parts. It's not important, and not even required,but is there a way to consolidate the items that repeat and update the required part quantities to total?

    Thanks in advance for any help or suggestions!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Copy data from a sheet based on entered product code

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-01-2019
    Location
    Pennsylvania, USA
    MS-Off Ver
    Office 365 Business
    Posts
    2

    Re: Copy data from a sheet based on entered product code

    My apologies.

    Find attached an example spreadsheet that has sheets populated with some data. The last sheet is what I want to see happen based on the criteria laid out in post 1.
    Attached Files Attached Files

+ 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: 16
    Last Post: 12-23-2017, 11:37 AM
  2. [SOLVED] copy cell data to another sheet based on month entered
    By steve400243 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2016, 02:48 PM
  3. Copy a row record to a sheet based on the date entered in to a cell
    By Gary Stunell in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-02-2016, 05:23 AM
  4. VBA Code to Copy Data sheet to another Based on Dates
    By gomaa1239 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2016, 11:24 AM
  5. [SOLVED] Copy Paste a Range of Values from a Different Sheet Based on Value Entered in Cell
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-13-2015, 04:53 PM
  6. [SOLVED] VBA Code to copy different data from one sheet to multiple sheets based on criteria
    By eharwood in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-08-2014, 02:22 PM
  7. [SOLVED] Find Product Details in Another Sheet based on Product ID and Copy some Fields From there
    By kevalkothari in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2012, 10:43 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