So right now my formula is
=COUNTIFS(D4,"Ajay", E4,">"&F4)
Which seems to work fine for 1 item but doesn't seem to work as a range?
=COUNTIFS(D4:D50,"Ajay", E4:E50,">"&F4:F50)
Any ideas?
=ARRAYFORMULA(IF((D4:D50="Ajay")*(E4:E50>F4:F50), 1, ))
or the actual count of it:
=SUM(ARRAYFORMULA(IF((D4:D50="Ajay")*(E4:E50>F4:F50), 1, )))
Related
I have a formula that do almost what I need. I'm trying to get a list of values with a condition depending about one value, is objetive 1 is equal or over to 80 show me the list of objetives equal or over 80. My formula is this one:
=ARRAYFORMULA(IF(('Product Prioritization Matrix'!C7:C >= 80), 'Product Prioritization Matrix'!B7:B,""))
My problem comes when I try to put this in just one cell in the last image will show what I need visualy.
The next images will show the sheets:
My formula
Expected result
I think a JOIN(... , FILTER( structure will work for this:
=JOIN(", ",FILTER(Sheet1!B:B,Sheet1!C:C>=80))
Example long hand formula:
IF "text_1" [a cell reference] appears in this range [a column range], COUNT all occurances of "text_1" in the range and decrease by 1, if "text_1" [the cell reference] does not appear, 0.
I've tried: =countif(C$2:C$15,$A17)-1 YET, when A17 does not appear in C2:C15, the result is -1. I need 0.
Any assistance would be greatly appreciated. Thanks!!
try:
=MAX(COUNTIF(C2:C15, A17)-1, 0)
note that if there will be 1 match final result will be zero too
I am building a calculator and need the below if statement to return numbers according to this logic, when I drag this formula down it returns 10 for my subsequent rows, how do I fix this issue?
Tried below:
=IF(OR(D5>=60,1,1),IF(OR(D5>=120,2,2),IF(OR(D5>=180,3,3),IF(OR(D5>=240,4,4),IF(OR(D5>=300,5,5),IF(OR(D5>=360,6,6),IF(OR(D5>=420,7,7),IF(OR(D5>=480,8,8),IF(OR(D5>=540,9,9),IF(D5>=600,10,10))))))))))
delete everything in column where you put this formula and paste it in row 5 of that column
=INDEX(IFNA(VLOOKUP(D5:D, {SEQUENCE(10, 1, 60, 60), SEQUENCE(10)}, 2, 1)))
I have this example here
I need to have the data in column D filled in with arrayformula. The value should be the value in column B.
I've tried using combination of ROW&INDIRECT&FILTER&QUERY|VLOOKUP , but it didn't work, as if ROW() cannot be used in arrayformula. Maybe you guys have some idea that could work.
use:
=ARRAYFORMULA(IF(C7:C="",, VLOOKUP(ROW(A7:A), IF(B7:B<>"", {ROW(A7:A), B7:B}), 2, 1)))
I have a range of data on Sheet1 in B2:K18 and a list of values on Sheet2 in A2:A.
In a cell, say Sheet1!B20, I would like to automatically return the first value from the list in Sheet2!A2:A that is not found in the range Sheet1!B2:K18.
Note that Sheet1!B2:K18 will be updated so the returned value will hopefully change if the original returned value is entered into Sheet1!B2:K18.
I am assuming it has to include INDEX and MATCH but I have been unsuccessful.
=IFERROR(INDEX(FILTER(sheet2!A2:A,
NOT(REGEXMATCH(sheet2!A2:A, "^"&TEXTJOIN("$|^", 1, B2:K18)&"$"))), 1, 1))