0

Issue Not able to get Min-Max of parts using formulas, shows wrong value

What I did

Here is my formula

=MAX(VLOOKUP(A2,TAT!A:C,3,FALSE))& "/" &MIN(VLOOKUP(A2,TAT!A:C,3,FALSE)) 

Here is sheet 1

Here is sheet 2

Results that I want? Basically, I just want the Min-Max from TAT sheet to be shown in BER Summary Sheet in the Min-Max TAT column. What I want it to show

Is something wrong with the formula or am I not using the right approach to the formula at all?

2
  • 1
    VLOOKUP returns the first match only and not all of them so the min and max will be the same number always. What version do you have? Commented Jul 7, 2022 at 21:19
  • I have office 365 Commented Jul 7, 2022 at 21:45

1 Answer 1

1

In Office 365:

=MAXIFS(TAT!C:C,TAT!A:A,A2)& "/" &MINIFS(TAT!C:C,TAT!A:A,A2) 
Sign up to request clarification or add additional context in comments.

2 Comments

DUDE! It worked. Thanks a lot. But could you tell why did we use MAXIFS and not just MAX? Thanks
Because max will return the max of everything, while Maxifs will filter the data based on the criteria and only return the max of the filtered data. If this worked, please consider marking it as correct by clicking the check box by the answer.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.