How do I run calculations on repeat items?

I am logging my water intake, and I’m wanting shortcuts to log my intake then show me a notification that states how much water I still need to drink for the day.

When I get to the repeat with each action, I don’t know where to go / what to do in order to add all values returned from the repeat item so I have a total amount of fluid ounces I’ve consumed so far today.

I would just use the Calculate Statistics action and use the Sum operation. No need to use a Repeat loop here since you’re just adding up the values.

Well now I feel dumb, but I appreciate the quick help. I was making it way more complicated than I needed to.


1 Like