Max number if not equal to the cell references in two other cells

tamsh

New Member
Joined
Jun 25, 2015
Messages
13
Office Version
  1. 2019
Platform
  1. Windows
Hi, I would like to return the max number from a list, if that number has already not been selected in two other cells. Thus far I have used max to find the highest number in one array, putting result into a cell. Then a second max to find the highest number in a second array, putting result into a cell. Then used CELL to display the cell reference of each maximum number in two other cells.

What I now need is to find the highest number in the entire array (both arrays) that has not already been identified in the other two max formulas.

Hope that makes sense...

Can this be done?
 
I was over-thinking it before, try
Excel Formula:
=MAX(LARGE(A6:X6,2),LARGE(Y6:AM6,2))
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
I was over-thinking it before, try
Excel Formula:
=MAX(LARGE(A6:X6,2),LARGE(Y6:AM6,2))

I need it to return from full array next biggest number that is not the two already used, so not sure this would work as I think this returns 2nd largest in each, where there could be same score for multiples.
 
Upvote 0
What should happen if you have two scores of 45 in Y6:AM6?
 
Upvote 0
What should happen if you have two scores of 45 in Y6:AM6?
So I have found the highest in A6:X6 and the highest in Y6:AM6. Now I need the next highest in A6:AM6, even if equal to either of other highest just as long as not specifically those so I am not repeating, in effect I need the highest individual sport score, highest team sport score and then next highest in either.

If scores are all 25/25 then I would get the first 25 in A6:X6, the first 25 in A6:AM6 then a third result of 25 from A6:AM6 as long as wasnt one of the two already returned, hence why trying to use cell references.

Maybe I am over complicating it...
 
Upvote 0
In that case the formula I suggested should work.
 
Upvote 0
or thi9s maybe, not sure
Book1
ABCD
11233
28899
38
Sheet2
Cell Formulas
RangeFormula
D1:D2D1=MAX(A1:C1)
D3D3=LARGE(IF(D1:D2<>A1:C2,A1:C2),1)
 
Upvote 0
The formula from Kerryx does not do what you said you wanted. :confused:
In this scenario you said it should return 9 which it doesn't.
Fluff (version 1).xlsb
ABCD
11233
28999
38
Main
Cell Formulas
RangeFormula
D1:D2D1=MAX(A1:C1)
D3D3=LARGE(IF(D1:D2<>A1:C2,A1:C2),1)
 
Upvote 0

Forum statistics

Threads
1,215,107
Messages
6,123,126
Members
449,097
Latest member
mlckr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top