Filter data for specific time stamp

nickburt

New Member
Joined
Dec 1, 2015
Messages
12
Hi, I have a datalog spread sheet that has data recorded from a SCADA at 1 second and another that is at 1 minute intervals and need to align the two.
So, I'm trying to filter the 1 second records to only show those that are at 13 seconds past the minute. (as that's the timing for the second set of records at 1 minute intervals - if that make sense?).
I've been trying to use:
=MOD(SECOND(B236),$D$1)=0 in cell D2 (and copied down), where D1 contains the number 13

See attached screen shot

1669038327241.png


But as you can see, it's returning true for every 13th row, where as I though it would return true for every row that shows 13 as the seconds in column B
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Another option
Excel Formula:
=SECOND(B236)=$D$1
 
Upvote 0

Forum statistics

Threads
1,214,958
Messages
6,122,475
Members
449,087
Latest member
RExcelSearch

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