+ Reply to Thread
Results 1 to 5 of 5

Link cells so I can type a specified value in A1, and it will automatically fill in b2,etc

  1. #1
    Registered User
    Join Date
    02-28-2013
    Location
    Harrisonburg, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    16

    Link cells so I can type a specified value in A1, and it will automatically fill in b2,etc

    Hello,

    I'm working on a project at my job and I'm trying to digitize this big whiteboard that's in our office... The board is used to keep track of a maintenance schedule for several different planes. Each vehicle has a serial number (for example LM072), a tail number (for example N81Y), and a department code (for example AB or FM). Each plane has a "Last Flight Date" (for example 9/12/12) as well as a "Last Service Date".

    Here's what I want to do (if it's possible):

    1. I want to design a spreadsheet where a specific plane's Serial Number can be entered in Column A. As a result, Column B would be filled in automatically with the proper tail number, and column C would be filled in automatically with the proper department code.

    2. I want to be able to enter the "Last Flight Date" in column D and in column E I want to keep track of how many days it has been since the date listed in column D.

    3. Same thing with columns F and G. F would have the Last Service Date and G would show Days Since Last Service


    Thanks a ton for any help,
    Caleb

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Link cells so I can type a specified value in A1, and it will automatically fill in b2

    For D and E (days since last flight)
    =IF(ISNUMBER(D2), TODAY()-D2,"")
    Format the column as General or Number with 0 digits

    If you have all of your lookup data in Sheet2, from A2:C100 (A is serial number, B is tail # and C is Dept Code

    On Sheet1 in B2 for example
    =IFERROR(VLOOKUP(A2, Sheet2!$A$2:$C$100,2, FALSE),"")
    See this page for more on VLOOKUP
    http://www.techonthenet.com/excel/formulas/vlookup.php
    Does that help?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Link cells so I can type a specified value in A1, and it will automatically fill in b2

    I attached a file that should help you out. You can use either the VLOOKUP, as suggested above, or the INDEX and MATCH function.
    Read up on both, as that is exactly what you need.
    Attached Files Attached Files
    Please click the * icon below if I have helped.

  4. #4
    Registered User
    Join Date
    02-28-2013
    Location
    Harrisonburg, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Link cells so I can type a specified value in A1, and it will automatically fill in b2

    Thanks to both of you! I'll definitely read up on all the info :D

  5. #5
    Registered User
    Join Date
    02-28-2013
    Location
    Harrisonburg, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Link cells so I can type a specified value in A1, and it will automatically fill in b2

    Quote Originally Posted by Melvinrobb View Post
    I attached a file that should help you out. You can use either the VLOOKUP, as suggested above, or the INDEX and MATCH function.
    Read up on both, as that is exactly what you need.
    WOW. Thank you so much for putting that together for me!

+ 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