#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Formula Help

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

Got it!!! I have no idea where I got A2:A20000 but that should be K - sorry!

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Formula Help

And you verified none of the cells in column A and column K have a #VALUE in
them... I don't see any error in the formula that would cause a #VALUE.

"Erika" wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Formula Help

=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000)

Enter the formula using CTRL + SHIFT + ENTER


Gord Dibben MS Excel MVP

On Thu, 1 Oct 2009 09:37:01 -0700, Erika
wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

Do I just press enter to exit the cell with the formula or do I need to press
ctrl+shift+enter?

"Sean Timmons" wrote:

And you verified none of the cells in column A and column K have a #VALUE in
them... I don't see any error in the formula that would cause a #VALUE.

"Erika" wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

The Values in column A are unit numbers and the values in column K are values
that were entered they are not the result of a formula? When I double click
in each cell and go into edit mode and then press enter to exit all of the
results are changing from #value to Max. However they all say Max.

"Sean Timmons" wrote:

And you verified none of the cells in column A and column K have a #VALUE in
them... I don't see any error in the formula that would cause a #VALUE.

"Erika" wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

Even with that formula, =IF(MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max","" ) I
still get Max for all the cells.

"Gord Dibben" wrote:

=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000)

Enter the formula using CTRL + SHIFT + ENTER


Gord Dibben MS Excel MVP

On Thu, 1 Oct 2009 09:37:01 -0700, Erika
wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Formula Help

Try this instead:

=IF(K2=SUMPRODUCT(MAX((A2:A20000=A2)*(K2:K20000))) ,"Max","")

"Erika" wrote:

The Values in column A are unit numbers and the values in column K are values
that were entered they are not the result of a formula? When I double click
in each cell and go into edit mode and then press enter to exit all of the
results are changing from #value to Max. However they all say Max.

"Sean Timmons" wrote:

And you verified none of the cells in column A and column K have a #VALUE in
them... I don't see any error in the formula that would cause a #VALUE.

"Erika" wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

For whatever reason this formula is working perfectly where the other one was
not thank you all for your assistance.

"Sean Timmons" wrote:

Try this instead:

=IF(K2=SUMPRODUCT(MAX((A2:A20000=A2)*(K2:K20000))) ,"Max","")

"Erika" wrote:

The Values in column A are unit numbers and the values in column K are values
that were entered they are not the result of a formula? When I double click
in each cell and go into edit mode and then press enter to exit all of the
results are changing from #value to Max. However they all say Max.

"Sean Timmons" wrote:

And you verified none of the cells in column A and column K have a #VALUE in
them... I don't see any error in the formula that would cause a #VALUE.

"Erika" wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value

  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Formula Help

As long as it works, we're happy! :-)

"Erika" wrote:

For whatever reason this formula is working perfectly where the other one was
not thank you all for your assistance.

"Sean Timmons" wrote:

Try this instead:

=IF(K2=SUMPRODUCT(MAX((A2:A20000=A2)*(K2:K20000))) ,"Max","")

"Erika" wrote:

The Values in column A are unit numbers and the values in column K are values
that were entered they are not the result of a formula? When I double click
in each cell and go into edit mode and then press enter to exit all of the
results are changing from #value to Max. However they all say Max.

"Sean Timmons" wrote:

And you verified none of the cells in column A and column K have a #VALUE in
them... I don't see any error in the formula that would cause a #VALUE.

"Erika" wrote:

Actually I am not getting it to work I am getting a #Value error - the
forumla is erroring out in the first line
K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000 it is trying to find the highest
value for each unit the units are in column A.

Why would I be gettingthe #value error?

"Sean Timmons" wrote:

Sounds like one of the cells in either A or K is #VALUE. works fine for me...

"Erika" wrote:

I use to have this formula working in Office 2003 and now I am getting a
value error - anyone see what is going wrong?

=IF(K2=MAX(($A$2:$A$20000=A2)*$K$2:$K$20000),"Max" ,"")

It is suppose to look through the list find the hight value and put the work
max in the cell with the highest value

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"