redsockspugie
New Member
- Joined
- Jul 20, 2012
- Messages
- 3
I was wondering whether it is possible to incorporate multiple criteria in a SUMIFS formula.
I have a form control dropdown box with various items in it that have been linked to a list of cells within the spreadsheet. So my dropdown box has, for example: Item 1, Item 2, Item 3, Item 4, All Items. And I have a cell in my spreadsheet which displays which option has been selected.
The formula I am trying to create performs a SUMIF for values (that occur within certain dates) when 'all items' is selected.
This is the sort of thing I am trying to do:
=SUMIFS(PTS!T:T,PTS!B:B,">="&DATE(('Dropdown options'!I6), 1, 1),PTS!B:B,"<="&DATE(('Dropdown options'!I6), 2, 29),PTS!F:F, {item 1, item 2, item 3, etc.})
Ideally, what I would like to do is have this list in another cell and have it referenced in this.
e.g.
=SUMIFS(PTS!T:T,PTS!B:B,">="&DATE(('Dropdown options'!I6), 1, 1),PTS!B:B,"<="&DATE(('Dropdown options'!I6), 2, 29),PTS!F:F, 'Dropdown options'!J4)
where 'Dropdown options'!J4 contained the list of items.
I have also tried using the OR function for the criteria list, but to no avail.
Is this at all possible? Any responses would be very much appreciated. Thanks in advance!
I have a form control dropdown box with various items in it that have been linked to a list of cells within the spreadsheet. So my dropdown box has, for example: Item 1, Item 2, Item 3, Item 4, All Items. And I have a cell in my spreadsheet which displays which option has been selected.
The formula I am trying to create performs a SUMIF for values (that occur within certain dates) when 'all items' is selected.
This is the sort of thing I am trying to do:
=SUMIFS(PTS!T:T,PTS!B:B,">="&DATE(('Dropdown options'!I6), 1, 1),PTS!B:B,"<="&DATE(('Dropdown options'!I6), 2, 29),PTS!F:F, {item 1, item 2, item 3, etc.})
Ideally, what I would like to do is have this list in another cell and have it referenced in this.
e.g.
=SUMIFS(PTS!T:T,PTS!B:B,">="&DATE(('Dropdown options'!I6), 1, 1),PTS!B:B,"<="&DATE(('Dropdown options'!I6), 2, 29),PTS!F:F, 'Dropdown options'!J4)
where 'Dropdown options'!J4 contained the list of items.
I have also tried using the OR function for the criteria list, but to no avail.
Is this at all possible? Any responses would be very much appreciated. Thanks in advance!