Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

- Community
- Products
- Confluence
- Questions
- Math equation in Confluence?

Hello everybody.

I am wondering if something is possible to do in Confluence.

We are a company delivering v belts, and often we have to do calculations for how long belt our customer needs

The equation is like this (sorry for posting pic, but not sure how to write this):

L: Belt length in mm

C: Center distance in mm

D: Big pulley diameter in mm

d: Small pulley diameter in mm

What I want to do is this: If we know the center distance and center distance we can calculate the length we need for the belt.

The best solution for us is if we in a form or something can punch in the information (C, D,d), push enter and then find the needed length (L).

Is this possible to do? If yes, how can I write this equation?

Thank you very much.

Try a user macro: https://confluence.atlassian.com/display/DOC/Writing+User+Macros

This one might be a good example to start with: https://confluence.atlassian.com/display/DISC/Math+formula

Hello!

For any calculations in Confluence, including the one you need, you may use CelesteCS Math for Confluence. There are versions for both Confluence Server and Confluence Cloud.

Assume you have all the formula parameters in the table and want to calculate the result with the formula. Assume your parameters are the following table cell values:

- A2: C
- A3: D
- A4: d

The calculation formula will be the following:

2 * VALUE(Table1.A2) + POW(VALUE(Table1.A3) - VALUE(Table1.A4)) / (4 * VALUE(Table1.A2)) + 1.57 * (VALUE(Table1.A3) + VALUE(Table1.A4))

As you see, it is similar to EXCEL with equal set of functions.

There is a plenty of other functions in the macro, so you may perform any calculations using formulas in EXCEL style.

Thanks!

Thanks Alexey for the info above.

I am trying to create a table that contains the following information:

- Allocated Time (which I've entered manually on the Confluence page)

- Remaining Time (which is = Allocated Time - Sum of all time logged on Completed issues on a project)

Does your plugin support formulas that can sum time logged on an issue filter?

Best regards.

Hi Peter,

CelesteCS Math macro supports working with datetime values. Feel free to write the following article for more details: CelesteCS Math Plugin: Working with Datetime values.

Thanks!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more Community showcase ### We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,943 views 27 12

Join discussion Connect with like-minded Atlassian users at free events near you!

Find a groupConnect with like-minded Atlassian users at free events near you!

Unfortunately there are no AUG chapters near you at the moment.

Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

- FAQ
- Community guidelines
- Privacy policy
- Terms of use
- © 2018 Atlassian

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.