# Count how many times a cell changes to specific critiria

#### CHHeights

##### New Member
Hello!

I am trying to calculate how many times a cell changes to "Checked Out" and only when it changes to checked out. I frequently change the cell stratus from "Checked Out" to "On Shelf' and I cannot seem to find a formula where it will only count the times it was changed to "Checked Out."

I would ultimately like to count how many times this change occurs for a whole column, with a different counter for each cell in that column.

Is there anyone that can help me with this?

Thanks so much!

### Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},\$Z\$1:\$Z\$99,\$Y\$1:\$Y\$99),2,False) to lookup Y values to left of Z values.

#### Dan_W

##### Well-known Member
For this sort of thing, you would need to use VBA. Would that be a workable solution?

#### CHHeights

##### New Member
For this sort of thing, you would need to use VBA. Would that be a workable solution?
Hi! Oh that makes sense. It would be a workable solution. Do you know how I could go about creating a VBA for this problem? Thank you so much!

Replies
5
Views
150
Replies
6
Views
128
Replies
7
Views
85
Replies
19
Views
323
Replies
13
Views
504

1,181,212
Messages
5,928,722
Members
436,625
Latest member
agholson81

### 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.

### Which adblocker are you using?

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

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