+ Reply to Thread
Results 1 to 8 of 8

Formula to duplicate cell content from multiple columns on one sheet onto separate sheet

  1. #1
    Registered User
    Join Date
    12-17-2014
    Location
    Somerset
    MS-Off Ver
    365
    Posts
    17

    Formula to duplicate cell content from multiple columns on one sheet onto separate sheet


    Good morning everyone! I am hoping you can assist with a formula/solution that I am stuck on and am losing the will....

    I have a 'pick list' of items on a sheet which has three columns currently: Item, Category and Description.
    This list will be long and will need to be updated manually as items are added.

    The second sheet is an output table, which will have more than three columns which data is added manually.
    Column A is a dropdown and will select an item from the 'Pick List' sheet.

    Depending on what Item is selected in Column A, I am looking to copy across the associated data into the associated headers for that item. the data will sit into different columns than they originally were though.

    I am trying to make this automated so that out of a potential list of 200 items on the 'Pick List' sheet, I am able to pull across data for selected items on the 'Output'

    To put this in context for a use... A restaurant has a list of all its menu items on the 'Pick List', then the 'Output' could be used for the specials of the day to select certain dishes for the day.
    Hopefully that makes sense?

    I have attached the basic form of the spreadsheet. Can anyone help please?

    Thank you

    Alan
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Formula to duplicate cell content from multiple columns on one sheet onto separate she

    Output

    B2=IFERROR(INDEX('Pick List'!$B$3:$C$100,MATCH(Output!$A2,'Pick List'!$A$3:$A$100,0),MATCH(Output!B$1,Table1[[#Headers],[Category]:[Description]],0)),"")

    Copy across and down

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,419

    Re: Formula to duplicate cell content from multiple columns on one sheet onto separate she

    Please try in B2 and copy to E2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Formula to duplicate cell content from multiple columns on one sheet onto separate she

    Or dynamic arrays:

    =LET(A,Output!A2:A10,B,'Pick List'!A3:A8,C,'Pick List'!B3:B8,BYROW(FILTER(A,A<>""),LAMBDA(x,FILTER(C,(B=x)))))

    and

    =LET(A,Output!A2:A10,B,'Pick List'!A3:A8,C,'Pick List'!C3:C8,BYROW(FILTER(A,A<>""),LAMBDA(x,FILTER(C,(B=x)))))

    Ensure that ALL expected results are deleted first.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    12-17-2014
    Location
    Somerset
    MS-Off Ver
    365
    Posts
    17

    Re: Formula to duplicate cell content from multiple columns on one sheet onto separate she

    Amazing! Thank you so much!

  6. #6
    Registered User
    Join Date
    12-17-2014
    Location
    Somerset
    MS-Off Ver
    365
    Posts
    17

    Re: Formula to duplicate cell content from multiple columns on one sheet onto separate she

    Quote Originally Posted by HansDouwe View Post
    Please try in B2 and copy to E2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Brilliant, I really appreciate your time, help and live example into the attachment! Alan

  7. #7
    Registered User
    Join Date
    12-17-2014
    Location
    Somerset
    MS-Off Ver
    365
    Posts
    17

    Re: Formula to duplicate cell content from multiple columns on one sheet onto separate she

    Quote Originally Posted by Glenn Kennedy View Post
    Or dynamic arrays:

    =LET(A,Output!A2:A10,B,'Pick List'!A3:A8,C,'Pick List'!B3:B8,BYROW(FILTER(A,A<>""),LAMBDA(x,FILTER(C,(B=x)))))

    and

    =LET(A,Output!A2:A10,B,'Pick List'!A3:A8,C,'Pick List'!C3:C8,BYROW(FILTER(A,A<>""),LAMBDA(x,FILTER(C,(B=x)))))

    Ensure that ALL expected results are deleted first.


    Cheers Glenn!! An alternative I will explore and tinker with! You are all absolute legends!!

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,419

    Re: Formula to duplicate cell content from multiple columns on one sheet onto separate she

    Glad to have helped, thanks for the feedback and rep .

+ 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. [SOLVED] Duplicate automatically a sheet content into another sheet
    By Ronald45 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-29-2022, 11:03 AM
  2. Replies: 10
    Last Post: 06-17-2020, 05:19 AM
  3. [SOLVED] Match approach not identifying content on separate sheet
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2019, 07:31 PM
  4. sum of duplicate cell in one sheet and multiple sheet
    By alireza123456 in forum Excel General
    Replies: 6
    Last Post: 08-08-2016, 10:53 PM
  5. Searching Multiple Columns in Separate Sheet for a Match
    By jasonad0017 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-11-2015, 06:38 PM
  6. [SOLVED] Match Multiple Columns from Separate Sheet to get separate column.
    By gvitoro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-19-2014, 03:38 PM
  7. [SOLVED] If cell X's content in Sheet A equals to cell Y's content in Sheet B, Then copy some data.
    By sunheroj in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-09-2012, 09:25 AM

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