Hello,
I would like to use Excel and automate my calculations. Time will always vary but volume will be same
Here's one example. Every 1 minute and 17 seconds 7.48 of liquid is used. How much of liquid was used in 1 day?
Thanks in advance!
Hello,
I would like to use Excel and automate my calculations. Time will always vary but volume will be same
Here's one example. Every 1 minute and 17 seconds 7.48 of liquid is used. How much of liquid was used in 1 day?
Thanks in advance!
Try...
=1/TIME(0,1,17)*7.48
Approx. 8393.143 liquid used in a day.
?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
― Robert A. Heinlein
How is cell formatted? mm:ss?
If so, then just =1/A1*7.48
If that's not the case, I'll need to see the actual format and what's actually stored in the cell (meaning can you upload sample?).
Ok, so it's actually in h:mm format.
In that case, you need to do adjustment like below.
=1/A2*60*7.48
Edit: Alternately...
=1/TIME(0,HOUR(A2),MINUTE(A2))*7.48
Make sure you format the cell (C2) as number.
Otherwise, you will see it formatted as time. And time only show up to 23:59:59 and then rolls back down to 0:00:00.
Huh? Your initial question was...
If you change 1 minutes 17 seconds to 2 minutes 17 seconds... then, there will be less liquid used, since you are using same amount over longer period.Every 1 minute and 17 seconds 7.48 of liquid is used. How much of liquid was used in 1 day?
No?
Wait a minute if I enter 2:17 in A3 is that treated as 2 minutes and 17 seconds or 2 hours and 17 minutes?
Same volume over more time means your flow rate is slower, so over a constant time frame less liquid would be used.
Click the [* Add Reputation] Button to thank people for help!
Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.
Cell stores it as 2 hour 17 minutes. But the formula I gave you in post #6 converts it to 2 minutes 17 seconds.if I enter 2:17 in A3 is that treated as 2 minutes and 17 seconds or 2 hours and 17 minutes?
That would be correct. Note that since you have it in h:mm format, you can't use value greater than 23 hours, 59 minutes (i.e. 23 minutes 59 seconds).
Otherwise you will get unexpected result.
I'd recommend using [h]:mm:ss format and entering 17 seconds as 0:00:17. And use original formula of 1/A2*7.48
Excel holds datetime value as double (I.E. decimal).
1 hour = 1/24
Hence, 1 = 24 hour = 1 day
To manually calculate 1/17*60*60*24*7.48 = 38016
1 min has 60 sec
So, 60/17*7.48
1 hour has 60 min
So, 60*60/17*7.48
Micko - please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!
For normal conversational replies, try using the QUICK REPLY box below.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
There's mistake in my post. I though you were calculating for 17 sec flow. If using 1 min 17 sec. Replace 17 in my post with 77.
At any rate I'm not sure what the calculation in E2 of your sheet represents.
=7480/86400
That's not your mistake, I was just testing different times under and over 1 minute. Making sure calculator and Excel have same results.
Its a manual process that is done using calculator:
1440 minutes x 60 seconds = 86,400 seconds.
7480 gallons divided by 86,400 seconds = .09 gallons per second.
1 minute, 17 seconds = 77 seconds.
.09 gallons per second x 77 seconds = 6.93 gallons every 1 minute, 17 seconds.
Ok, that's because of rounding.
While Excel displays 0.09 due to number format (decimal place of 2).
Underlying value holds actual value (i.e. approx. 0.865740740741).
So 77*0.865740740741 is approx 6.67 (6.666...)
You're right, I made a mistake. It should've been 7480 gallons divided by 86,400 seconds = .086 gallons per second and then the rest would have same end result as in Excel.
If I want to use per minute (60/17*7.48) and per hour (60*60/17*7.48) calculations but instead to pull time from A2 how would I do that?
Something like below for per Minute
=1/A2*7.48/24/60
per hour.
=1/A2*7.48/24
Thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks