ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   VLOOKUP ??? (https://www.excelbanter.com/excel-worksheet-functions/18588-vlookup.html)

Jeanette

VLOOKUP ???
 
I want to look up value in column c when column l reaches specific criteria.

for example:

when column L changes from 'No" to "Yes" what is the value in column C same
row as the change occurs?

Per Erik Midtrød

On Mon, 21 Mar 2005 08:45:04 -0800, "Jeanette"
wrote:

I want to look up value in column c when column l reaches specific criteria.

for example:

when column L changes from 'No" to "Yes" what is the value in column C same
row as the change occurs?


I think you will be better off with a mix of Match and Index, someting
like:
=INDEX(C:C;MATCH("Yes";L:L))

This will return the value in C from the first row i column L that
equals "Yes"

Per Erik


Jeanette

Whn I try that formula, it gives the last value row value for "yes" how do I
get it to provide the first row value?

"Per Erik Midtrxd" wrote:

On Mon, 21 Mar 2005 08:45:04 -0800, "Jeanette"
wrote:

I want to look up value in column c when column l reaches specific criteria.

for example:

when column L changes from 'No" to "Yes" what is the value in column C same
row as the change occurs?


I think you will be better off with a mix of Match and Index, someting
like:
=INDEX(C:C;MATCH("Yes";L:L))

This will return the value in C from the first row i column L that
equals "Yes"

Per Erik



Per Erik Midtrød

On Mon, 21 Mar 2005 09:19:06 -0800, "Jeanette"
wrote:

Whn I try that formula, it gives the last value row value for "yes" how do I
get it to provide the first row value?


Sorry, guess I didn't test it good enough,
just insert lookup type 0 and I think it does what you need:
INDEX(C:C;MATCH("Yes";L:L;0))

Per Erik


"Per Erik Midtrxd" wrote:

On Mon, 21 Mar 2005 08:45:04 -0800, "Jeanette"
wrote:

I want to look up value in column c when column l reaches specific criteria.

for example:

when column L changes from 'No" to "Yes" what is the value in column C same
row as the change occurs?


I think you will be better off with a mix of Match and Index, someting
like:
=INDEX(C:C;MATCH("Yes";L:L))

This will return the value in C from the first row i column L that
equals "Yes"

Per Erik




Jeanette

Thank you so much ~ You are amazing ;-)

"Per Erik Midtrxd" wrote:

On Mon, 21 Mar 2005 09:19:06 -0800, "Jeanette"
wrote:

Whn I try that formula, it gives the last value row value for "yes" how do I
get it to provide the first row value?


Sorry, guess I didn't test it good enough,
just insert lookup type 0 and I think it does what you need:
INDEX(C:C;MATCH("Yes";L:L;0))

Per Erik


"Per Erik Midtrxd" wrote:

On Mon, 21 Mar 2005 08:45:04 -0800, "Jeanette"
wrote:

I want to look up value in column c when column l reaches specific criteria.

for example:

when column L changes from 'No" to "Yes" what is the value in column C same
row as the change occurs?

I think you will be better off with a mix of Match and Index, someting
like:
=INDEX(C:C;MATCH("Yes";L:L))

This will return the value in C from the first row i column L that
equals "Yes"

Per Erik






All times are GMT +1. The time now is 08:54 AM.

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