+ Reply to Thread
Results 1 to 4 of 4

Referencing 2 cells to assign a value

Hybrid View

  1. #1
    Registered User
    Join Date
    03-12-2008
    Posts
    36

    Referencing 2 cells to assign a value

    Hi,

    I have a excel workbook with two worksheets.

    I worksheet holds information assessing the quality of incoming loads based on the registration number of the vehicle and date.

    The second worksheet holds the following information. Date, vehicle registration and route number.

    I need to be able to take the route number from worksheet 2 based on the date and registration number from worksheet 1 matching the date and registration number in worksheet 2.

    I have posted a sample sheet.

    Thanks for you help

    Regards
    Tim
    Attached Files Attached Files

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    May be something like this, you could hide the yellow columns?
    Attached Files Attached Files
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    In E5, confirm with Ctrl+Shift+Enter:

    =INDEX(Sheet2!C2:C4,MATCH(B5&D5,Sheet2!A2:A4&Sheet2!B2:B4,0))

  4. #4
    Registered User
    Join Date
    03-12-2008
    Posts
    36
    Hi Guys,

    Both formula worked, thanks very much really appreciated. I ended up using oldchippy's formula simply because I have more chance of fixing it if something goes wrong!

    Regards
    Tim

+ 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