+ Reply to Thread
Results 1 to 9 of 9

Help with moving values from cell to cell sheet to sheet

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    52

    Help with moving values from cell to cell sheet to sheet

    10minTemplate.xlsx

    Hey All,

    I need a bit of help with the above spreadsheet I am making.

    What I am trying to do in plain English is compare cell D8 with Sheet2 C3:AG3

    if the 2 numbers match take a value from the sale column and place it in another.

    eg. "Sheet1 D8 = 8 compares all the values across Sheet 2 and finds that J3 = 8 looks down at J6"target unit" and then takes that value and inputs it into Sheet1 B17"

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Help with moving values from cell to cell sheet to sheet

    "Sheet1 D8 = 8
    Sheet1 D8 = 1, not 8?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Help with moving values from cell to cell sheet to sheet

    I think this is what you want, but the row "headings on each sheet need to be identical...
    =INDEX(Sheet2!$A$3:$AH$11,MATCH($A17,Sheet2!$A$3:$A$11,0),MATCH(Sheet1!$D$8,Sheet2!$A$3:$AH$3,0))

    So you need to change "daily Target" to "Target Units" (or vice versa)

  4. #4
    Registered User
    Join Date
    06-07-2012
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    52

    Re: Help with moving values from cell to cell sheet to sheet

    Quote Originally Posted by FDibbins View Post
    Sheet1 D8 = 1, not 8?
    Yes it does I was just giving 8 as an example. the Field in D8 will be changed daily to reflect a working day

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Help with moving values from cell to cell sheet to sheet

    Yes I figured that after I went deeper into what you wanted (I guess Im a very visual kinda guy lol)

  6. #6
    Registered User
    Join Date
    06-07-2012
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    52

    Re: Help with moving values from cell to cell sheet to sheet

    Sorry that didnt work. I probably should have also mentioned that the formula will be in B17.

    So B17 looks at D8 to see what working day it is... Then matches the day with the same day on sheet 2 across C3:AG3 once its found the same day looks down at the corresponding value in row 6 and then places that number back into B17

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Help with moving values from cell to cell sheet to sheet

    Sorry that didnt work.
    what didnt work?

    with 1 in sheet1 D8, I put xx in sheet2 C6, and thats exactly what i got for an answer in sheet1 B17?

  8. #8
    Registered User
    Join Date
    06-07-2012
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    52

    Re: Help with moving values from cell to cell sheet to sheet

    Ah yes thank u kimosabe!

    I spelled the Daily target title wrong and then it worked!

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Help with moving values from cell to cell sheet to sheet

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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: 5
    Last Post: 02-21-2013, 07:17 PM
  2. [SOLVED] Moving A Cell From one sheet to another based on 'Status' i.e. Column Cell
    By warri0r in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2013, 12:58 PM
  3. Replies: 2
    Last Post: 10-09-2012, 08:40 PM
  4. moving value to same cell different sheet
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2010, 04:02 PM
  5. based on Cell/Column content ,cut one sheet's values and paste it in other sheet?
    By mindpeace in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-25-2006, 08:33 AM

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