+ Reply to Thread
Results 1 to 6 of 6

Transfer specific data from 1 worksheet to another using conditions

  1. #1
    Registered User
    Join Date
    11-23-2010
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    3

    Unhappy Transfer specific data from 1 worksheet to another using conditions

    Hi all,

    I work in the transport industry, and am trying to create a database of movements carried out by specific vehicles. What I need to do is transfer all data in the related row to the relevant sheet, if the column with the vehicle registration on sheet 1 matches the sheet name. I have alread inserted formulaes to do this, but it is very tedious and not very neat (leaving spaces between each movement). I also find that if I insert or delete rows on sheet 1 all the formulaes on the related sheets are changed.

    Please help!
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Transfer specific data from 1 worksheet to another using conditions

    Hello Chrisaaron,

    I struggle to see what you want to achieve. You've dumped a workbook on us, but there is no explanation in your narrative as to what is what and where it is supposed to go.

    There is no "Sheet1" in your file.
    It is not clear at all what your source data is and what your desired output is. You'll need to explain what the outcome is and what rules lead to it.

    Please help us help you. We can't read your mind.

    cheers,

  3. #3
    Registered User
    Join Date
    11-23-2010
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Transfer specific data from 1 worksheet to another using conditions

    Hi Teylyn,

    My apologies for not being to clear. If you take a look at the attached workbook, all data is stored on "Plan". What I would like to do is create a formula to to automatically extract data from "Plan" to a specific worksheet, eg "ND647020", only if the data in "Plan!H" matches the last three digits of the vehicle registration. I have used the following formula:

    =IF(Plan!H15="017",Plan!F15,"")

    But, as I have said in my previous post, this is not very affective, because I cannot add or delete rows in"Plan" with changing the ranges in the formulaes. I also have to continually delete rows on workbooks "ND647020", "ND371504" and "ND647017".

    I hope this clarifies, and appreciate your help.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Transfer specific data from 1 worksheet to another using conditions

    Chrisaaron,

    in the attached file, I've created a simple table with direct references to the plan sheet. In column A I placed the Allocation data. Then I turned on Autofilter and now can filter the data by the values in column A.

    Once filtered, you can enter your data for the other columns.

    This way you don't need a separate sheet for each allocation number and you don't have to painstakingly adjust your formulas.

    Is that something that would work for you?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-23-2010
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Transfer specific data from 1 worksheet to another using conditions

    Thanks, it works, but is there a way to do what I initially planned, cos it's got me stumped... and it's driving me crazy not knowing how to do it.

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Transfer specific data from 1 worksheet to another using conditions

    why would you want to create a sheet for each vehicle when you can just show the data for that vehicle with a mouse click on one single sheet?

+ 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