+ Reply to Thread
Results 1 to 4 of 4

WHAT-IF Copy & Paste Function

  1. #1
    Registered User
    Join Date
    07-13-2014
    Location
    Kentucky
    MS-Off Ver
    Professional 2013
    Posts
    2

    Question WHAT-IF Copy & Paste Function

    Hey everyone,

    This is my first question on this forum and something I've been trying to figure out for quite some time now. My knowledge of excel is not as extensive as a lot of you on this forum, so I looked at this as an opportunity to learn from you all.
    Pardon me if I don't explain this question that well.

    I have a Grocery Pricing Sheet document with 6 sheets: Kroger, Sam's Club, Walmart, Costco, Liquor Barn, and Grocery List. I currently have a WHAT-IF function set across all sheets where if I add an X in the Buying? column, then it will take the Price from the Price Column of each item with an X and total them. This gives me an idea of how much I will spend on groceries during any given shopping trip so I can budget accordingly.

    What I want to do is create a WHAT-IF function that will copy the Merge Brand/Item Column text from any given sheet and paste/itemize that text on the Grocery List Sheet. That way I have an easier view of what I need to purchase.

    Below is an image attachment to clarify on this idea. I also attached my excel sheet if that helps at all.

    Image
    Attachment 331812

    Excel Document
    Grocery Pricing Sheet.xlsx

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: WHAT-IF Copy & Paste Function

    Try pasting the code below into the grocery list tab in the VBA editor (Alt F11)

    Please Login or Register  to view this content.
    The list is regenerated every time the sheet is activated.

    Save the workbook as .xlsm
    Martin

  3. #3
    Registered User
    Join Date
    07-13-2014
    Location
    Kentucky
    MS-Off Ver
    Professional 2013
    Posts
    2

    Re: WHAT-IF Copy & Paste Function

    Mrice, thank you!! It works great!

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: WHAT-IF Copy & Paste Function

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


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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 / Paste Function
    By atlant15 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2013, 09:57 AM
  2. VBA Copy & Paste Function
    By sal07 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 09-05-2012, 07:21 AM
  3. HOw can I use Copy and Paste Function
    By whygh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2005, 06:00 PM
  4. Copy and Paste Function
    By Nigel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2005, 02:05 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