Use VLOOKUP, one of the lookup and reference functions, when you need to find things in a table or a range by row.
Syntax
VLOOKUP(ItemToFind,RangeToLookIn,ColumnToPickFrom,SortedOrUnsorted)
Description
This table shows sale quantities monthly.
Case FALSE
The table find total price per month
Case TRUE
Please investigate the difference of case TRUE and FALSE
Syntax
VLOOKUP(ItemToFind,RangeToLookIn,ColumnToPickFrom,SortedOrUnsorted)
Description
- ItemToFind (required) : The value you want to look up. The value you want to look up must be in the first column of the range of cells you specify in table-array.
- RangeToLookIn(required):The range of cells in which the VLOOKUP will search for the lookup_value and the return value.
- ColumnToPickFrom(required):The column number (starting with 1 for the left-most column of table-array) that contains the return value.
- SortedOrUnsorted (Optional):A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match:
- TRUE assumes the first column in the table is sorted either numerically or alphabetically, and will then search for the closest value. This is the default method if you don't specify one.
- FALSE searches for the exact value in the first column.
This table shows sale quantities monthly.
Case FALSE
The table find total price per month
Case TRUE
Please investigate the difference of case TRUE and FALSE
Post a Comment