gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
I would like to change this formula so that it counts the number of times B3:B15 is 0…
- User
I would like to change this formula so that it counts the number of times B3:B15 is 0 =SUM(IF(3:15=H3, 3:15, 0))
- Assistant
To count the number of times B3:B15 is 0, you can use the following formula:
=COUNTIF(3:15,0)
- User
will this work =COUNTIF(IF(3:15=H3, 3:15,0))
- Assistant
No, that formula will not work.
Here is the correct formula to count the number of times that Column B (B3:B15) is 0, but only when the corresponding cell in Column C (C3:C15) matches the value in cell H3:
=COUNTIFS($B$3:$B$15,0,$C$3:$C$15,H3)This formula uses the COUNTIFS function to count the number of times that Column B is 0 and Column C matches the value in H3.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.