+ Reply to Thread
Results 1 to 15 of 15

Data transfer

  1. #1
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Data transfer

    Hi,

    I have a task which requires me to transfer data from one sheet to another, but the sequence is different.
    Layout is the same, but the data in sheet from which I need to transfer, is messy, it has old entries. The newer ones were added to the bottom.
    I''ve got over 15000 rows to copy over in different places, so I figure out that would take me a week.

    I was wondering if it would be possible to achieve desired result with VBA.

    I've tried formulas but failed.

    Example attached.
    Could anyone advise?

    Thank in advance,
    Matt.

    EDIT:
    Mr Excel forum link:
    https://www.mrexcel.com/forum/excel-...ent-sheet.html
    Attached Files Attached Files
    Last edited by kesh123; 06-13-2018 at 07:16 PM.

  2. #2
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    Sorry, I've changed my example a bit so You would have a better understanding of my problem.

    Attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    This almost does the trick:
    Please Login or Register  to view this content.
    It takes the value (description) from the bottom just like I would like, but I need it to appear in the first location in Main!, and I need it to move a row and execute until all 3 rows filled in Main! sheet.
    BTW. Main locations do not need to have ABC if that would make things easier. To execute this command I've erased ABC, which I could easily erase/add back again with formulas, so no issue there.

    Another example attached, after that code had been executed, and ABCs removed.

    Thanks,
    Matt.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    Please help

  5. #5
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    I am very sorry for posting under myself guys, but this is important to me, I need to bring my topic to the top so people could see it.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Data transfer

    It's fine to bump your thread, however, please remember that those who help here do so voluntarily and of their own goodwill. They live in many different time zones and many will be out at work right now if they are not asleep on the other side of the globe. This is not a paid 'service': members will help when they are ready and able to do so, and not based on your need for urgency. Please do not try to put pressure of time on anyone here: if you get the help you need today, that's fine, but you really should not count on it. Thanks for your understanding and patience.

    From the forum rules (link in the main menu above):
    • If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    Hi Ali,

    Thank You for that, I understand.
    I just wanted to make sure that people could see it

    Im not trying to be annoying, but Im the kind of person that gets excited quickly and cannot wait, and excel scripting is quite exciting for me, however lame it sounds

    Regardless, thanks for everything

  8. #8
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Data transfer


    Hi !

    Post an expected result workbook according to a before workbook, it may be easier to help.

    As the better initial explanation and attachment, the better & quicker solution …

  9. #9
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    Hi Marc,

    Thanks for Your post.

    It's all there, look at Desired result in column C.

    It was quite difficult for me to explain, so I've included desired result in column C in all my attachments, because I believe it's easier to understand the problem this way.

    Anything else I could do, let me know

  10. #10
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Data transfer

    I don't get the logic... row 2 in book2 Main says Data!B2, yet that result you have in Main!B3 not B2...
    Main!B5 says in Col C that it is Data!B5, yet the text is from B7?

    It is also not clear why you are connecting them as you are, unless you want the Description from the same row in sheet "Data" IF and ONLY IF, the location number matches between the 2 sheets in that particular row?
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  11. #11
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    Hi Arkadi,

    Sorry for the confusion, You've must have looked at the last book I've attached, which contains result of the macro I've got.

    I attached before & after books, please see, hope that this will clear out the confusion.
    Attached Files Attached Files

  12. #12
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Data transfer

    Rule 08: Cross-posting Without Telling Us

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question. If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    If you have less than 10 posts, do not try to copy and paste the link. Instead, type the link out in your thread.

    No further help to be offered, please, until the OP has complied with this request.

  13. #13
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    OK i was not trying to hide it

    I was not aware that this is so important

    If anyone's interested in that matter please follow this link:
    https://www.mrexcel.com/forum/excel-...ent-sheet.html

  14. #14
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    bring up my post

  15. #15
    Registered User
    Join Date
    02-23-2018
    Location
    Doncaster, England
    MS-Off Ver
    2010
    Posts
    34

    Re: Data transfer

    Issue solved on MrExcel please follow the link in the first post if You need it.
    Thanks

+ 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. Transfer & confirm data transfer between workbooks
    By fenfool in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2015, 01:10 PM
  2. [SOLVED] Compare Data in 2 Columns in 2 sheet When there is a match transfer data from 2nd Column
    By kellyjo7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2015, 01:05 PM
  3. [SOLVED] Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2013, 08:24 AM
  4. Replies: 1
    Last Post: 05-04-2013, 06:42 PM
  5. Replies: 1
    Last Post: 05-03-2013, 11:38 AM
  6. Replies: 4
    Last Post: 01-18-2013, 10:49 PM
  7. Replies: 11
    Last Post: 07-13-2011, 05:37 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