Hi all,
I have a dataset on which I applied a SUM.IF function, in combination with an IF function. In the attachment you find how I did this searching for one criteria.
However, now I would like to search for multiple criteria. I would like to see the amount for the sum of 6 different criteria, without copy+paste the formula 6 times.
So, I know I can do:
ALS(C2="Payroll";SOMMEN.ALS(Blad2!D:D;Blad2!A:A;'Calculation sheet'!A2;Blad2!B:B;"Kosten Werkgever"))+ ALS(C2="Payroll";SOMMEN.ALS(Blad2!D:D;Blad2!A:A;'Calculation sheet'!A2;Blad2!B:B;"Loon voor bijdrage Zvw")) etc. But I would like to have ALS(C2="Payroll";SOMMEN.ALS(Blad2!D:D;Blad2!A:A;'Calculation sheet'!A2;Blad2!B:B;"ALL DIFFERENT OPTIONS TO SEARCH FOR"))
Can I solve this with an array function? And If so, how do I do this?
Thanks a lot!!
Marissa
I have a dataset on which I applied a SUM.IF function, in combination with an IF function. In the attachment you find how I did this searching for one criteria.
However, now I would like to search for multiple criteria. I would like to see the amount for the sum of 6 different criteria, without copy+paste the formula 6 times.
So, I know I can do:
ALS(C2="Payroll";SOMMEN.ALS(Blad2!D:D;Blad2!A:A;'Calculation sheet'!A2;Blad2!B:B;"Kosten Werkgever"))+ ALS(C2="Payroll";SOMMEN.ALS(Blad2!D:D;Blad2!A:A;'Calculation sheet'!A2;Blad2!B:B;"Loon voor bijdrage Zvw")) etc. But I would like to have ALS(C2="Payroll";SOMMEN.ALS(Blad2!D:D;Blad2!A:A;'Calculation sheet'!A2;Blad2!B:B;"ALL DIFFERENT OPTIONS TO SEARCH FOR"))
Can I solve this with an array function? And If so, how do I do this?
Thanks a lot!!
Marissa
Attachments
Last edited by a moderator: