Transform a cell with avalue of mintues to another cell to show hours:minutes
I would like to use be able to fill out one cell in plain mintues(for example 75 min) which I want to be shown in another cell as hours:minutes( 1hrs:15min).
HI Micke,
What you use in column D depends on what you actually want or need the result to be—a duration value, including units (h and m), a number representing the number of hours and fraction of hour with the unit label in the next column, or a text value showing the number of hours and the number of 'extra; minutes including unit labels.
The value in column B is a number, which, according to your original question, you want to display in column D as a duration in hours and minutes.
The English language function to do that is DURATION. Here's the syntax for regions where the decimal separator is a period.
DURATION(weeks, days, hours, minutes, seconds, milliseconds)
In my localization, the formula in D would be =DURATION(,,,B)
In your localization DURATION would be replaced by the Swedish name for this function, and the three commas would be replaced by semi colons:
=FUNCTIONNAME(;;;B)
Format the cell in column D as DURATION with hours and minutes as the units to include in the display.
Although that will convert the number in B to a duration in D, the labels "Min" and "Hrs" in the cells to the right of theseclls in the image of your table implies that what should be in both of these cells should be a number value representing the number of minutes (B) and the number of hours, including (decimal) fractional hours (D) with the unit shown by the label in the adjacent column.
=B/60
Formatted to show two places after the dcimal will show the number representing hours and hundredths of hours equivalent to the number of minutes shown in column B.
If you are using this value in further calculations, this may be the best type of value to place in this cell.
If the cell is for display only, you can build a text string displaying the number of hours and minutes (with whatever labels you wish to put in for Hrs and Min using QUOTIENT and MOD
=QUOTIENT(B,60)&" Hrs "&MOD(B,60)&" Min"
This is a text value, and can't be used in further calculations. (but the calculations could probably be revised to use the value in B.
Regards,
Barry
Similar Messages
-
How do i transform a layer with maintain aspect ratio through scripting in Photoshop?
Hi,
How do i transform a layer with maintain aspect ratio through scripting in Photoshop? I am expecting your reply.
thanks,
Rajiv.sI don't think your talking apples to apples. First I do not know of any Maintain Aspect Ratio icon in Photoshop. The only icon I think associated with transform is the anchor point icon in the option bar for transform. I think you may referring to the constrain check box in the image size dialog which you can check when resample is checked. Image size effect all layers in the document and the documents canvas size. The document canvas size will be changed to the values in the images size dialog and all layers will be transformed by percentage the canvas was changes while maintaining the layers position over the canvas and the layers I think may be cropped so only pixels over the canvas remain.
I do not know if you know that layers can be any size and have aspect ratios different then the documents canvas.
In your case it sounds like your describing a template that has a canvas size that is 2000px wide be 3000px high a 2:3 portrait aspect ratio. Your image file has a landscape aspect. If you place that image into your template place would by default transform the image so the image would fit within the 2000px by 3000px canvas size there would be a white border top and bottom. You could transform that smart object layer to it actual pixels size activeDocument.activeLayer.resize(100,100, AnchorPosition.MIDDLECENTER); then calculate the size you want to transform its height to. By retrieving the canvas size and the layers boundaries. Divide the canvas height pixel size by the layers pixel height size should give you the percentage you need to use. Make sure you set the ruler units to pixels so your working with pixel values for the canvas and layer size values. The resulting layer will be larger then canvas size keeping the anchor point centered will result in the canvas size masking off both sides. In effect cropping you landscape to a portrait. Note cropping a image from one orientation to the other changes the composition drastically.
If your trying to make a composit like collage you may want to look at my Photoshop Collage Toolkit it will fit images to fill a 2000px by 3000px area http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html
You could also do centered 2:3 crop that is resized to a 3000px -
My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help
My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help
-
I have an Ipod touch and recently added new music to my Itunes library. When I sync with the library, the new music does not show up on my ipod. The sync process seems to be working and there is still plenty of space on the Ipod for new music so I'm not sure what the problem is!
What happens when you try to sync?
Was the iPod previous synced to another iTunes library/computer?
Have you successfully synced from this iTunes library/computer before?
Do the songs play in iTunes?
Do you have the right boxes checked to sync?
iTunes: Syncing media content to iOS devices and iPod
Do you have any Restrictions (Settings>General>Restrictions) set that would prevent syncing those songs? -
I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.
I've been unable to locate an app that will do this. The Photos app that comes with the phone or iPad has extremely limited duration controls. PhotoStream seems to load everything from my phone or iPad not allowing me to just load up a set group of images.
iPhoto for iPad is getting some terrible recent reviews. I tried a couple other free apps but they don't use Airplay.
I can do something like this with iPhoto and my MB Air, but it's kind of ugly to have the computer open in order to connect by Airplay to my Apple TV. I've thought the iPad or iPhone would be a lower profile controller.
Am I out of luck?Thanks for your help. Since I'm uninterested in loading all my photos (the only option) into photostream, I won't be able to use the settings in ATV. I guess I'm just stuck with using iPhoto on my MB Air. Thanks again.
paul -
I updated my ipad 3 with the ios7 update. Now the screen shows the itunes icon and a pic of the plug in (as to plug into itunes) When I do this it wants to restore my ipad, which I have already done. I can't get out of this screen. Any hints on what to do next?
Something went wrong with your update; you are in Recovery Mode.
Follow step 1 to 6 closely to recover your iPad.
http://support.apple.com/kb/HT1808
Note: You may have to repeat the above a few times -
Help on export sybase iq tables with data and import in another database ?
Help on export Sybase iq 16 tables with data and import into another database ?
Hi Nilesh,
If you have table/index create commands (DDLs), you can create them in Developper and import data using one of methods below
Extract/ Load table
Insert location method : require IQ servers to be entered in interfaces file
Backup/Restore : copy entire database content
If you have not the DDLs, you can generate them using IQ cockpit or SCC.
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01773.1604/doc/html/san1288042631955.html
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01840.1604/doc/html/san1281564927196.html
Regards,
Tayeb. -
Since I have upgraded from 7.1 then the power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours before I need to recharge the battery.
Wrote a little wrong the first time!
Then I upgraded to 7.1 so have power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours before I need to recharge the battery. -
my 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help. What can I do?
Under CPU: 3.5% user; 5% system; 91% idle; 441 threads; 90 processes.
Under System: out of 2GB - 54.7MB free; 530MB wired; 603MB active; 862MB inactive; 1.95GB used.
Is too much of the system memory tied up? If so, what can I do to free some up? -
Why can't I connect to my iphone5 with my iPad, Snote2 or another iPhone5 through wifi as a hotspot, only through Bluetooth? My Snote2 can't even find the iphone5 as a hotspot, even on Bluetooth.
I've reset, restored and updated everything but no go.WiFi is preferable for use as a hotspot to Bluetooth.
Have you tried Settings > General > Reset > Reset Network Settings?
If you have and it didn't work I would take the iPhone in for service. -
i am unable to sync my iphone with itunes on my windows pc and itunes show that your iphone is not connected?
You have posted to the iTunes Match forum, which your question does not appear to be related to. You will probably get better help by posting in the Using iPhone forum.
-
Trouble with Safari 6.0.5. Works for a few minutes then locks up in all tabs (wheel spinning). Chrome & Firefox work fine. Using OSX 10.8.4. Wonder if I downloaded plugin causing this? Please help.
Yes, a plugin or an extension either one...
From your Safari menu bar click Safari > Preferences then select the Security tab.
Deselect: Allow all other plug-ins. Quit and relaunch Safari to test.
If that made a difference, instructions for troubleshooting plugins here.
If it's not a plug-in issue, select the Extensions tab. If there are any extensions installed, turn that OFF, quit and relaunch Safari to test. If that made a difference, uninstall one at a time, quit and relaunch Safari to test until you find the culprit. -
"There was a problem downloading the software fot the iphone. The network connection timed out."
there's no pblm with my connection but this error keeps on showing,
what to do? please help....Stop with the silly and pointless fonts.
A simple search of the forums for the actual error would have revealed the resolution.
Temporarily disable all security software on the computer. -
Im trying to find my iPhone via iCloud but i does not show a map with its last know location. It only shows the menu options. My iPad and Mac show up but the map of my iPhone does not. Can anyone help?
If your phone is turned off or not connected to the Internet, you will be unable to locate it. Last known location is only stored for 24 hours.
-
I spend 5 months in Florida and 7 months in Ontario, Canada. Can a Verizon Samsung Note ll be unlocked and used with a sim card from another carrier in Ontario?
Yes, you should be able to use a local SIM card from a carrier in Ontario. You should not have to do anything prior to doing so.
Maybe you are looking for
-
ORACLE 10G 2 Node RAC on servers AB to 3 node 11GR2 RAC on new servers XYZ
Hi Gurus , We have a business requirement to upgrade existing oracle 10.2.0.4 2 Node RAC on servers A,B (HP UX 11.31 ) to 3 Node ORACLE 11GR2 on new Servers X,Y and Z(Linux and servers are from different vendor) We don't have ASM.We have RAW file sys
-
New tab is missing 3 web pages
My new tab page today is missing the 3 favorites, saved, or top sites (whatever you call them pages) I do not have them bookmarked. Please I need them back!!! So basically here it is the new layout of the new tab has a google search bar...that is gre
-
Problem in mapping 1:M relationship
I am using toplink+jpa in my application. I have a 1:M unidirectional relationship (without association table) in my application. I am not able to find correct annotations to define it. Kindly help. Following code works when I use JPA+Hibernate but d
-
I have an iPad 2. Bought a rocketfish cable to hook up the iPad to the tv. Plugged all 5 wires in plus the USP. I can hear the audio, but no video. Just want to watch Netflix and stuff on the tv. Any tips?
-
FDK support for XMP metadata?
I want to be able to programmatically add metadata to FrameMaker files to make them more searchable. According to the FDK Programmer's Reference (Version 10), you can "modify XMP data directly for a document by setting a value to the FP_FileInfoPacke