0% found this document useful (0 votes)
49 views5 pages

More On Excel: - Presentation by Soma Gupta

The document discusses Excel functions VLOOKUP and HLOOKUP. VLOOKUP looks up values from a vertical list, while HLOOKUP looks up values horizontally. It provides examples of using VLOOKUP to return grades based on student marks, and using HLOOKUP to return bonuses based on employee sales. The document also briefly introduces the DSum and DAverage functions, which sum or average values in a column or database based on criteria.

Uploaded by

Soma Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views5 pages

More On Excel: - Presentation by Soma Gupta

The document discusses Excel functions VLOOKUP and HLOOKUP. VLOOKUP looks up values from a vertical list, while HLOOKUP looks up values horizontally. It provides examples of using VLOOKUP to return grades based on student marks, and using HLOOKUP to return bonuses based on employee sales. The document also briefly introduces the DSum and DAverage functions, which sum or average values in a column or database based on criteria.

Uploaded by

Soma Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

MORE ON EXCEL

--Presentation by Soma Gupta


VLOOKUP
It is an Excel Function that is used within tables to help filter through large volumes of data
and select the appropriate data based on given conditions.

In Column C we want to show the grade based on marks. We do this by looking into the
marks, comparing it to the Grading Scale table, and returning the grade using VLOOKUP.
Here is the VLOOKUP in layman’s syntax

=VLOOKUP(CellToLookup ,RangeToLookIn, WhichRowToReturn, ExactMatch?)


VLOOKUP
 What does this formula do and how does it work?

=IF(ISNA(VLOOKUP(B6,$E$2:$F$7,2,TRUE)),0,
(VLOOKUP(B6,$E$2:$F$7,2,TRUE)))

The Logical_test checks the conditions to see if an #N/A will result. We complete that
by putting our original VLOOKUP in the ISNA function. If the value is #N/A, it will
return a TRUE.
If our VLOOKUP in the Logical_test produces an #N/A (TRUE), we know that there is
no grade associated with the marks in the Grading Scale table. We set the
Value_if_true to ZERO.
If our VLOOKUP in the Logical_test produces a valid result, the Logical_test will be
FALSE (Is not #N/A). Therefore, we can proceed with the original VLOOKUP formula
in the Value_if_false field to perform the data query.
HLOOKUP
HLOOKUP is kin to VLOOKUP. VLOOKUP looks up a value from a Vertical list and HLOOKUP looks up a value
from a Horizontal list. Here is a quick tutorial on the HLOOKUP function.
In this picture we have a list of People and their respective Sales and a Table showing the Bonus they get if
they hit a certain target.

In Column C we want to show the bonus based on sales. We do this by grabbing the Sales, comparing it to
the Bonus Target table, and returning the bonus amount using HLOOKUP.
Here is the HLOOKUP in layman’s syntax

=HLOOKUP(CellToLookup ,RangeToLookIn, WhichRowToReturn, ExactMatch?)


MORE FUNCTIONS OF EXCEL
 InExcel, the DSum function sums the numbers in a column or database that meets a
given criteria. 
The syntax for the DSum function is: DSum( range, field, criteria )
range is the range of cells that you want to apply the criteria against. field is the
column to sum the values. You can either specify the numerical position of the
column in the list or the column label in double quotation marks. criteria is the range
of cells that contains your criteria.

 In Excel, the DAverage function averages all numbers in a column in a list or


database, based on a given criteria.
The syntax for the DAverage function is: DAverage( range, field, criteria )
range is the range of cells that you want to apply the criteria against. field is the
column to average the values. You can either specify the numerical position of the
column in the list or the column label in double quotation marks. criteria is the range
of cells that contains your criteria.
 

You might also like