Hi guys,
I am trying to use this countif function:
=COUNTIF('Sheet1'!I2:I39, "On hold")
I want to know how I can count various cells in the same formula?
i.e.
Sheet 1, 'on hold' crtieria count cells: I2:I39 and I41:I43
Thank you
Hi guys,
I am trying to use this countif function:
=COUNTIF('Sheet1'!I2:I39, "On hold")
I want to know how I can count various cells in the same formula?
i.e.
Sheet 1, 'on hold' crtieria count cells: I2:I39 and I41:I43
Thank you
Thanks,
R.
=COUNTIF('Sheet1'!I2:I39, "On hold")+COUNTIF('Sheet1'!I41:I43, "On hold")
Bingo, thank you!
Hi rayted,
A sample workbook would allow us to give a better answer but two possible answers are...
=Countif(first range) + CountIf(second range)
or
Try using the CountIfs() function.
https://www.techonthenet.com/excel/f...s/countifs.php
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
thanks MarvinP.
davsth provided the response prior and both your and their response has helped. thank you!
Try this
=SUMPRODUCT(COUNTIF(Sheet1!I2:I39,I41:I43))
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
Hi rayted,
If you have a good answer for your problem, you should mark it as solved, so others don't need to try and give an answer.![]()
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
Sorry - marked as solved now!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks