change time every minute

Dipak543

New Member
Joined
Jul 4, 2020
Messages
26
Office Version
  1. 365
Platform
  1. Windows
In column B it prints the current time whenever the value changes in column A. I am using condition like if the current time is greater than> 1 min then prints the value in column a . the problem is I want to run the code exactly at 15 sec every min like 9:15:15, 9:16:15, 9:17:15 ...somehow it increases slowly from 15 sec to 17sec to so on. I want to run a VBA macro to reset the values from 9:17:19 to 9:17:15, and 9:18:20 to 9:18:15. attaching screenshot see the second's value is increasing slowly in column B.

1660149106102.png
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Simply out of my understanding of things the narrower the time frame, more calculations Excel has to do in background thus making system slower to respond.
 
Upvote 0
Are you using a macro ... a formula ? How are you getting Excel to track the elapsed time ? Post your code and also a link to download your workbook for review.
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,974
Members
449,095
Latest member
Mr Hughes

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