Hello!
I need help figuring out how to get a formula I had working on Google Sheets to now work in Excel and was counting on this community's expertise, please!
I basically have a table with ticket items where one of the columns for each ticket is called Linked Issues. If an item from my table is listed as a "Bug" then we should look at the Linked Issues column for that item and see if any of those comma-separated items are also listed in the table as "Story" in the same table. If this criterion is met then my bug counts as one in my grand total.
One last criterion is that another column must also contain a "Yes". Otherwise, the bug won't be accounted for in my total.
I've attached a file with an example and a detailed explanation. With help, in the past, I've made this work in Google Sheets but it uses formulas such as "regexmatch" and "arrayformula" to make the calculation.
Here's what it looked like:
=arrayformula( sum( iferror( regexmatch( filter(INDIRECT("'JQL - Sprint "& A4 & "'!S2:S"), len(INDIRECT("'JQL - Sprint "& A4 & "'!S2:S")), INDIRECT("'JQL - Sprint "& A4 & "'!B2:B") = "Bug") & ";", textjoin( "|", true, filter(INDIRECT("'JQL - Sprint "& A4 & "'!C2:C"), len(INDIRECT("'JQL - Sprint "& A4 & "'!C2:C")), INDIRECT("'JQL - Sprint "& A4 & "'!B2:B") = "Story") & ";" ) ) + 0 ) ) )
It's been a big challenge to solve this Excel so any help would be greatly appreciated!
Thank you very much!
I need help figuring out how to get a formula I had working on Google Sheets to now work in Excel and was counting on this community's expertise, please!
I basically have a table with ticket items where one of the columns for each ticket is called Linked Issues. If an item from my table is listed as a "Bug" then we should look at the Linked Issues column for that item and see if any of those comma-separated items are also listed in the table as "Story" in the same table. If this criterion is met then my bug counts as one in my grand total.
One last criterion is that another column must also contain a "Yes". Otherwise, the bug won't be accounted for in my total.
I've attached a file with an example and a detailed explanation. With help, in the past, I've made this work in Google Sheets but it uses formulas such as "regexmatch" and "arrayformula" to make the calculation.
Here's what it looked like:
=arrayformula( sum( iferror( regexmatch( filter(INDIRECT("'JQL - Sprint "& A4 & "'!S2:S"), len(INDIRECT("'JQL - Sprint "& A4 & "'!S2:S")), INDIRECT("'JQL - Sprint "& A4 & "'!B2:B") = "Bug") & ";", textjoin( "|", true, filter(INDIRECT("'JQL - Sprint "& A4 & "'!C2:C"), len(INDIRECT("'JQL - Sprint "& A4 & "'!C2:C")), INDIRECT("'JQL - Sprint "& A4 & "'!B2:B") = "Story") & ";" ) ) + 0 ) ) )
It's been a big challenge to solve this Excel so any help would be greatly appreciated!
Thank you very much!