+ Reply to Thread
Results 1 to 7 of 7

Referencing multiple items

  1. #1
    Registered User
    Join Date
    08-26-2008
    Location
    alberta
    MS-Off Ver
    2003
    Posts
    17

    Referencing multiple items

    I have used VLOOKUP and such in the past but what I want to do is make sure three things match (3 column items) before copying items from one file to another. VLOOKUP only allows one item.. is there a way to make it check multiple things before copying items? Thanks

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi, and welcome to the forum.


    Yes, the technique I generally use is to create a helper column, and use this to concatenate the values from the other three columns, i.e. =A1&B1&C1, then use this as the subject of the VLOOKUP() - or indeed =MATCH() function.

    HTH

  3. #3
    Registered User
    Join Date
    08-26-2008
    Location
    alberta
    MS-Off Ver
    2003
    Posts
    17
    I never thought of that. Thank you!

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by msbaath View Post
    I never thought of that. Thank you!
    Hi,

    That's why we're here. Glad to be of help.

    Rgds

  5. #5
    Registered User
    Join Date
    08-26-2008
    Location
    alberta
    MS-Off Ver
    2003
    Posts
    17
    This method works fine save when one of the columns contains time. Do you know why it would do that?

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    It should work with any value. A Time is just another value, specifically a decimal of 24 hours, so you should see for instance 0.5 for 12:00 noon. So concatenating a Time and a Name you should see "0.5Bill"

    Why do you think it's not working, or are you saying that you have a volatile =Time(hh,mm,ss) function which keeps changing?

    Rgds

  7. #7
    Registered User
    Join Date
    08-26-2008
    Location
    alberta
    MS-Off Ver
    2003
    Posts
    17
    I have time in the format "hh:mm:ss" and the two times that I am trying to correlate differ by some milliseconds.. which I think is due to rounding. For some reason I can't get them to match, I used function round but no use. The method you mentioned works perfect.. I am just trying to figure out how it would work for this scenario. Thank you for all your help.

+ 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. select multiple items from drop-down menu
    By jcavigli in forum Excel General
    Replies: 2
    Last Post: 05-25-2008, 11:50 AM
  2. Sum the totals of multiple items
    By EliJB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-02-2008, 07:35 PM
  3. Dragging a formula referencing multiple tabs
    By gvb in forum Excel General
    Replies: 0
    Last Post: 03-05-2008, 02:21 PM
  4. Sorting multiple items by multiple criteria
    By sflearn in forum Excel General
    Replies: 1
    Last Post: 05-17-2007, 11:17 PM
  5. Referencing Multiple Rows
    By DC4622NE in forum Excel General
    Replies: 1
    Last Post: 12-15-2006, 08:30 PM

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