Event Counter for Data Change in Cell (Excel 2003)

Andreas_1956

New Member
Joined
Jan 25, 2005
Messages
1
Greetings --

Is there a way, using Excel logical formulae, to create an event counter for frequency of data change in a cell.

Specifically, each time there is a manual entry in cell B29 (dropdown list), a calculated value in cell K14 changes.

How can I count the number of entries that have been made (or how many times the numerical data have changed) per twenty four hours?

Many Thx
Andreas
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the Board!

If you want to increment a cell's value every time another cell is changed.... I don't think you could do that without VBA (though, I've seen some pretty amazing formulas here!). It could be done pretty easily with a Worksheet_Change() event. Like so:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    Application.EnableEvents = False
    If Target.Address = "$B$29" And IsNumeric([K14].Value) Then [K14].Value = [K14].Value + 1
    Application.EnableEvents = True
End Sub

Hope that helps! I just now saw the second part of your question (about time limits). Let me think on that one for a bit.
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,666
Members
448,977
Latest member
moonlight6

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