Created
October 19, 2011 18:21
-
-
Save terrbear/1299192 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= if((sum(arrayformula(if(sort(split(lower(indirect(address($A2, 6, true, true, "app vulnerabilities"))), " ", false)) = sort(split(lower(indirect(address($B2, 6, true, true, "app vulnerabilities"))), " ", false)), 1, 0))) * 2) = (sum(arrayformula(if(sort(split(lower(indirect(address($A2, 6, true, true, "app vulnerabilities"))), " ", false)) = sort(split(lower(indirect(address($A2, 6, true, true, "app vulnerabilities"))), " ", false)), 1, 0))) + sum(arrayformula(if(sort(split(lower(indirect(address($B2, 6, true, true, "app vulnerabilities"))), " ", false)) = sort(split(lower(indirect(address($B2, 6, true, true, "app vulnerabilities"))), " ", false)), 1, 0)))), VLOOKUP(F1, 'score values'!$A$1:$D$15, 2, false), min(sum(arrayformula(if(sort(split(lower(indirect(address($A2, 6, true, true, "app vulnerabilities"))), " ", false)) = sort(split(lower(indirect(address($B2, 6, true, true, "app vulnerabilities"))), " ", false)), 1, 0))) * VLOOKUP(F1, 'score values'!$A$1:$D$15, 3, false), VLOOKUP(F1, 'score values'!$A$1:$D$15, 2, false)-10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment