How to Write a Dynamic Sum Formula

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 66

  • @ronisiahaan9328
    @ronisiahaan9328 Рік тому +1

    Thanks, mister. 10years on and it's still relevant and helpful :)

  • @jawadzafarch
    @jawadzafarch 4 місяці тому

    Extremely grateful, this was exactly what i was looking for. God bless you sir.

  • @shehanalexander7626
    @shehanalexander7626 3 роки тому +1

    You are an absolute legend mate, i was trying everything i could to make this function work.. Thank you very much!

  • @daseeyesh
    @daseeyesh 2 роки тому

    I had to use semicolons instead of commas and it worked! Thanks.

  • @TheCreeper744
    @TheCreeper744 11 років тому +1

    Hi computergaga. Thanks for your videos!
    Is there a way to sum on first cell of a column and the last one ONLY? Being a range of cells that can decrease or increase. I did it how you should it in the video but of course, it sums up all the cells. Many thanks!

  • @daeraticspecializt9635
    @daeraticspecializt9635 Рік тому

    great video computergaga, quite useful!

  • @izmaster1
    @izmaster1 5 місяців тому

    awesome!! exactly what I was looking for. Thank you for this!

  • @rajgautam5282
    @rajgautam5282 3 роки тому +1

    Thank you very much. This is what I was searching for. Nice video.

  • @galshwartz7582
    @galshwartz7582 5 років тому +1

    Hi, is there a way to dynamic sum certain categories? for example I would like to have the sum of "Condiments" or the sum of "Beverages" when I have different quantity of lines for each

    • @Computergaga
      @Computergaga  5 років тому

      Hi Gal, yes sure. You could use the SUMIF function. And the category could be written in a cell such as J2. If column B was the list of categories and column D was the sales we could write = SUMIF(B:B,J2,D:D)

    • @galshwartz7582
      @galshwartz7582 5 років тому +1

      @@Computergaga thank you!!

    • @Computergaga
      @Computergaga  5 років тому

      You're very welcome.

  • @Joshua-rx9wv
    @Joshua-rx9wv 3 роки тому

    THANK YOU!!!! Omg why isn’t this covered in the hundred other videos

  • @rohan_r_kale
    @rohan_r_kale 5 років тому +1

    In the same table, if you want to add Bonus in column H, where in whenever the amount reaches 50000, you mention 500 as bonus.. this should happen for every 50000 mark reached. How do we do this?

  • @datingdave1310
    @datingdave1310 2 роки тому

    Maybe I am missing something here, but why not just 'SUM' Column 'G' (in this example), as Excel will ignore empty cells until they have a value ?

    • @Computergaga
      @Computergaga  2 роки тому +1

      You're not missing anything. That works. But an example like in the video will work when a column is not dedicated to only one set of values.
      Anyway, the video is 9 years old and the modern method is to use a table and reference a table column. Tables are dynamic.

  • @NickDrendel
    @NickDrendel 3 роки тому

    Helpful and right to the point. Thank you!

  • @kirannaidu75
    @kirannaidu75 8 років тому +1

    Awesome!! Timely help.. thanks Alan

  • @MrSahilspm
    @MrSahilspm 3 роки тому

    Excellent as usual

  • @yagesh23
    @yagesh23 4 роки тому

    I want to perform sum with a criteria such that if there are similar cells like UK as above and return the value next to that cell.

    • @Computergaga
      @Computergaga  4 роки тому

      Sounds like you need a SUMIF function. This link will show you how to sum values next to cells that contain text like "UK" - www.computergaga.com/blog/using-wildcard-characters-in-excel-formulas/

    • @yagesh23
      @yagesh23 4 роки тому

      @@Computergaga Sir, To be clear in my requirement I am once again wanted to explain. . Sir the data is being input in rows and the corresponding values are put against the next coloum. Let us say if I have input a same word again ,let us say UK thrice then I should have the sum of the UK available for me displayed in a cell which is the sum of the UK value previously entered, so that I can give or enter a value such that the sum Of all UK values are less than a budgeted value.
      Hope I have put my query.
      Thank You in advance.

  • @LukeBurri
    @LukeBurri 5 років тому +1

    Thank you. it's a good help

  • @archanamishra1921
    @archanamishra1921 2 роки тому

    Does it work on same colume too? It didn't work for me.

    • @Computergaga
      @Computergaga  2 роки тому

      Depends what you are trying to achieve Archana. This is an old video, and a dynamic sum is performed automatically by tables - ua-cam.com/video/3c2en81oivA/v-deo.html

    • @archanamishra1921
      @archanamishra1921 2 роки тому

      @@Computergaga Thank you! I will refer this link.

  • @NoEgg4u
    @NoEgg4u 6 років тому

    Greetings,
    If you were to, for example, want the sum to display only those amounts that agree with a filter from a different column, can that be done?
    For example, if you were to set up a filter, at the top of the sheet, and filter by Customer Code, and you set the filter to ALFKI, could you have the sum reflect the total of only those amounts that reflect your column F filter? And then, when you change the filter to show, for example, ANATR, have the sum reflect that new choice?
    Thank you.

    • @Computergaga
      @Computergaga  6 років тому +1

      Sure. You could use the AGGREGATE function - ua-cam.com/video/204fJYMMtQA/v-deo.html
      This function can sum values and ignore the hidden rows.
      If the numbers you were summing were in column G, it would be =AGGREGATE(9,5,G:G)

    • @NoEgg4u
      @NoEgg4u 6 років тому +1

      Excellent!
      You earned a new subscriber.
      :-)
      Thank you.

    • @Computergaga
      @Computergaga  6 років тому

      Awesome. Thank you.

  • @naatosifish5422
    @naatosifish5422 6 років тому

    Is it possible to write a function where the total never decreases even when your reference does? for example If I work for a bank and I want to to know the total amount our patrons deposit over a year, regardless of whether they withdraw that money later, how could I write a function for that?

    • @Computergaga
      @Computergaga  6 років тому

      You would need to convert the formula to a value to stop it updating again in the future. You can do this by Copy dn Paste Special Values.

  • @vaevictis221
    @vaevictis221 6 років тому +1

    Thanks! Was a great help, quite simple.

  • @yan5478
    @yan5478 2 місяці тому

    Thank you so much!

  • @essamadel1229
    @essamadel1229 5 років тому +1

    Thanks a lot sir >> good explain

    • @Computergaga
      @Computergaga  5 років тому +1

      You're welcome Essam. Thank you.

  • @picsmics4
    @picsmics4 Рік тому

    What is sapbe I cant

  • @birasafabrice
    @birasafabrice 4 роки тому

    thank you for the video!

  • @tsurek
    @tsurek 6 років тому +1

    Thank you kind sir :) !!!!

    • @Computergaga
      @Computergaga  6 років тому

      No problem tsurek. Happy to help.

  • @mosapz
    @mosapz 6 років тому +1

    thank you

  • @shailendranr4021
    @shailendranr4021 9 років тому

    even sum function also works in same way

  • @fatihyenidunya2589
    @fatihyenidunya2589 5 років тому

    İt helped a lot thanks

  • @probrokers8159
    @probrokers8159 5 років тому

    Brilliant 👌👌

  • @alvin5107
    @alvin5107 11 років тому +2

    It's the same us SUM(G:G)

    • @birasafabrice
      @birasafabrice 4 роки тому

      there is a difference between this function and the one shown in the video. sum(g:g) will calculate all the values in the whose column regardless of the current range. while the function in the video will calculate only the values in the currentRange. to check it press a given value in range (G1000), and test the two formulas. thanks!

  • @hazemali382
    @hazemali382 5 років тому

    BOoM

  • @pravinyabhatt9873
    @pravinyabhatt9873 7 років тому +3

    worst formula i ever seen.. u can simply do sum("A:A")..

    • @Computergaga
      @Computergaga  7 років тому +5

      True, as long as you do not have other values in column A that you do not need summed. Different formulas for different scenarios.