Numbers iPhone: Formula results lose Duration format

Using Numbers app on iPhone. All versions current.


I am trying to do a calculation using airflow (cubic feet per minute) of a pump and target volume of air (cubic feet) to determine how long (expressed as hours and minutes) to run the pump. So, obviously, the first part is easy: cubic feet / cubic feet per minute. That gives me the minutes to run the pump. But my pea brain wants that number expressed as hours and minutes.


I’ve read it can be done easily by setting the cell format to Duration, though that is wrong. Enter 119.25, it returns 119 hrs 25 minutes. I discovered you have to enter 119.25m. Then the cell returns 1h 59m 15s. Which seems ***, but whatever. So the cell Duration format works if I just type in a number by hand. But if I create a formula of cubic feet / cubic feet per minute &’m’ all I get is 119.25m. The cell formatting consistently reverts to ‘Automatic’ from ‘Duration’.


What am I doing wrong?


Thanks!

Mike



[Edited by Moderator]

Posted on Mar 20, 2026 12:58 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 20, 2026 4:08 PM

Two thinks stand out in your post...


You do need to be careful with duration, since how Numbers interprets your value may not be the same as you expect when you enter values directly.


Numbers also uses the format as a hint to the units you're entering.

If you're using 'Automatic Units' then numeric value will be interpreted as days (and displayed as number of weeks/days if >7), so I'd expect your 119.25 value to display as '17w 0d 6h'

To override this you can provide units of measure in the input - for example, 119 hours and 15 minutes could be entered as either:


119.25h -> the 'h' tells Numbers you've specified a number of hours

119h15m -> the 'h' and 'm' tell Numbers that you've specified Hours and Minutes


If you're not using Automatic Units, then Numbers will use the largest unit selected as a hint. For example, if the format is set to:



then '119.25' will be interpreted as 119 minutes and 15 seconds, since 'min' is the largest unit selected in the format.


So it sounds like you need to play with the format a little to give Numbers a hint as to how you want to enter your data. It's quite flexible at the end of the day, but it does have a few gotchas.


> But if I create a formula of cubic feet / cubic feet per minute &’m’ all I get is 119.25m


Ahh... and here's the kicker - you're not getting a Duration value at all. You're getting a text value... sure, one that you might look at and see a duration, but to numbers, something like:


=(B2÷C2)&"m" 


is a text result. That's why the format is changing on you.


In order to get this as a Duration value, you need to be more explicit, via the DURATION() function:


=DURATION(0,0,0,B2÷C2)


Duration takes a number of weeks, days, hours, minutes, seconds and/or milliseconds and returns an actual Duration value that can be used with other numeric functions.


2 replies
Question marked as Top-ranking reply

Mar 20, 2026 4:08 PM in response to mremjayel

Two thinks stand out in your post...


You do need to be careful with duration, since how Numbers interprets your value may not be the same as you expect when you enter values directly.


Numbers also uses the format as a hint to the units you're entering.

If you're using 'Automatic Units' then numeric value will be interpreted as days (and displayed as number of weeks/days if >7), so I'd expect your 119.25 value to display as '17w 0d 6h'

To override this you can provide units of measure in the input - for example, 119 hours and 15 minutes could be entered as either:


119.25h -> the 'h' tells Numbers you've specified a number of hours

119h15m -> the 'h' and 'm' tell Numbers that you've specified Hours and Minutes


If you're not using Automatic Units, then Numbers will use the largest unit selected as a hint. For example, if the format is set to:



then '119.25' will be interpreted as 119 minutes and 15 seconds, since 'min' is the largest unit selected in the format.


So it sounds like you need to play with the format a little to give Numbers a hint as to how you want to enter your data. It's quite flexible at the end of the day, but it does have a few gotchas.


> But if I create a formula of cubic feet / cubic feet per minute &’m’ all I get is 119.25m


Ahh... and here's the kicker - you're not getting a Duration value at all. You're getting a text value... sure, one that you might look at and see a duration, but to numbers, something like:


=(B2÷C2)&"m" 


is a text result. That's why the format is changing on you.


In order to get this as a Duration value, you need to be more explicit, via the DURATION() function:


=DURATION(0,0,0,B2÷C2)


Duration takes a number of weeks, days, hours, minutes, seconds and/or milliseconds and returns an actual Duration value that can be used with other numeric functions.


Numbers iPhone: Formula results lose Duration format

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.