Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Shortcut for calculating working hours prompts for selection instead of summing

Hallo everyone.


I was trying to build a shortcut that calculates my working hours for the month or a specific period of time and since I am a complete beginner I used a step-by-step assistance from ChatGPT and after completing the shortcut it just wouldn’t work although I did follow literal instructions and then I did troubleshoot using two different AI agents and non of them can solve the issue. They keep looping over the same things that I should check and change. I do comply but it still doesn’t get me where it has to. When I run the test with let’s say: 8:30, 9:15, 8:45 work hours for three days the shortcut instead of producing a result asks me to chose from a list of numbers which are minute conversions of the input hours. I spent over 5 hours trying to debug it and it still doesn’t work. Not only I have to choose from that list but I have to tap twice on my choice and it gives me the hours of that specific choice only.

If anyone can see where the problem is would you please point it. I appreciate you time and help.

Best regards,

Billy






[Edited by Moderator]

1 reply

Hi Billy,


I not seeing anything wrong with the shortcut. Could you post a link to your shortcut so that I can take a closer look at it? (In the Shortcuts app, long-press the shortcut, choose Share > Copy iCloud Link and paste the link in your reply here. Note that no personal information is revealed when sharing a shortcut.)


I understand why you would like to sum up your hours but I’m wondering if using Shortcuts is the best tool. You could record every day your daily hours in the Numbers app instead and let Numbers sum up the data. Here is an example: