ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Trying to Find the Correct Answer-But not using Vlookup Function (https://www.excelbanter.com/excel-worksheet-functions/120909-re-trying-find-correct-answer-but-not-using-vlookup-function.html)

John Bundy

Trying to Find the Correct Answer-But not using Vlookup Function
 
This formula will find a product name in F1 and match it to a product name in
a range in column A, then it will return the data that is one column over and
one row down:
=INDEX(A1:C37,MATCH(F1,A1:A49)+1,2)

That should work in place of a vlookup

John

"caldog" wrote:

I know that vlookup function will not work in my case here.

I am downloading a piece of information of the web into a worksheet. What I
want to be able to do is then locate an exact piece of information and paste
it into another worksheet.

Using as my first criteria I am looking at a row, then my second criteria I
am looking at a column. By using these two as my guidelines, I then will
look at my downloaded web page, and locate the correct information, if any
exists.

Example:

1. Col A Row 1 Would says Product Name
2. Col B Row 2 Would says Item #
3. Col C Row 2 Would says Qty
4. Col D Row 2 Would says Price

Therefore, I want a formula that first looks at #1, then looks at #2, and
then gives me what the number is from the download page. Is there a formula
that can give me what I want, or am I asking the impossible here.

Steve




caldog

Trying to Find the Correct Answer-But not using Vlookup Functi
 
John,

I have tried various Index and Match formulas, but couldn't get anything to
work. What I was missing was the "+".

Thanks for the help

Steve



"John Bundy" wrote:

This formula will find a product name in F1 and match it to a product name in
a range in column A, then it will return the data that is one column over and
one row down:
=INDEX(A1:C37,MATCH(F1,A1:A49)+1,2)

That should work in place of a vlookup

John

"caldog" wrote:

I know that vlookup function will not work in my case here.

I am downloading a piece of information of the web into a worksheet. What I
want to be able to do is then locate an exact piece of information and paste
it into another worksheet.

Using as my first criteria I am looking at a row, then my second criteria I
am looking at a column. By using these two as my guidelines, I then will
look at my downloaded web page, and locate the correct information, if any
exists.

Example:

1. Col A Row 1 Would says Product Name
2. Col B Row 2 Would says Item #
3. Col C Row 2 Would says Qty
4. Col D Row 2 Would says Price

Therefore, I want a formula that first looks at #1, then looks at #2, and
then gives me what the number is from the download page. Is there a formula
that can give me what I want, or am I asking the impossible here.

Steve





All times are GMT +1. The time now is 02:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com