Struggling with SUMIFS

Dear Community,

I am desperately trying to make a SUMIFS function work.

I have to columns with dates, Start date (startdato) and end date (slutdato). I need to count the days in the period between start date and end date, and add them, where the following criterias are met:

It must say "Ida Skou Andersen" in the column "Medarbejder", and it must say "Sygemelding" in the column "Type of fravær".

I have tried this, and a lot of other versions but I can't make it work. What am I doing wrong? Is it not possible to use a SUMIFS for this?

=SUMIFS(Slutdato:Slutdato - Startdato:Startdato; Medarbejder:Medarbejder; "Ida Skou Andersen"; Type af fravær:Type af fravær; "Sygemelding")

I really hope you can help me out.

Best, Ida.


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!