KDavidP1987
Board Regular
- Joined
- Mar 6, 2018
- Messages
- 51
Hello,
I've been trying to research a way to include the OR conditional, or an array, within an AVERAGEIF formula, and cannot find a way to do so. The AVERAGEIFS function is essentially an AND operator, so it says that all the conditions must be met, but I need for it to calculate the average of the field if one of several conditions is met within a text string.
More Details:
I'm compiling a workbook of ticket data, at the request of a manager, which identifies the average age of tickets matching certain types of work (category). Unfortunately the only thing we have to go off of to do the search is what the agents enter in as the Title of the ticket. It's our old ticketing system, we are transitioning to a new one.
I have compiled the 2018 YTD ticket data in one worksheet, with Rows for each ticket, and Columns which include the Age (time from open to close), and title. On the second worksheet I created a list of the top categories of tickets, with 5 fields the leads can enter in possible title keywords/keyphrases.
I need the AVERAGEIF function to Average the Age of incidents where the Title includes any (OR condition) of those 5 possible entries.
For example:
Category: Password Resets
Title 1 Ex: Password Reset
Title 2 Ex: Psw Reset
Title 3 Ex: AD Lockout
Title 4 Ex: Reset Password
Title 5 Ex:
Formula should say something along these lines:
AVERAGEIF [Age] where the Title matches: *Title 1 Ex*, *Title 2 Ex*, *Title 3 Ex*, *Title 4 Ex*, *Title 5 Ex*
Currently it works if I am doing 1 Title search, and here is the formula, for reference:
Essentially, instead of just 1 Title Identifier there are 5 I need to account for (preferably with wild cards, but doable without).
Is this possible??
Sincerely,
Kristopher
I've been trying to research a way to include the OR conditional, or an array, within an AVERAGEIF formula, and cannot find a way to do so. The AVERAGEIFS function is essentially an AND operator, so it says that all the conditions must be met, but I need for it to calculate the average of the field if one of several conditions is met within a text string.
More Details:
I'm compiling a workbook of ticket data, at the request of a manager, which identifies the average age of tickets matching certain types of work (category). Unfortunately the only thing we have to go off of to do the search is what the agents enter in as the Title of the ticket. It's our old ticketing system, we are transitioning to a new one.
I have compiled the 2018 YTD ticket data in one worksheet, with Rows for each ticket, and Columns which include the Age (time from open to close), and title. On the second worksheet I created a list of the top categories of tickets, with 5 fields the leads can enter in possible title keywords/keyphrases.
I need the AVERAGEIF function to Average the Age of incidents where the Title includes any (OR condition) of those 5 possible entries.
For example:
Category: Password Resets
Title 1 Ex: Password Reset
Title 2 Ex: Psw Reset
Title 3 Ex: AD Lockout
Title 4 Ex: Reset Password
Title 5 Ex:
Formula should say something along these lines:
AVERAGEIF [Age] where the Title matches: *Title 1 Ex*, *Title 2 Ex*, *Title 3 Ex*, *Title 4 Ex*, *Title 5 Ex*
Currently it works if I am doing 1 Title search, and here is the formula, for reference:
Code:
=AVERAGEIF(Table2[Title], [@[Title Identifier 1]], Table2[Age of Incident (Minutes)])
Essentially, instead of just 1 Title Identifier there are 5 I need to account for (preferably with wild cards, but doable without).
Is this possible??
Sincerely,
Kristopher