count number of times cell value changes by formula

vijayamani1987

New Member
Joined
Mar 16, 2014
Messages
32
Hi people,

I come across some similar posts but not able to modify it to my purpose.

In column C & F has if function, D&E has sum function. The formula in C:C is =IF(AND(M4>=3,N4>=2,O4="wait"),"wait",IF(AND(M4<=-3,N4<=-2,O4="close"),"close","-")). These values in D,E and F keeps changing for every 15 minutes and so C column. I want the number of times "wait" or "close" arrived in C column to be recorded in A & B column.


ABCDEF
1WaitClose(if function)(sum function)(sum function)(if function)
2
3wait35wait
4-14close
5close-5-3close
6-1-6
7-49
8--3-7wait
9close-6-4close

<colgroup><col span="3"><col><col span="3"><col></colgroup><tbody>
</tbody>
Any help appreciated.

<colgroup><col span="4"><col span="3"><col></colgroup><tbody>
</tbody>

<colgroup><col span="4"><col span="3"><col></colgroup><tbody>
</tbody>

<colgroup><col span="4"><col span="3"><col></colgroup><tbody></tbody>
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Copy across from A to B

=COUNTIF($C:$C,A1)
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,375
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top