Forum Discussion

CindyMS's avatar
CindyMS
Copper Contributor
May 02, 2020
Solved

Need Formula for inputing data from another sheet into a cell, based on data in many cells.

Hi, all! I am trying to help our son use excel to generate quotes for his side auto mechanic business. Within the workbook, there is a sheet for quotes and a sheet for the cost of the parts he uses. ...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    May 03, 2020

    CindyMS 

    You can still use VLOOKUP, for instance like this:

     

    =VLOOKUP(A1,'Sheet Name'!B1:H8,4,FALSE)

     

    In this example, B1:H8 is the range you want to pull the values from, where the left-most column in the range (column B), must hold a matching "lookup value" of what you have in A1. Then the number 4 means that you want to pull the value in the 4th column, starting from B (i.e. column E). If you want to to pull the value from column H, for instance, you put the number 7 here. FALSE indicate you want an exact match. If the formula doesn't find a match it returns #NA!. 

    In case you are on a recent version of Excel, you may want to have a look at the new XLOOKUP function as well. Read more about both functions in the link below:

    https://support.office.com/en-us/article/VLOOKUP-function-0BBC8083-26FE-4963-8AB8-93A18AD188A1 

Resources