Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: andreea_bianca24
 | Femeie 24 ani Mures cauta Barbat 24 - 58 ani |
|
|
TRaP
Moderator
Inregistrat: acum 7 ani
Postari: 892
|
|
You normally do a SUMIFS like this, right?
=SUMIFS( M$102:M$154; $G$102:$G$154;"<>Supplier 1"; $G$102:$G$154;"<>Supplier 2"; $I$102:$I$154;$I90 ) |
How about if you want to add 5 more suppliers? You go for more advanced functions instead of hardcoding them in SUMIFS.
A short solution would be:
=SUM( FILTER( $M$102:$M$154; (ISNA(MATCH($G$102:$G$154;$G$90:$G$96;0))) * ($I$102:$I$154=I90) ) ) |
A more advanced solution with LET:
=LET( suppliers; $G$102:$G$154; values; M$102:M$154; category; $I$102:$I$154; exclusions; $G$90:$G$96; SUM( FILTER(values; (ISNA(MATCH(suppliers; exclusions; 0))) * (category=$I90) ) ) ) |
|
|
| pus acum 2 saptamani |
|