Sunny54321
New Member
- Joined
- Mar 26, 2014
- Messages
- 22
Hi,
I wanted to ask if there is a way to use a SUMIFS with a criteria set that can “vary”???
Need to “SUMIFS” with multiple factors (DATE, ROOM NUMBER, ROOM USED FOR, etc) such that the ROOM IS USED for either ALL TYPES OF PROCEDURES(ELECTIVE, URGENT, EMERGENT, Add-On), ELECTIVE ONLY or NON-ELECTIVE(URGENT, EMERGENT, Add-On). Something like this: (C column is the reference array to be summed, E column is the Date, F is the Room Number, G is the VARYING field)
=SUMIFS($C5:$C10000,$E5:$E10000, $E$2,$F5:$F1000,$F$2,$G$5:$G$10000,$G$2)
It would be ideal if G2 can be an OR function that can be switched to contain 3 variations - OR(Elective,Urgent,Emergent,Add-on) or OR(Urgent,Emergent,Add-on) or Elective
Any insight or other method is welcome.
Thanks,
Sunny
I wanted to ask if there is a way to use a SUMIFS with a criteria set that can “vary”???
Need to “SUMIFS” with multiple factors (DATE, ROOM NUMBER, ROOM USED FOR, etc) such that the ROOM IS USED for either ALL TYPES OF PROCEDURES(ELECTIVE, URGENT, EMERGENT, Add-On), ELECTIVE ONLY or NON-ELECTIVE(URGENT, EMERGENT, Add-On). Something like this: (C column is the reference array to be summed, E column is the Date, F is the Room Number, G is the VARYING field)
=SUMIFS($C5:$C10000,$E5:$E10000, $E$2,$F5:$F1000,$F$2,$G$5:$G$10000,$G$2)
It would be ideal if G2 can be an OR function that can be switched to contain 3 variations - OR(Elective,Urgent,Emergent,Add-on) or OR(Urgent,Emergent,Add-on) or Elective
Any insight or other method is welcome.
Thanks,
Sunny