+ Reply to Thread
Results 1 to 2 of 2

Copy data from one worksheet to another if text is the same

  1. #1
    Registered User
    Join Date
    04-14-2014
    Location
    Cardiff
    MS-Off Ver
    Excel 2003
    Posts
    1

    Copy data from one worksheet to another if text is the same

    Hi. Apologies in advance from an (enthusiastic) Excel amateur, with some idea but struggling with this one.

    I'm hoping to create a spreadsheet that will take content of a cell in Column F from one worksheet ('Ingredients') and copy it into subsequent worksheets ('Muffins', 'Sponge' and maybe more) if the text in the Column A of Ingredients is in Column B of Muffins and Sponge.
    I've not explained well. Hopefully the attached shows what I'd like to do.

    In cooking terms.....I've costed the price per unit of ingredients used in recipes ('Ingredients'), and would like that 'Price Per Recipe Unit' to be copied into other worksheets alongside the ingredient name - but only if it's used in the individual recipe ('Muffins', 'Sponge', and more). As the Ingredients Column F is altered (as prices change) I'd like the recipe worksheets to update to reflect this. I can't find a way to make the IF command on its own work for this as it would need list every single text Column A ingredient in the formula, which seems a bit extreme - especially as the list grows. The ingredients won't be listed in the same order on each worksheet.

    Any thoughts - or just empathy - would be greatly appreciated.

    Thank you.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Copy data from one worksheet to another if text is the same

    Try this


    Please Login or Register  to view this content.

+ 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. Copy Data from Multiple Text Files to Single Worksheet
    By Oded_moshe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2013, 12:26 PM
  2. Copy text from set range in one worksheet to named worksheet in another workbook
    By Steven811 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2013, 10:55 AM
  3. Replies: 0
    Last Post: 11-06-2012, 06:44 PM
  4. VBA code to copy data from text box and input into a cell in another worksheet
    By bobaftt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-29-2011, 01:49 AM
  5. Copy data from cell in one worksheet, add text, and paste to cell in another sheet
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-14-2009, 01:27 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