Further excel obtain an appropriate value in accordance with a column
You need to excel function of:
- vlookup query function
- (Addition may be combined if + iserror or higher version of the data fitting process iferror anomalies, more complicated without further ado)
The following diagram as an example how to use vlookup function data matching and integration
Sheet1 in need, according to the person's name, the total integration of sheet2 to C column.
sheet1 Screenshot:
sheet2 Screenshot:
Ideas:
- Discarding duplicates prior art (default if duplication vlookup matched to take the first person)
- Matching value is obtained and filled (a function)
- The person does not exist a value (# N / A) into 0
Solution
- Such as screenshots, corresponding cells in column C input
=VLOOKUP(A3,sheet2!$A$2:$B$252,2,FALSE)
- Each cell covers a dropdown
Method Description
Used vlookup
function has four parameters, the above formulas =VLOOKUP(A3,sheet2!$A$2:$B$252,2,FALSE)
, for example:
A3
In cell A3 is as a matching basissheet2!$A$2:$B$252
Sheet2 expressed following page area A2-B252 match ($
forced positioning symbol, causing several ways formulas down replica cell lines increment)2
Is taken in the region (below Sheet2 page region A2-B252) value in the second columnFALSE
An exact match, like fixed write- Each parameter comma
,
separated