• Resolved fwtrader

    (@fwtrader)


    Hello

    I have on my site https://www.beleggenmetplezier.nl/eindstand-aex/
    a table in which rows of numbers are entered , one below the other, 1st column (A) the description and the 2nd column (B) a number consisting of 3 digits before and 2 digits after the comma. The number of rows is replenished daily.
    The intention is that all numbers are added together to then get an average, 3 digits before but a maximum of 2 digits after the comma.
    Cell B1 contains this formula = {AVERAGE (B4: B12)}
    The result of this calculation is good, but I get much more than 2 decimal places, for example 531.334565 while this should be 531.33.

    How do I get this done? (to solve the problem temporarily I now fill in every day the result manually, but rounded)

    Thank you,

    Fred

    • This topic was modified 6 years ago by fwtrader.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, simply also use the ROUND() or NUMBER_FORMAT() function, around your AVERAGE() function, see https://tablepress.org/tablepress-features-formulas/

    Regards,
    Tobias

    Thread Starter fwtrader

    (@fwtrader)

    Hi Tobias,
    thanks for the answer, I know about the math calculations page, but I’m going wrong there. I really have no idea how to apply it, I tried everything yesterday, but what I’m missing is a clear example of how to apply a formula.
    I have given you this as an example:
    = {AVERAGE (B4: B12)}
    I’ve tried all of this
    = number_format (x, 2) {AVERAGE (B4: B12)}
    or
    = {AVERAGE (B4: B12) number_format_eu (x, 2)}
    or
    = round (x, 2) {AVERAGE (B4: B12)}
    or
    = {AVERAGE (B4: B12) round (x, 2)}

    But no matter what I try, I keep getting an error.
    Can you give me the formula which I should use?

    And another problem, since yesterday I keep getting every question that is asked by others on the forum and every answer by e-mail, so something goes wrong.

    thanks,

    Fred

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    The correct formula would be

    =ROUND( AVERAGE( B4:B12 ), 2 )
    

    As for those emails: That sounds as if you subscribed to the forums, so that you are notified about posts and replies.
    You should be able to manage this subscription at https://wordpress.org/support/users/fwtrader/subscriptions/

    Regards,
    Tobias

    Thread Starter fwtrader

    (@fwtrader)

    Great Tobias, thanks, now it works.

    As for the wrong emails, I have chequed, but no, only my questions on the forum is marked as; notify me. Not by any other forum. (I think even it is not possible to fill in by a question I have not made to mark: notify me.
    This morning I got already 4 mails from answers to question from other members on Table press. I think it is a fault in the forum.

    Thanks again,

    Fred.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Fred,

    good to hear that this helped!

    Unfortunately, I’m no expert with the forums software, and as I’m not a moderator, I don’t have access to internals.
    You could maybe check the specific threads for which you are getting notifications. There might be an “Unsubscribe” button in the right-hand side navigation there.

    Regards,
    Tobias

    Thread Starter fwtrader

    (@fwtrader)

    Hi Tobias,

    since I asked a new question about rounding in two numbers last Sunday, I keep getting an email from all new questions and your answers, very difficult.
    I have till now from last sunday received 31 emails. I can’t figure out how to turn that off.
    I just put a check at the bottom (as with my other questions): notify me or follow up by mail. But that check mark is on this topic. So why do I receive all emails concerning questions and answers from others? And it only concerns the Tablepress forum and it only started on Sunday evening, 2 days ago.
    You gave me a link, but it won’t get me any further.

    I have now unchecked the box below, maybe this will give a result, but I now no longer receive a message about this subject, so I no longer see my mailbox, that makes it difficult.
    Regards,

    Fred

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Fred,

    I totally understand that this is frustrating.
    Unfortunately, as I’m also just a regular member here in the forums, with any special rights, I don’t know what’s going on.
    I’ll however flag this thread with the “modlook” tag, so that a moderator will be notified. Maybe they can see and manage your forum thread subscriptions and remove them.

    Regards,
    Tobias

    Moderator Yui

    (@fierevere)

    永子

    @fwtrader
    moderators cannot manage your subscriptions too.

    Please use Unsubscribe button here:

    You can see your subscriptions here:
    https://wordpress.org/support/users/fwtrader/subscriptions/
    Its “TablePress” plugin,
    and bunch of topics.

    • This reply was modified 6 years ago by Yui.
    Thread Starter fwtrader

    (@fwtrader)

    Thank you Tobias.
    It gets even weirder now, I had unchecked below so that I would not receive a notify follow up by email, but I still receive an email with your answer, plus an email from another answer you just gave to another member. (Table column widths are not auto..)
    I hope the forum administrator can do something about it.
    I do not know how to reach him.

    I mark this subject as solved.

    Fred.

    • This reply was modified 6 years ago by fwtrader.
    Thread Starter fwtrader

    (@fwtrader)

    Hi,
    I am confused after the answer from the moderator.
    I didn’t do anything different with my new question from 2 days ago than I did when asking other questions. I never received any emails with answers from other forum visitors, so I do now from Sunday. What have I done wrong? Why is it then?
    I have just unsubscribed, as you suggested, but what is the effect? Can I no longer post new questions in this forum about this plugin or other plugins? I don’t understand or is it a bug in the forum software?

    Fred

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Fred,

    I’m not completely sure, but it looks like you had accidentally subscribed to email notifications for all threads in the TablePress forums here on the site.
    That likely happened by clicking a button near the top of the screen on the page https://wordpress.org/support/plugin/tablepress/
    If you go to that page now, what does that button say? If it says “Unsubscribe from this plugin”, please click that. After that, you should no longer receive emails to other threads.

    And no worries: You will still be able to post questions here in the forums. You are just unsubscribing from email notifications.

    Regards,
    Tobias

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    @fwtrader

    I have just unsubscribed, as you suggested, but what is the effect? Can I no longer post new questions in this forum about this plugin or other plugins? I don’t understand or is it a bug in the forum software?

    Subscribing = send you emails.

    That’s all it does.

    Turning off the subscription = stop sending you emails. Nothing else than that.

    It’s not a bug, it is the intended result. You subscribed, so it sent you the emails for the subscription. That’s what subscribe means.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the clarification, Otto!

    Best wishes,
    Tobias

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘result sum in maximum 2 digits’ is closed to new replies.