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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Copy across from A to B

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

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,961
Latest member
nzskater

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