+ Reply to Thread
Results 1 to 4 of 4

automatic transfer

  1. #1
    Registered User
    Join Date
    12-24-2018
    Location
    Hasselt, Belgium
    MS-Off Ver
    2016
    Posts
    2

    automatic transfer

    I do not know if this is already somewhere in a topic.

    how do you do an automatic transfer to a 2nd column?
    example if you are going to deliver at a company then you indicate the company in the first column and the 2nd column automatically gives the number of kilometers.
    I use data validation in the first column.
    the companies are on a different sheet in the same file.


    Nike = 85 km
    Coca Cola = 30km
    Audi = 30km
    samsung 150km

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: automatic transfer

    If you have a list of companies in column A of Sheet2, then in column B you can add the appropriate distances to each one. Assuming you enter the destination in cell A2 of Sheet1, then you can use this formula in B2:

    =IF(A2="","",VLOOKUP(A2,Sheet2!A:B,2,0))

    although, as you are in Belgium, you may need to use semicolons ( ; ) instead of commas ( , ) in the formula, as well as translate the function names, depending on your regional settings.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-24-2018
    Location
    Hasselt, Belgium
    MS-Off Ver
    2016
    Posts
    2

    Post Re: automatic transfer

    I've got it, thanks for your help :D


    I had been looking around for this function for 2 weeks.

    Thanks allot! :D

    I also wish you a nice Christmas and a happy new year :D

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: automatic transfer

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Automatic Data Transfer
    By aroensch in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-13-2017, 12:07 PM
  2. Automatic data transfer
    By cebantos in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2013, 10:24 AM
  3. Automatic transfer of Data
    By ChrisJGGrady in forum Excel General
    Replies: 5
    Last Post: 04-25-2013, 12:35 PM
  4. Automatic data transfer
    By TonerCar in forum Excel General
    Replies: 1
    Last Post: 11-20-2011, 03:48 PM
  5. automatic data transfer
    By Slam21 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-01-2011, 02:00 PM
  6. Automatic data transfer
    By Deeks in forum Excel General
    Replies: 0
    Last Post: 06-14-2010, 09:22 AM
  7. automatic transfer into new row (impossible question??)
    By his5r2m in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2009, 08:38 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