5
I need some formula or logic to rescue the largest number of a matrix, but with certain criteria.
As well as the formulas CONT.SES and SOMASES that counts and sums the numbers of a matrix when the criteria are 'met'.
Something that would work as a MAIOR.SES(IntervaloApuração;K;IntervaloCriterio1;Criterio1;...)
A simple example of how it would work:
+---+-------+-------+------------+
| | A | B | C |
+---+-------+-------+------------+
| 1 | Data | Ativo | Quantidade |
| 2 | 26/07 | SIM | 35 |
| 3 | 26/07 | SIM | 39 |
| 4 | 26/07 | NAO | 40 |
| 5 | 27/07 | SIM | 13 |
+---+-------+-------+------------+
If I want the largest amount of the following criteria: data = 26/07
and Ativo = SIM
the result would return me the amount of record 3 ie: 39
Someone with a solution?
Could create an example of a matrix and what it expects as a result?
– Math
Math, I edited the post with the example.
– Iago Correia Guimarães