+ Reply to Thread
Results 1 to 5 of 5

How do I return a value from a column based on 2 other columns

  1. #1
    Registered User
    Join Date
    02-25-2021
    Location
    South Carolina
    MS-Off Ver
    MS365
    Posts
    2

    How do I return a value from a column based on 2 other columns

    Hello, I am currently trying to create a new column with the serving distance by matching the Vendor IDs from the two sheets.

    I have a vendor ID in each and want to match those values in order to return the serving distance from the "Vendors" sheet to the corresponding row in the "Customers" sheet.

    I can't do it manually because there are about a hundred thousand customers and I can't seem to figure out how to do so.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: How do I return a value from a column based on 2 other columns

    Welcome to the forum.

    2101 is MS365 - this is what needs to be in your profile, please.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How do I return a value from a column based on 2 other columns

    Hi Ethan and welcome to the forum,

    It looks like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    does what you want.
    See it in the attached workbook. Vlookup from another sheet.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    02-25-2021
    Location
    South Carolina
    MS-Off Ver
    MS365
    Posts
    2

    Re: How do I return a value from a column based on 2 other columns

    That worked!

    Thank you so much!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: How do I return a value from a column based on 2 other columns

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Replies: 1
    Last Post: 01-16-2017, 03:07 PM
  2. Replies: 2
    Last Post: 01-16-2017, 12:54 PM
  3. Compare multiple columns (column A,column B,Column C) and return value (Column D)
    By john008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2015, 08:24 AM
  4. [SOLVED] Return value from 1st Column based on Data found in corresponding Columns
    By jahtrini in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2013, 03:51 PM
  5. Lookup 2 columns and return value based on another 2 columns
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 11:16 AM
  6. Replies: 5
    Last Post: 01-19-2012, 07:18 PM
  7. Replies: 3
    Last Post: 11-24-2011, 09:55 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