Link to home
Create AccountLog in
Avatar of macentrap
macentrapFlag for Australia

asked on

Identify duplicates in a column then find the maximum value of adjacent column values in excel

Hello Experts

Based on duplicates in column A, I am trying to show the  highest value support identifier from values in column 'D'

in attached sample:
Column A : Request reference
Column B : Request task
Column C: Support group
Column D: Support group identifier
Column E: desired result
sample_v2.xlsb
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Some of your desired output in column E are confusing.
Try this formula to see if that works for you...

In F2 (next to your desired output column E so that you can compare the outputs)
=IF(COUNTIF(A$2:A2,A2)>1,"",MAXIFS($D$2:$D$2046,$A$2:$A$2046,A2))

Open in new window

and copy it down.
Avatar of macentrap

ASKER

thank you

getting Error  : #NAME?
That means MAXIFS function is not available with the version you are using.

Try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of Enter alone.

In F2
=IF(COUNTIF(A$2:A2,A2)>1,"",MAX(IF($A$2:$A$2046=A2,($D$2:$D$2046))))

Open in new window

Confirm with Ctrl+Shift+Enter and copy it down.
Thank you Neeraj, worked :)
Please, is it possible to display the result value next to the  'tier lookup' it encountered the value?


Excel version is 2016, sorry forgot to mention earlier
You're welcome! Glad it worked as desired.

MINIFS and MAXIFS are only available to subscribers of OFFICE 365 with current version of EXCEL 2016. The standalone version of EXCEL 2016 does not have these new formulas.


MINIFS and MAXIFS are only available to subscribers of OFFICE 365 with current version of EXCEL 2016. The standalone version of EXCEL 2016 does not have these new formulas.
Why not? Just place the formula in E2, confirm it with Ctrl+Shift+Enter and then copy it down.
Thank you

Tired to place formula in E2,  but the result is showing earlier than the 'tier lookup' it encountered the value.

have attached the update sample for review with highlighted columns
sample_v3.xlsb
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Thank you so much Neeraj :)
very helpful and speedy response
You're welcome again! Glad I could help.