Login Page - Create Account

Support Board


Date/Time: Sat, 15 Mar 2025 16:12:38 +0000



Spreadsheet - formating to seconds

View Count: 372

[2022-07-20 09:05:58]
User361939 - Posts: 167
Hello,
I am trying to get duration for bar in seconds. In excel it's a simple changing format [ss], so the difference in bar time is presentented in seconds. In spreadsheet i can only change format to time so i can see like at the attachment.
What formula should i used so instead 0:02:50 i wil get value = 170 ?

Best Regards
imagetime.png / V - Attached On 2022-07-20 09:03:48 UTC - Size: 2.55 KB - 111 views
[2022-07-20 14:01:56]
Sawtooth - Posts: 4183
What formula should i use so instead of 00:02:50 i will get value = 170 ?

If you are using the Bar Time Duration study's output, try this:
=MINUTE(ID1.SG1@3)*60 + SECOND(ID1.SG1@3)
-where ID1 is the Bar Time Duration study.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account