Check if current time then calculate else display previous calculated value no change

SachinPA

New Member
Joined
Mar 6, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi ,

I am trying to calculate running values for time based intervals

My table is as follows

Time Value

09:00 AM 100
09:15 AM 120

If current time is 09:00 AM It will calculate value from source data and display the value. For 09:15 AM no values will be calculated

If Current time is 09:15 AM then it will not do anything on 100 at 09:00 AM Value but calculate new values from source data for 09:15 AM.

Is it possible ?

I tried to do it but once current timestamp condition is satisfied lets say 09:15 AM then previous values go away for 09:00 AM.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Sample Data for reference

Interval -> 0:15
Start TimeEnd TimeCheckResult
1:23 PM1:38 PMTRUEY
1:38 PM1:53 PMFALSEFALSE
Check formulaAND(TIME(HOUR(NOW()),MINUTE(NOW()),0)>=TIME(HOUR(A3),MINUTE(A3),0),TIME(HOUR(NOW()),MINUTE(NOW()),0)<TIME(HOUR(B3),MINUTE(B3),0))
Result Formulaif(C3=true,"Y")
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

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