Base-75 formula?

rickeyjt

New Member
Joined
Mar 14, 2002
Messages
8
I am trying to calculate seconds and frames for music. Each second is divided into 75 (0-74). Left of the decimal point is seconds, right of the decimal point is frame number. I want to add, subtract or multiply, e.g., 2.45 + 5.65 with a one step formula. Then also take total number of frames and convert back to seconds.frames.

2x75=150+45=195 + 5x75=375+65=440 =
635 (total frames) /75 = 8 seconds ???frames
8x75=600
635-600=35
8.35 (What formula to get this number?)
This message was edited by rickeyjt on 2002-03-15 08:20
 
I did use ctrl-shft-ent. I copied the formula (minus {} outside braces). My cell positions are F2:G2, that's the only difference.

Then change the formula to...

{=SUM((TRUNC(F2:G2)*75+MOD(F2:G2,1)*100)*{-1,1})}

...the orientation of the array constant, {-1,1}, must match the orientation of your cell reference, F2:G2. In an array constant rows are delimited by commas (,) and columns are delimited by semicolons (;).
This message was edited by Mark W. on 2002-03-15 11:33
 
Upvote 0

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.
On 2002-03-15 11:30, Mark W. wrote:
. . . F2:G2. In an array constant rows are delimited by commas (,) and columns are delimited by semicolons (;).
Thanks for the great tips and help.

If I can bother you for one other thing . . .
The Seconds side of my sec.fr result is turning into Minutes (never gets to Hours). So 102.45 should read 1.42.45.
 
Upvote 0
On 2002-03-16 04:27, rickeyjt wrote:
On 2002-03-15 11:30, Mark W. wrote:
. . . F2:G2. In an array constant rows are delimited by commas (,) and columns are delimited by semicolons (;).
Thanks for the great tips and help.

If I can bother you for one other thing . . .
The Seconds side of my sec.fr result is turning into Minutes (never gets to Hours). So 102.45 should read 1.42.45.

=TRUNC(C1/4500)&"."&MOD(TRUNC(C1/75),60)&"."&RIGHT(ROUND(MOD(C1/75,1)*0.75,2),2)
 
Upvote 0
On 2002-03-18 08:43, Mark W. wrote:
=TRUNC(C1/4500)&"."&MOD(TRUNC(C1/75),60)&"."&RIGHT(ROUND(MOD(C1/75,1)*0.75,2),2)

This yields the numbers as expected. But occasionally, not all, there is an extra dot separator before the frames number, e.g., 4.3..3 or 5.17..3 which occur whether the cell is formatted Number or General. Also, some numbers get formatted with leading zeros (I would prefer that) and some not, e.g., 12.28.06, 11.57.0 or 17.7..6.

Is there something to add to the formula to ensure a two digit format for the seconds.frames? Cell format does not help.
 
Upvote 0
Sorry about the earlier shortcomings. Try this...

=TRUNC(C1/4500)&"."&TEXT(MOD(TRUNC(C1/75),60),"00")&TEXT(ROUND(MOD(C1/75,1)*0.75,2),".00")
 
Upvote 0
On 2002-03-15 11:30, Mark W. wrote:
In an array constant rows are delimited by commas (,) and columns are delimited by semicolons (;).

Hey Mark,

wasn't aware of that - that's handy to know

thanks
Chris
:)
 
Upvote 0
On 2002-03-20 11:35, Chris Davison wrote:
On 2002-03-15 11:30, Mark W. wrote:
In an array constant rows are delimited by commas (,) and columns are delimited by semicolons (;).

Hey Mark,

wasn't aware of that - that's handy to know

thanks
Chris
/board/images/smiles/icon_smile.gif

Oops! In the rush to respond I got it "bass ackward" :)

{1,2,3,4} is a horizonal array so commas delimit columns

{1;2;3} is a vertical array where semicolons delimit rows

Sorry, for the misinformation.
 
Upvote 0
=TRUNC(C1/4500)&"."&TEXT(MOD(TRUNC(C1/75),60),"00")&TEXT(ROUND(MOD(C1/75,1)*0.75,2),".00")

This worked great. Thanks. If you want to see it you can download it ftp from dviews.com/annonymous login - asd.xls. Sheet 1 lets me enter start/end points and sheet 2 I can change the frame numbers of the difference between start and end points.

I needed this app for a music slow down program for doing transcriptions (Amazing Slow Downer - http://www.ronimusic.com). I define what one measure is then I can reposition the slider to move through the song one, two, three or four measures at a time.

Rick
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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