IF I HAVE TWOCOLOUMNS AND EACH COLOUMNS RANGES FROM DIFF NUMBERS,IN THE NEXT COLOUMN IF I GIVE THE VALUE THAT RANGES BETWEEN ANY COLUMN, IT SHOULD SHOW THE ROW NUM.
EX: IF IN THE FIRST COL I VE 1-1000 RANGE ,IN THE SECOND COL 2000-3000,IN THE NEXT COL IF I VE SUPPOSE 900 IT SCHOULD SHOW THE ROW NUM IN WHICH 900 IS PRESENT.
You would have to combine the use of 2 functions. The Address and Match funbctions.
Lets say the number you want the address of is located in cell F1 and you have 2 columns of numbers. One colum in Column A and the other in column B. I will give you 2 formulas. The 1st one will return just the row number. The 2nd one will return the cell address.
Option 1: Lets say you just want to know the row reference of the number in cell F1. Place this formula in cell D1. =MATCH(F1,A1:A20)
If you have another column ytou want the row number of, place the formula in lets say cell D2 and change the column references from 'A' to 'B'.
Option 2: If you want the cell reference, place this formula in cell D1 and D2 instead of the firt formula.
=ADDRESS(MATCH(F1,A1:A20,0),1,1,TRUE)
And just like the first option, for the 2nd column, put the formula in D2 and change the column reference 'A' to 'B'.
Posted on Mar 21, 2009
Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!
Posted on Jan 02, 2017
Sep 16, 2014 | Microsoft Excel for PC
Oct 31, 2008 | Computers & Internet
Hi Geetad11
This is Horizontal lookup , used to look up value in a 2 dimensional table .It searches for a value in the top row of a table or an array of values, and then returns a value in the same column from a row you specify in the table or array. Use HLOOKUP when your comparison values are located in a row across the top of a table of data, and you want to look down a specified number of rows. The H in HLOOKUP stands for "Horizontal."
Formulae Syntax
HLOOKUP(lookup_value,table_array,row_index_num,range_lookup)
Lookup_value is the value to be found in the first row of the table. Lookup_value can be a value, a reference, or a text string.
Table_array is a table of information in which data is looked up. Use a reference to a range or a range name.
The values in the first row of table_array can be text, numbers, or logical values.
If range_lookup is TRUE, the values in the first row of table_array must be placed in ascending order: ...-2, -1, 0, 1, 2,... , A-Z, FALSE, TRUE; otherwise, HLOOKUP may not give the correct value. If range_lookup is FALSE, table_array does not need to be sorted.
Uppercase and lowercase text are equivalent.
You can put values in ascending order, left to right, by selecting the values and then clicking Sort on the Data menu. Click Options, click Sort left to right, and then click OK. Under Sort by, click the row in the list, and then click Ascending.
Row_index_num is the row number in table_array from which the matching value will be returned. A row_index_num of 1 returns the first row value in table_array, a row_index_num of 2 returns the second row value in table_array, and so on. If row_index_num is less than 1, HLOOKUP returns the #VALUE! error value; if row_index_num is greater than the number of rows on table_array, HLOOKUP returns the #REF! error value.
Range_lookup is a logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.
Remarks
Example
The example may be easier to understand if you copy it to a blank worksheet.
Oct 06, 2010 | Microsoft Excel for PC
Sep 27, 2010 | Dell Studio 15 Laptop
Sep 12, 2010 | Computers & Internet
Apr 25, 2010 | Gateway MX6124 Notebook
Sep 04, 2009 | Microsoft Excel for PC
Feb 18, 2009 | Microsoft Computers & Internet
Jan 16, 2009 | Microsoft Excel for PC
Sep 03, 2007 | Microsoft Office Standard for PC
Jan 28, 2016 | Microsoft Excel for PC
119 people viewed this question
Usually answered in minutes!
×