+ Reply to Thread
Results 1 to 4 of 4

Copying Data from 1 Sheet to Another

  1. #1
    Registered User
    Join Date
    04-03-2015
    Location
    NY NY
    MS-Off Ver
    Office 365
    Posts
    38

    Copying Data from 1 Sheet to Another

    I have a sheet that contains a master list of products, locations, & delivery days. I want to set up a second sheet where I can manually populate the item name & automatic have the location & delivery info populate.

    For example, based on the attached worksheet, if I type Apples into A2 on the "Ordering Sheet" sheet, I want B2 to populate with "1" & C2 to populate with "Monday".

    Thanks in advance for the help!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-25-2013
    Location
    near Philly, PA USA
    MS-Off Ver
    Excel 2019
    Posts
    178

    Re: Copying Data from 1 Sheet to Another

    See attached file.
    Your master sheet has to have the data in Column A in alphabetical order.

    I added a list to your second sheet for fun.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    01-25-2013
    Location
    near Philly, PA USA
    MS-Off Ver
    Excel 2019
    Posts
    178

    Re: Copying Data from 1 Sheet to Another

    Saq,
    Did this help?
    Bob

  4. #4
    Forum Contributor
    Join Date
    11-11-2004
    MS-Off Ver
    pro + 2019
    Posts
    134

    Re: Copying Data from 1 Sheet to Another

    Quote Originally Posted by saq7792 View Post
    I have a sheet that contains a master list of products, locations, & delivery days. I want to set up a second sheet where I can manually populate the item name & automatic have the location & delivery info populate.

    For example, based on the attached worksheet, if I type Apples into A2 on the "Ordering Sheet" sheet, I want B2 to populate with "1" & C2 to populate with "Monday".

    Thanks in advance for the help!

    On the ordering sheet, you can put this in B2:

    =IF(ISERROR(INDEX('Master Sheet'!B:B,MATCH($A2,'Master Sheet'!$A:$A,0))),"",INDEX('Master Sheet'!B:B,MATCH($A2,'Master Sheet'!$A:$A,0)))

    Then drag it to C2, and the appropriate columns will automatically change.

    The first part (with the ISERROR) is just to keep it clean for when you don't have an item typed in the ColumnA (which gives an error message that looks cluttered).


    Also there are ways to make your fruit list an actual list so you needn't type the names on the ordering sheet--just dropdown and select.
    Also also, if you want, there are ways to make that even cleaner (without using tables) so you can reserve the entire Column A for your items but only have the dropdown list display those items you have entered on the Master Sheet.

+ 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: 3
    Last Post: 03-19-2021, 07:43 PM
  2. Replies: 1
    Last Post: 05-12-2016, 03:36 AM
  3. Replies: 2
    Last Post: 05-12-2016, 03:08 AM
  4. Replies: 8
    Last Post: 02-01-2016, 09:30 AM
  5. [SOLVED] Code from tigeravatar ,Copying data from one sheet and copying it
    By DanielRay in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-07-2012, 03:07 PM
  6. [SOLVED] Macro for copying data from one column in sheet 2 based on two criterias in sheet 1
    By baardings in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-13-2012, 01:50 PM
  7. Copying a template sheet and putting those multiple sheets data into a summary sheet
    By John Wolfe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2011, 06:29 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