Assignment no. 8https://jaspreet kaur5021.blogspot.com/2025/02/assignment-no8-use-of-hlookup-in-excel.html
jaspreet kaur
Unit 2
Home
Assignment no:8 use of Hlookup in excel
February 07, 2025
The HLOOKUP function in Excel is used to search for a value in the first row of a table or array and return a value in the same column from a specified row. It's particularly useful when you need to search across a horizontal row of data.
HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])
lookup_value: The value you want to search for.
table_array: The range of cells that contains the data.
row_index_num: The row number in the table array from which you want to retrieve the value.
[range_lookup]: (Optional) A logical value that specifies whether you want an exact match (FALSE) or an approximate match (TRUE). The default is TRUE.
Example:
Let's say you have a table where the first row contains the months, and the second row contains the sales numbers. If you want to find the sales number for a specific month, you could use the HLOOKUP function.
A B C D
Month Jan Feb Mar
Sales 1000 1500 1200
To find the sales number for February:
excel
=HLOOKUP("Feb", A1:D2, 2, FALSE)
Share
Comments
Popular posts from this blog
Assignment no : 6 Use of flash fill
February 04, 2025
Excel Flash Fill is a feature of Microsoft Excel where Excel can sense a pattern in the cell and apply the logic to extract a similar resultant pattern out of the remaining cells in the table. STEP 1. First, tell Excel what you want to do by entering the value AMA into cell E2. STEP 2. On the Data tab, in the Data Tools group, click Flash Fill , (or press CTRL + E) . RESULT
Share
Post a Comment
Read more
How to make pivot table
January 29, 2025
Creating a pivot table is a great way to analyze and summarize data in Excel or Google Sheets. Here’s a step-by-step guide for both: In Excel : Select Your Data : Highlight the range of data you want to analyze (including headers). Insert Pivot Tabl e : Go to the Insert tab. Click on PivotTable . In the dialog box, ensure your data range is correct. You can choose to place the pivot table in a new worksheet or the existing worksheet. Building Your Pivot Table : Once the pivot table is created, a new field list will appear on the right side of the screen. Drag fields into the following areas: Rows : To group data (e.g., categories like product name, regions, etc.) Columns : To organize data across columns (e.g., months, years) Values : To perform calculations like sum, average, count, etc. (e.g., sales figures) Filters : To filter the data by specific criteria (e.g., only show data for a specific region) Adjust & Format : You can adjust the layout, format, and design using ...
Share
Post a Comment
Read more
Data validation in excel
January 29, 2025
Data validation in Excel is a handy feature that allows you to control the type of data or the values that users enter into a cell. Here are the basic steps to set up data validation in Excel : Select the Cells : Highlight the cells where you want to apply the data validation. Open Data Validation : Go to the "Data" tab on the Ribbon, and then click on "Data Validation" in the Data Tools group. Set Validation Criteria : In the Data Validation dialog box, under the "Settings" tab, you can choose the type of validation you want. You can set criteria based on: Whole numbers Decimals Lists (drop-down lists) Dates Times Text length Custom formulas Enter Criteria Details : Depending on your choice, enter the specific criteria. For example, if you choose "List," you'll need to enter the items for the drop-down list. Set Input Message (Optional) : You can use the "Input Message" tab to provide a message that will appear when the user sele...
Share
Post a Comment
Read more
About Me
jaspreet kaur
Visit profile
Archive
Report Abuse
Powered by Blogger
Comments
Post a Comment