• Help Me Calculate a Percentage

    Tags:

    Author
    Topic
    #2692399

    Hi all,

    I could use your help. Please take a look at this screenshot of a Google Sheet — specifically, column F, which I calculate once a year.

    Screenshot-2024-08-01-at-9.48.23 AM

    I had help to calculate column D, which I do once a week. Here’s the formula (from D8):

    =IF(LEN(B8)<1,"",C8/B7)

    No doubt, the formula for column F just needs to tweak this, but I can’t quite figure it out. Any idea what to put in F8 and F16?

    (I’ve already formatted column F as a percentage: Format/Number/Percent.)

    Thank you so much!

    • This topic was modified 10 months ago by WSJon5.
    • This topic was modified 10 months ago by WSJon5.
    • This topic was modified 10 months ago by WSJon5.
    Viewing 3 reply threads
    Author
    Replies
    • #2692449

      The formula for percent change is:

      (New Value – Old Value) / OldValue * 100
      B8 B2 B8

      F8 Formula: =IF($B8>0,($B8-$B2)/$B2,””)

      In your case since you already have the column formatted as percentage you just drop the ‘* 100’.

      BTW: I’d change the Col D formula to: =IF($B3>0,$C3/$B2,””)
      Calc-Precent

      May the Forces of good computing be with you!

      RG

      PowerShell & VBA Rule!
      Computer Specs

      2 users thanked author for this post.
      • #2692462

        Thanks so much, RetiredGeek! Did I do something wrong? I’m getting a “formula parse error” in F8. Here are screenshots. Thanks again.

        Screenshot-2024-08-01-at-1.38.02 PM

        Screenshot-2024-08-01-at-1.38.07 PM

    • #2692528

      If you did a copy/paste the quotes may be faulty. Try this one:

      =IF($B8>0,($B8-$B2)/$B2,"")

      cheers, Paul

      4 users thanked author for this post.
    • #2692643

      Was the issue spaces between some expression members?- That’s all I could see.

      W10 Pro 22H2 / Hm-Stdnt Ofce '16 C2R / Macrium Pd vX / GP=2 + FtrU=Semi-Annual + Feature Defer = 1 + QU = 0

      • #2692663

        I *think* it was “smart” quotation marks rather than “dumb” ones.

        2 users thanked author for this post.
        • #2703088

          How about in cell F8

          =IF($B8>0,E8/B2,"")

          ..less typing

          zeddy

          1 user thanked author for this post.
          • #2703093

            ..or even less typing in cell F8

            =E8/B2

            zeddy

            1 user thanked author for this post.
    • #2703108

      Thanks, @zeddy!

    Viewing 3 reply threads
    Reply To: Help Me Calculate a Percentage

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: