How To Sum Cells based on Background Color in Excel || Excel Tips

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 109

  • @DanaDana-qc8gi
    @DanaDana-qc8gi Год назад +2

    Wow! I used the code and it works like magic. Unlike other video, I don't need to type in the code, just copy and paste. Thank you!

  • @laislovespink
    @laislovespink Месяц назад

    Thank you!!! This make it so easy! It was so confusing trying to do this by reading the instructions.

  • @stephaniemoorewhite1457
    @stephaniemoorewhite1457 2 года назад +1

    Amazing! All in 3 minutes! Thank you

  • @davidclark5291
    @davidclark5291 Год назад

    Clear, easy-to-follow instructions; worked first time, thank you.

  • @stephaniemoorewhite5616
    @stephaniemoorewhite5616 2 года назад +4

    Amazing! Yes, you totally deserve 2 thumbs up. Thank you for making this so easy and so helpful!

  • @drielymatias7598
    @drielymatias7598 Год назад +1

    Very helpful video, thank you very much

  • @andrenamcphillips5746
    @andrenamcphillips5746 2 года назад +5

    Hi, thank you for this tutorial! This has been awesome. I wondered if you might be able to help - I have used your coding the the final result is rounding the sum to .00 rather than just showing what's been added up (eg the total sum = $239.23, but the cell is displaying $240). How do I fix this to remove the rounding? I am using these summed up numbers to on-charge other clients so can't lose what happens after the decimal points :) Thanks in advance!

    • @dptutorials
      @dptutorials  2 года назад +1

      Thanks a lot. Let me check

    • @Freke17407
      @Freke17407 2 года назад

      Did you ever get an answer to this? I am in the same place.

    • @andrenamcphillips5746
      @andrenamcphillips5746 2 года назад

      @@Freke17407 Not yet, hoping to hear still as this is such an awesome tool, but I can't use it with the rounding :)

    • @LascellesClarke
      @LascellesClarke 2 года назад +7

      @@Freke17407 In the code where it says "Dim cSum As Long" use "Dim cSum" instead

    • @LascellesClarke
      @LascellesClarke 2 года назад +5

      @@andrenamcphillips5746 In the code where it says "Dim cSum As Long" use "Dim cSum" instead

  • @carinacabral2846
    @carinacabral2846 3 года назад +1

    Good video, short, sweet and to the point.

  • @kiritoken8015
    @kiritoken8015 9 месяцев назад

    thank you very much for this, keep up the good work *heart*

  • @ammarrafi1402
    @ammarrafi1402 Год назад +2

    Hi Thank you but the formula is showing an error, (saying: the formula contains unrecognized text). what to do now

  • @ashutoshbhosale7472
    @ashutoshbhosale7472 6 месяцев назад

    Thank you for explaining in easiest way possible.🤟

  • @jpr1111
    @jpr1111 4 месяца назад

    Thank you....... You have solved my problem, God bless you.......

  • @Sheriff_Bruce_Lee
    @Sheriff_Bruce_Lee 2 месяца назад

    Thank you! This saved me a LOT of work. I'm telling my wife we're gonna be having another kid just so I can name them after you.

  • @dsbohra
    @dsbohra Год назад +1

    X E lent work buddy

  • @VilasPande-ElectricalPannelC-1
    @VilasPande-ElectricalPannelC-1 4 месяца назад

    Dear sir, Thanks for guiding me to resolve such a problem. Though I'm a beginner in VBA programming. Pl. guide to add two decimals in result. For example, the Sum result should show 212.29 but it shows 212. Thank you once again

  • @liam8515
    @liam8515 2 года назад +3

    Hi, very helpful video.
    I am working with decimal points but the formula is rounding these up when summing.
    Is there an alternative to “integer” we can use in the code to get exact result instead of rounding up?
    Thanks

    • @ArielleThalia
      @ArielleThalia Год назад

      Did you figure this out? im having the same problem

    • @TheBestPersonYouKnow
      @TheBestPersonYouKnow Год назад

      I had the same issue. Did you figure out the remedy?

    • @enginarmagancelik9260
      @enginarmagancelik9260 Год назад +3

      In the code where it says "Dim cSum As Long" use "Dim cSum" instead

    • @roblee5016
      @roblee5016 11 месяцев назад

      I had the same issue, thanks for solving it@@enginarmagancelik9260

    • @injeff
      @injeff 9 месяцев назад

      @@enginarmagancelik9260 glad that I've seen this comment. Thank you! and also thank you dptutorials

  • @aljondelaluz243
    @aljondelaluz243 6 месяцев назад +1

    very helpful, but if you add a color then you need to refresh the formula,
    but its a helpful code

  • @JosephBut
    @JosephBut 5 месяцев назад

    Thank you for the formula, I can use the SumByColor to do my report. However, I am not able to get the figures after the decimal point, can you help to re-write the formula including figures after the decimal point? Thank you.

    • @riohandoko6829
      @riohandoko6829 4 месяца назад

      same question.. @dptutorials

    • @riohandoko6829
      @riohandoko6829 4 месяца назад

      In the code where it says "Dim cSum As Long" use "Dim cSum" instead

  • @nancyw6348
    @nancyw6348 2 года назад +1

    I wish I could give you two thumbs up my friend. This video was straight forward and simple to follow. Thank you for sharing this awesome way to sum cell values based on cell color in Excel!

    • @dptutorials
      @dptutorials  2 года назад +1

      This is so motivating my friend. Thanks a lot for this wonderful feedback.

    • @nadiahhalim5856
      @nadiahhalim5856 Год назад

      question is.. can I use this to my mobile excel 😭

  • @RajeshKumar-td4df
    @RajeshKumar-td4df 11 месяцев назад

    Amazing formula and its more helpful... thank you so much for this video...

  • @hasmukhshah7090
    @hasmukhshah7090 Год назад +1

    Excellent

  • @pandharinathjoshi6565
    @pandharinathjoshi6565 Год назад +1

    great sir

  • @piyushprajapat7310
    @piyushprajapat7310 2 года назад +1

    Really work thish trick😘😘😘

  • @securesquare
    @securesquare 2 года назад +1

    How do we count cells by sumcolour for conditionally formatted color, I have two colors in a column which obtained by conditional formatting (formula based), but when i applied sumcolour it considering both colors same, Any Idea or advice please!!

  • @nielswillemsen7415
    @nielswillemsen7415 Год назад +1

    When chaning the color or using Undo, the formula doesn't work. Is there a soluton for this?

  • @ScissorsPaperMusic
    @ScissorsPaperMusic Год назад +3

    What I figured out is, if you have a color asigned to a value (a price for example) and you change the background color, the summ doesnt get automatically updated. You have to change a single value in the column to have it updated.
    Same for if you assign a color AFTER entering a price into it.
    Any fix for this by any chance guys?

  • @riohandoko6829
    @riohandoko6829 4 месяца назад

    thank you for sharing, but when I calculate the data with decimal numbers, the result will automatically round down. how to handle that issue

  • @abdulahadsamadi9457
    @abdulahadsamadi9457 5 месяцев назад

    Thank you, it should be applied to each Excel sheet to sum the color, and it doesn't work in general. waiting for your feedback

  • @sam6524
    @sam6524 3 года назад

    Just I saw three videos every body explained well. But where you are saving VBA code files and will it work for other sheets same time or need to create new. Please if you can advise. Thanks

  • @AISYAHADEPT
    @AISYAHADEPT 8 месяцев назад

    thanks a lot.

  • @avagara973
    @avagara973 Год назад +1

    How can I save the code
    because when I close the app and comeback to work on it, this code vanished, I most to right it again!!
    do you have the way to fix this problem?

  • @christophermartinez506
    @christophermartinez506 6 месяцев назад

    Is there a way to use this code and not lose autosave functionality?

  • @ihsanullahstanakzai6049
    @ihsanullahstanakzai6049 3 года назад +1

    Very nice Mr. It works well I tried thank you.
    But it doesn't calculate decimal digits

    • @dptutorials
      @dptutorials  3 года назад

      Thank you! Cheers!

    • @LascellesClarke
      @LascellesClarke 2 года назад

      @ihsanullah Stanakzai, In the code where it says "Dim cSum As Long" use "Dim cSum" instead

  • @banashreexerox
    @banashreexerox Год назад

    THANKU GET RESULT................

  • @Ali-kd8ec
    @Ali-kd8ec Год назад +2

    İt is working

  • @amrahmed3348
    @amrahmed3348 Год назад +1

    goood

  • @obykanoby
    @obykanoby 2 года назад

    Thank you for the video, however after having completed all the steps, when i type the formula in the end and press enter, intead of the sum of the numbers inside the coloured cell, it types 0). What am i doing wrong?

    • @dptutorials
      @dptutorials  2 года назад

      Most welcome, please subscribe for more videos.

  • @workkea1757
    @workkea1757 6 месяцев назад

    Good, but it doesn't work for decimal numbers. Could you please make another video with decimal numbers. Thank you in advance

    • @riohandoko6829
      @riohandoko6829 4 месяца назад

      In the code where it says "Dim cSum As Long" use "Dim cSum" instead

  • @toshiyo822
    @toshiyo822 Год назад +1

    Hi the VBA code disappears after saving. Please help

  • @libincherian1846
    @libincherian1846 Год назад

    Bro it was applicable when I insert your code. After all, the code has been deleted automatically. What can I do

  • @pandharinathjoshi6565
    @pandharinathjoshi6565 Год назад

    Hi sir, I am doing Conditional format, that colour not working sir, pls advice sir its shows 0 sir....Its not working Condition Format sir

  • @JiBiT3
    @JiBiT3 Месяц назад

    Needs VBA code to refresh formula if fill in (cell color) is changed.

  • @shanoobolavanna
    @shanoobolavanna Год назад

    CAN WE USE SUMIF FUNCTION WITH THIS CODE

  • @ZayamGaming
    @ZayamGaming Год назад

    Hi, it says Invalid Outside Procedure. What should I do to correct? Thank you

    • @dptutorials
      @dptutorials  Год назад

      Please share the excel and find out the mistake. Write me at info@dptutorials.com

  • @shiyamsathiyajith2325
    @shiyamsathiyajith2325 Год назад

    Im getting value error for a column i did with this code. Pls help

  • @tomipedelaborde
    @tomipedelaborde 2 года назад

    thanks a lot

  • @nimeshaherath2189
    @nimeshaherath2189 2 месяца назад

    But it displays an error value when the sum is larger than 2 billion. Please help to resolve this issue.

  • @jetsetter8
    @jetsetter8 Год назад +1

    although if you change the colour of the cell the sum does not update

  • @mdalaminahamedrahit550
    @mdalaminahamedrahit550 2 года назад

    how do I sum base one another cell color

  • @nyongcahngapak
    @nyongcahngapak 2 года назад

    Doesn't work if color uses conditional formatting?

  • @dutarnab
    @dutarnab Год назад

    Hi where is the code.. cant see anywhere . Can u help please

  • @tippu74
    @tippu74 2 года назад

    HOW CANE I APPLY THIS CODE FOR COUNTA FUNCTION ........I TRYED REPLACE BY SUM TO COUNTA...... BUT THIS IS NOT WORKING

  • @narse_2166
    @narse_2166 Год назад

    I have a problem with the save.... when i close the excel and open it again, it's not saved the code... why? i follow the all of the steps 1 by 1.... what is wrong? office 19

  • @rayvanrensburg93
    @rayvanrensburg93 3 года назад

    Hi, Hope you are well, everyone show how to sum cells based on background color, but cant seem to find a way to have a cell that counts the whole row based on the amount of a certain color in that row (No values in the color cells). for instance if there is 31 days with a row of cells under each day with different colors, where 7 days is one color 5 days is another color and 9 other days is another color. to calculate each color automatically and give me the result in my allocated cells of how many of those colors appeared in that row? hope you understand my question

    • @dptutorials
      @dptutorials  3 года назад

      Please mail me the excel sheet at dptutorials15@gmail.com

  • @Reenaa_0814
    @Reenaa_0814 Год назад

    Working for only 1 color for another colour it's same.

  • @Abendingtimespace
    @Abendingtimespace 7 месяцев назад

    I try but it’s rounding the number

  • @sindujapolana4254
    @sindujapolana4254 2 года назад

    Am getting the error type not defined

  • @yasserdusuki8374
    @yasserdusuki8374 10 месяцев назад

    Where is the VBA code?

  • @8prabha
    @8prabha 5 месяцев назад

    I am getting error, #NAME? can anyone please help me?

  • @ishelou
    @ishelou Год назад

    Hi,
    THE COUNT NOT ACCURATE !. THE 0.99 NOT ADD IT OR AROUNDED !. SO SOMETHING MISSING IN THE FORMULA !

  • @atlasprime6193
    @atlasprime6193 Год назад

    I’m only getting 0 despite using matching color.

  • @vaibhavmbpatil875
    @vaibhavmbpatil875 2 года назад +7

    NOT WORKING

  • @nurulathiqah3298
    @nurulathiqah3298 11 месяцев назад

    Error

  • @karimullahkhanMMM
    @karimullahkhanMMM 9 месяцев назад

    Not workin

  • @florinparaschiv9006
    @florinparaschiv9006 Год назад

    nor working matee !!!!!!!

  • @armancochangco8208
    @armancochangco8208 Год назад

    Not working