+ Reply to Thread
Results 1 to 7 of 7

Pasting Cell Contents into Cells in another worksheet

  1. #1
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    20

    Pasting Cell Contents into Cells in another worksheet

    Hi! I need a little help. Basically, what I'm trying to do is to paste the values of certain cells from other worksheets if certain conditions are met. I think I'm supposed to use the index or match worksheet functions but i'm getting really confused. Can anybody paste sample codes or stuff like that? Help will be much appreciated. Thanks!

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Pasting Cell Contents into Cells in another worksheet

    Hi Edelweiss,

    It would be better if you could upload your sample workbook.. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Pasting Cell Contents into Cells in another worksheet

    Here you go. What I'm basically trying to do is to fill up the "Results" Worksheet, using data from other sheets, say "May 2012". Thank you very much!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Pasting Cell Contents into Cells in another worksheet

    By the way, the content of cell B3 for example in "Results" (for the Daily sales) should be the sum of all the sales of the certain dishname for that day. :3

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Pasting Cell Contents into Cells in another worksheet

    Hi Edelweiss,

    See the attachment...results sheet, B column where I have used the below formula to obtain the required results :-

    =SUMPRODUCT(('May 2012'!$A$6:$A$37=Results!B$2)*('May 2012'!$B$6:$C$37="sales")*(OFFSET('May 2012'!C$6:C$37,0,A3)))

    You can customize this further as per your usage. Thanks.

    Sub2.xlsm

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  6. #6
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Pasting Cell Contents into Cells in another worksheet

    Thank you!

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Pasting Cell Contents into Cells in another worksheet

    You are welcome. . . .

    cheers

    Regards,
    DILIPandey

    <click on below star if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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