Hi all,
I've written the following formulae using multiple named ranges (Weekdays and DestinationOtherCountry).
=SUMPRODUCT(COUNTIFS('Current Month'!$C:$C,Calculations!L$2,'Current Month'!$F:$F,Weekdays,'Current Month'!$G:$G,Calculations!$A$2,'Current Month'!$I:$I,$F$6,'Current Month'!$J:$J,DestinationOtherCountry))
It works with one without the other, either way round.
I found online that countifs don't work with more than one named range, which would explain the above.
Anyone got any ideas?
I cant share the excel itself. Apologies.
But a breakdown of the excel and function is as follows:
The excel records employees work activities. Each row being a new day.
Column C = Name
Column F = Day of week
Column G = Location
Column I = Activity (workday/nonworkday)
Column J = Destination location if someone travelled
And all criteria following the ranges in the function are all according.
I thought of trying to create a Boolean function for one of the conditions.
Lets say - for a specific person, for this month, if there is a row with a destination location return true - but im not quite sure how to do that.
Hope this isnt too long, im new to this forum.
Thanks
Bookmarks