+ Reply to Thread
Results 1 to 2 of 2

Input range and link a cell

  1. #1
    Jane
    Guest

    Input range and link a cell

    Our employees need to record mileage between buildings. We have a workbook
    with two sheets; daily travel and mileage grid of distances between
    buildings. On the daily travel sheet they put in building codes (From-To)
    and get the mileage from the grid. I'd like to automate it so when the
    From-To codes are entered, the mileage from the grid is automatically
    entered. Example: A1=BldgA B1=BldgD C1=mileage from grid. ....Note: A
    Format Control on a form works, but there are several dozen entries, so this
    is too cumbersome.

  2. #2
    Sandy Mann
    Guest

    Re: Input range and link a cell

    Jane,

    With the list of buildings in C2:G2 and again in B3:B7 try using the
    formula:

    =OFFSET(B2,MATCH(H13,B2:B7)-1,MATCH(I13,B2:G2)-1)

    to extract the data from the data contained in the table

    --
    HTH

    Sandy
    sandymann2@mailinator.com
    Replace@mailinator.com with @tiscali.co.uk


    "Jane" <Jane @discussions.microsoft.com> wrote in message
    news:269352A7-6F8E-405A-911F-AAD7F0B19CCB@microsoft.com...
    > Our employees need to record mileage between buildings. We have a
    > workbook
    > with two sheets; daily travel and mileage grid of distances between
    > buildings. On the daily travel sheet they put in building codes (From-To)
    > and get the mileage from the grid. I'd like to automate it so when the
    > From-To codes are entered, the mileage from the grid is automatically
    > entered. Example: A1=BldgA B1=BldgD C1=mileage from grid. ....Note:
    > A
    > Format Control on a form works, but there are several dozen entries, so
    > this
    > is too cumbersome.




+ 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