ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with Vlookup and MAX functions (https://www.excelbanter.com/excel-worksheet-functions/239465-help-vlookup-max-functions.html)

Iriemon

Help with Vlookup and MAX functions
 
I'm trying to set up a formula to find the MAX value in a range using
VLOOKUP. All I get is a "#value" error with the formula below. I tried to
substitute "MAX('Future Phase in values'!I2:P2" for the column number but it
doesn't like it.

Any help will be greatly appreciated. I know there must be a simpler way. I
can always put in a "helper" column that will find the Max value and then
have the VLOOKUP return that column but I'm trying to avoid adding any
additional columns to my "Future Phase in values" worksheet. Can it be done
using VLOOKUP or do I need to use another function?

Thanks

=VLOOKUP(A3968,'Future Phase in values'!A2:P3429,MAX('Future Phase in
values'!I2:P2,FALSE))

JP Ronse

Help with Vlookup and MAX functions
 
Hi,

Try with closing the MAX function

=VLOOKUP(A3968,'Future Phase in values'!A2:P3429,MAX('Future Phase
invalues'!I2:P2),FALSE)

Wkr,

JP

"Iriemon" wrote in message
...
I'm trying to set up a formula to find the MAX value in a range using
VLOOKUP. All I get is a "#value" error with the formula below. I tried to
substitute "MAX('Future Phase in values'!I2:P2" for the column number but
it
doesn't like it.

Any help will be greatly appreciated. I know there must be a simpler way.
I
can always put in a "helper" column that will find the Max value and then
have the VLOOKUP return that column but I'm trying to avoid adding any
additional columns to my "Future Phase in values" worksheet. Can it be
done
using VLOOKUP or do I need to use another function?

Thanks

=VLOOKUP(A3968,'Future Phase in values'!A2:P3429,MAX('Future Phase in
values'!I2:P2,FALSE))




Excel Curious

Help with Vlookup and MAX functions
 
Try

=VLOOKUP(A3968,'Future Phase in
values'!A2:P3429,8+(MATCH(MAX(I3968:P3968),I3968:P 3968,0)),FALSE)

Let me know if it works

"Iriemon" wrote:

I'm trying to set up a formula to find the MAX value in a range using
VLOOKUP. All I get is a "#value" error with the formula below. I tried to
substitute "MAX('Future Phase in values'!I2:P2" for the column number but it
doesn't like it.

Any help will be greatly appreciated. I know there must be a simpler way. I
can always put in a "helper" column that will find the Max value and then
have the VLOOKUP return that column but I'm trying to avoid adding any
additional columns to my "Future Phase in values" worksheet. Can it be done
using VLOOKUP or do I need to use another function?

Thanks

=VLOOKUP(A3968,'Future Phase in values'!A2:P3429,MAX('Future Phase in
values'!I2:P2,FALSE))


Iriemon

Help with Vlookup and MAX functions
 
The formula below doesn't work properly, I think it's the

8+(MATCH(MAX(I3968:P3968),I3968:P3968,0))

that is not functioning.

A little better explaination :

Item number is in cell A3968 on sheet1.
Pricing data is on worksheet "Future Phase in values"

Once it finds the item number on "Future phase in values, return the MAX
value from columns "I" through "P"

"Future phase in values" has data from row 2 through row 3429

Thanks for the suggestions, I'm still trying to get this worked out.



"Excel Curious" wrote:

Try

=VLOOKUP(A3968,'Future Phase in
values'!A2:P3429,8+(MATCH(MAX(I3968:P3968),I3968:P 3968,0)),FALSE)

Let me know if it works

"Iriemon" wrote:

I'm trying to set up a formula to find the MAX value in a range using
VLOOKUP. All I get is a "#value" error with the formula below. I tried to
substitute "MAX('Future Phase in values'!I2:P2" for the column number but it
doesn't like it.

Any help will be greatly appreciated. I know there must be a simpler way. I
can always put in a "helper" column that will find the Max value and then
have the VLOOKUP return that column but I'm trying to avoid adding any
additional columns to my "Future Phase in values" worksheet. Can it be done
using VLOOKUP or do I need to use another function?

Thanks

=VLOOKUP(A3968,'Future Phase in values'!A2:P3429,MAX('Future Phase in
values'!I2:P2,FALSE))


Excel Curious

Help with Vlookup and MAX functions
 
Ok...

=VLOOKUP(A3968,'Future Phase in
values'!A2:P3429,8+MATCH(MAX(INDIRECT("'Future Phase in
values'!I"&MATCH(A3968,'Future Phase in
values'!A2:A3429,0)+1&":P"&MATCH(A3968,'Future Phase in
values'!A2:A3429,0)+1)),INDIRECT("'Future Phase in
values'!I"&MATCH(A3968,'Future Phase in
values'!A2:A3429,0)+1&":P"&MATCH(A3968,'Future Phase in
values'!A2:A3429,0)+1),0),FALSE)

There may be a more "streamline" way of doing this, but this is what I could
come up with.

"Iriemon" wrote:

The formula below doesn't work properly, I think it's the

8+(MATCH(MAX(I3968:P3968),I3968:P3968,0))

that is not functioning.

A little better explaination :

Item number is in cell A3968 on sheet1.
Pricing data is on worksheet "Future Phase in values"

Once it finds the item number on "Future phase in values, return the MAX
value from columns "I" through "P"

"Future phase in values" has data from row 2 through row 3429

Thanks for the suggestions, I'm still trying to get this worked out.



"Excel Curious" wrote:

Try

=VLOOKUP(A3968,'Future Phase in
values'!A2:P3429,8+(MATCH(MAX(I3968:P3968),I3968:P 3968,0)),FALSE)

Let me know if it works

"Iriemon" wrote:

I'm trying to set up a formula to find the MAX value in a range using
VLOOKUP. All I get is a "#value" error with the formula below. I tried to
substitute "MAX('Future Phase in values'!I2:P2" for the column number but it
doesn't like it.

Any help will be greatly appreciated. I know there must be a simpler way. I
can always put in a "helper" column that will find the Max value and then
have the VLOOKUP return that column but I'm trying to avoid adding any
additional columns to my "Future Phase in values" worksheet. Can it be done
using VLOOKUP or do I need to use another function?

Thanks

=VLOOKUP(A3968,'Future Phase in values'!A2:P3429,MAX('Future Phase in
values'!I2:P2,FALSE))



All times are GMT +1. The time now is 11:25 PM.

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