Тёмный

How to Sum Cells by Color in Excel (Get it to update automatically) 

Leila Gharani
Подписаться 2,7 млн
Просмотров 388 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 558   
@LeilaGharani
@LeilaGharani 8 месяцев назад
Grab the file I used in the video from here 👉 pages.xelplus.com/sum-color-file
@torkunc
@torkunc 5 лет назад
it is just not what you teach, it is also how you present the knowledge to in front of us. I admire your way of teaching. I am only at 16% progress of your online course and already feel that finally I am getting the concept and structure of the Vba. thnx for everyrhing.
@LeilaGharani
@LeilaGharani 5 лет назад
Thanks for the kind words. That's good progress on VBA! The beginning is the hardest part.
@NoChoke
@NoChoke 4 года назад
I found out that some of my cells did not place the total into that cell. I investigated it and found that the format of that cell was not as a number and once it was formatted correctly the totals showed properly. Thank you so much for this tutorial.
@NiranjanS9916
@NiranjanS9916 5 лет назад
Wow....!! I have been using excel since 1997 but I wasn't aware of these fantastic function. You are just brilliant. I subscribe already.... I Love You...Mam. I am impressed so much. Many Many Thanks for sharing.......
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome. Glad you found something new.
@ckokse
@ckokse 5 лет назад
You are making VBA understandable even for me. That's some gift!
@LeilaGharani
@LeilaGharani 5 лет назад
I'm happy to hear that :)
@loganathankannan1989
@loganathankannan1989 5 лет назад
your way of explanation makes me to get in to excel and learn more and more. Last two years i have been continuously using various ideas from this site. Thanks a lot.
@LeilaGharani
@LeilaGharani 5 лет назад
You're most welcome. Thank you for your ongoing support.
@sarfarajkureshi6569
@sarfarajkureshi6569 5 лет назад
Mam in every video you share miracle tricks, which not got on you tube. Love you mam...
@LeilaGharani
@LeilaGharani 5 лет назад
I'm happy to hear that the videos are useful.
@mseker66
@mseker66 3 года назад
Best vid ever in this subject. I appreciate you for sharing this. Merci Leila :)
@muhammadrashid3307
@muhammadrashid3307 7 месяцев назад
Hello Leila! am Rashid from Pakistan and these days i am practicing vba excel and i enrolled in your vba course on Udemy approx. one and half month ago
@adrianmanzat879
@adrianmanzat879 4 года назад
Hi Leila, Your tutorials are great . The script does not seem to work with conditional formatting colors. Do you have any idea how we can fixed that? If you can help us on this , you'll be a life saver. Thank you .
@karenwilcox1995
@karenwilcox1995 4 года назад
Fabulous tutorial - Thank You. I'm not sure I totally understood the VBA (just bits of it), but I followed your instructions and my spreadsheet works perfectly. So chuffed.
@LeilaGharani
@LeilaGharani 4 года назад
Great job!
@Victor-ol1lo
@Victor-ol1lo 5 лет назад
Great video Leila !! Thanks for sharing !! Ctr+Shift+A is a very helpful shortcut do display the fuction arguments quickly.....
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome Victor. Glad you like the video.
@bestscenes1469
@bestscenes1469 5 лет назад
I have been using sum base on color for sometime but you have added something new. Thanks a million.
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome Daniel.
@EnkhturDamdinjav
@EnkhturDamdinjav 3 года назад
it seems to be very useful even when dealing with a data matrix containing data where I want to show sum of values in different colored cells for each row... can't wait to check this out, have to clean my data first
@VipulKarkar
@VipulKarkar 5 лет назад
Fantastic video: I think, assigning color to variable and than checking will have some overhead if multiple cells have this function. I would go with directly adding it under if condition because checking Boolean is faster than 2 step process of assigning than checking it. If cell.interior.color = matchColor.interior.color then.... will be faster. Thank you for your time Leila.
@LeilaGharani
@LeilaGharani 5 лет назад
Good idea. Thank you!
@shabbirkanchwala-abwaab6263
@shabbirkanchwala-abwaab6263 5 лет назад
An absolutely new aspect of Excel Never had an idea for any such possibility in Excel I am very much impressed Thank you
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome. That's the beauty of Excel. A lot of possibilities.
@shabbirkanchwala-abwaab6263
@shabbirkanchwala-abwaab6263 5 лет назад
@@@LeilaGharani How to know where to use Vlookup, Index/Match/Dget? Pls Help
@LeilaGharani
@LeilaGharani 5 лет назад
That's easy: always Index & Match :)
@christineschwartz7185
@christineschwartz7185 2 месяца назад
Great Video!!! This is what I've been searching for everywhere.
@ExcelExciting
@ExcelExciting 5 лет назад
Superb..!!! I feel Excel Team should bring this function permanently in workbook. Thanks for sharing solution..!!
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome. Glad you like it.
@jonathanbelliot509
@jonathanbelliot509 4 года назад
Thanks you so much. This is what i needed for a company project. Very clear and very useful! Considering following the VBA course now!
@LeilaGharani
@LeilaGharani 4 года назад
Great to hear! I hope you'll like the course.
@irfanmansoori3060
@irfanmansoori3060 4 года назад
Dear Leila.. the kind of knowledge and the skills you have to spread that knowledge is simply awesome.. thanks for all your knowledge sharing.. im a big fan of yours.. sincerely..
@MeatRocket72
@MeatRocket72 3 года назад
Flawless and thorough example of something that's been driving me nuts! Thank you so much!
@LeilaGharani
@LeilaGharani 3 года назад
Glad it helped, John!
@abk_asrjc
@abk_asrjc 6 месяцев назад
Hi Leila. Thank you for the video. I've done the selection update as per your tutorial. The numbers are still not updated. I've changed your VBA slightly to count instead of sum by the way.
@JG-ql3nw
@JG-ql3nw 2 года назад
Great value, finally I understand fantastic metod, I'm using Excel in spanish and it worked perfectly. Like for sure 👍🏼
@atkentravelafrica4361
@atkentravelafrica4361 3 года назад
This was very helpfully in calculate my everyday Transactions Records working as wakala in Tz. So happy i found this.
@batarasiagian9635
@batarasiagian9635 5 лет назад
I didn't even know this was possible despite using Excel for a long time. Many thanks. :)
@LeilaGharani
@LeilaGharani 5 лет назад
I'm glad you found something new.
@dadgau
@dadgau 5 лет назад
As great as usual. Leila you are Queen of Excel. Thank you so much for this tutorial. Kind regards
@LeilaGharani
@LeilaGharani 5 лет назад
My pleasure. Glad you like the video.
@khazza930
@khazza930 4 года назад
super helpful this video. I had no idea how to create a custom function... also all these little details getting the active cell and a cell's colour. thanks muchly :)
@anilmudakannavar79
@anilmudakannavar79 5 лет назад
Once again came with great work, u have made many of us rich & richer knowledge-wise. Just waiting for the next one very soon
@LeilaGharani
@LeilaGharani 5 лет назад
I'm happy the tutorial is helpful for you.
@larayoudell-gallman3094
@larayoudell-gallman3094 4 года назад
Great tutorial. Everything works fine. Having trouble with the formula automatically updating. I set it up following the instructions and everything works. If I save the document excel stops automatically updating the formula if I make any changes. I have to manually force the cell to update. Has anyone else experienced this if know how I fix this problem?
@alextones8010
@alextones8010 3 года назад
I am have the same problem does any one know how to fix this
@mvohra
@mvohra 3 года назад
I had the same issue, found this on Google and it worked for me. Just added 2 lines to Leila's code. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("A:C")) Is Nothing Then ActiveSheet.Calculate ActiveSheet.EnableCalculation = False ActiveSheet.EnableCalculation = True End If End Sub
@RNTwan
@RNTwan 3 года назад
@@mvohra Thank you for the help. It works
@ThiagoPikcius
@ThiagoPikcius 2 года назад
@@mvohra OMG, thank you so much
@anuraagdaga
@anuraagdaga 4 года назад
I have a range of cells which are conditional formatted with different colors. This doesnt work for that. While summing up in the "Fx" function, the empty cells are treated as " " instead of 0 and hence the overall sum function fails. How can this be handled, please?
@guntisdlohi8453
@guntisdlohi8453 2 года назад
Thank you. This was amazingly useful. Simple tool to make and edit preliminary Gantt charts.
@gabrieldry1905
@gabrieldry1905 3 года назад
Thanks so much for the easy-to-follow, professional video! Works like a dream on my Macbook. :)
@AweshBhornya-ExcelforNewbies
@AweshBhornya-ExcelforNewbies 5 лет назад
Thanks a lot Leila the video and trick was awesome you are a great teacher. Even though I am Lecturer myself I find your training and videos amazing. Thanks a lot.
@LeilaGharani
@LeilaGharani 5 лет назад
Thanks for the kind words. I'm glad you like the video.
@maciekmatula5488
@maciekmatula5488 4 года назад
If i could like this twice I would. So brilliant and straightforward! Thank you!
@LeilaGharani
@LeilaGharani 4 года назад
My pleasure. Thanks for the Like!
@nasirathadjibade8738
@nasirathadjibade8738 3 года назад
Thank you! That was so easy to follow. When I save the excel document it no longer automatically updates the sum if I change a color. What can I do?
@WiSaAngel1939
@WiSaAngel1939 3 года назад
I face that problem too, did you know how to fix it?
@mvohra
@mvohra 3 года назад
I had the same issue, found this on Google and it worked for me. Just added 2 lines to Leila's code. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("A:C")) Is Nothing Then ActiveSheet.Calculate ActiveSheet.EnableCalculation = False ActiveSheet.EnableCalculation = True End If End Sub
@robertakwasiadjei8223
@robertakwasiadjei8223 5 лет назад
Thanks once again Leila. May the good Lord richly bless
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome Robert.
@macleb
@macleb 5 лет назад
thank you so much for taking part of your time to help other, may you find reward in this life and the next!!! you are brilliant
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome. As long as it's helpful I am happy :)
@vikascma
@vikascma 5 лет назад
You are my Excel Guru...🙂 Thanks!
@vikascma
@vikascma 5 лет назад
🙂🙂🙂
@josephking3937
@josephking3937 3 года назад
Thank you so much, this was great but, I followed your instructions and had issues when adding colored cells in a column that were colored by conditional formatting. If I manually create the color on the cell, everything works fine but when I try it on conditional cells, it's not working. any suggestions?
@yugpursh
@yugpursh 2 года назад
Seems very precise and easy, of-course very well explained but had no luck still; getting error in the function.
@seyrankerimli6713
@seyrankerimli6713 2 года назад
Thank you for your efforts it's the best and very helpfull lesson.
@MrBrianb1066
@MrBrianb1066 3 года назад
This is excellent, but is it possible to count instead of sum? Also, can it be set up to count conditionally formatted color? Any help is appreciated! Thanks!
@magskl672
@magskl672 8 месяцев назад
this is what I did for counting yellow cells. Function CountColor(countRange As Range) As Double Dim cell As Range For Each cell In countRange If cell.Interior.Color = 65535 Then CountColor = CountColor + 1 End If Next cell End Function
@julienbouillot6960
@julienbouillot6960 5 лет назад
I have become a huge fan on how you help us and better ways to organise and visualise our data. Unfortunately while this is great when dealing with smaller ranges of data, excel 's performance is really letting me down when it comes down to dealing a large number of rows and references across multiple sheets. Any tip on how to boost the performance in corporate license environment would really help make the most out your tutorials! Great channel! Keep it up.
@LeilaGharani
@LeilaGharani 5 лет назад
You could check out this infographic: www.xelplus.com/speed-up-your-excel-files/
@indycaptain69
@indycaptain69 4 года назад
Hello, great video. Can you advise how to modify the code if you want the count of color cells (conditionally formatted - upto 5 CF rules ) only and not the sum of cell contents?
@iannpitout1174
@iannpitout1174 Год назад
No response to this I see
@jjb110
@jjb110 5 лет назад
Hello Leila, I'm a new subscriber!! Thank you for the content you put out! You are super AWESOME!!!!
@LeilaGharani
@LeilaGharani 5 лет назад
Great to have you here José. I'm glad you like the content.
@jasonaraiza4686
@jasonaraiza4686 28 дней назад
Can you make a video showing how to get a percentage of a certain color of a cell? For example I have due dates for when certain tools we use need to be inspected they usually are only good for one year so I created a table with a list of tools and their due date then I used conditional formatting to highlight when it’s expired to be in red when it’s less than 30 days to the due date to be in yellow and when it’s more than 30 days from the due date to be in green and I want to show a percentage of how many tools are not expired or how many green cells I have and to be able to show it in a bar or a graph somehow to look more professional. Can you please help with this I have looked for a video on here with no luck. You are the best I’ve seen at this so I hope you could help me out. Thank you in advance.
@amilcarc.dasilva5665
@amilcarc.dasilva5665 5 лет назад
Huge thanks Leila. Your video tutorial is great and very informative and helpful. Thanks a lot.
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome Amilcar. Glad you like the video.
@amilcarc.dasilva5665
@amilcarc.dasilva5665 5 лет назад
@@LeilaGharani Yeah. You've done great work by sharing your expertise. Really appreciate. Keep it up.
@junnelduluguin5324
@junnelduluguin5324 7 месяцев назад
Hi Leila, I'm one of your video subscribers, please, I would like to request that you create me an IF or conditional formatting formula to color only one cell that has a total value. Thanks.
@ronvds4713
@ronvds4713 5 лет назад
Great presentation on a function I thought was not possible, but having trouble thinking where this would be useful.
@LeilaGharani
@LeilaGharani 5 лет назад
Maybe at some point it will come in handy. It's always good to know what is possible.
@pratyushsrivastava7164
@pratyushsrivastava7164 4 года назад
I found this very useful..but at 08:56 you have referred that for any movement in cell, it will calculate automatically. It is not happening in case Color is getting changed, Any idea???
@gridplan
@gridplan 3 года назад
I'd like to know too. It didn't work for me either. Someone on Stackoverflow had the same problem to which someone replied that color changes don't trigger a recalculation. stackoverflow.com/questions/33417031/application-volatile-for-colored-cells
@Dirtyboxer1
@Dirtyboxer1 5 лет назад
I was struggling to do this very thing last week. Thank you.
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome Michael. Glad I could help with that.
@sandeepjoshi4635
@sandeepjoshi4635 4 года назад
Hi Leila, Thank you for video, which is very helpful. My only problem is formulas are not auto updated even after changing the colors I have used the same code as suggested by you. What could be the reasons
@mvohra
@mvohra 3 года назад
I had the same issue, found this on Google and it worked for me. Just added 2 lines to Leila's code. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("A:C")) Is Nothing Then ActiveSheet.Calculate ActiveSheet.EnableCalculation = False ActiveSheet.EnableCalculation = True End If End Sub
@sandeepjoshi4635
@sandeepjoshi4635 3 года назад
@@mvohra thanks
@AshokKumar-hd7pz
@AshokKumar-hd7pz 5 месяцев назад
Hello Leila I am great fan of yours and learned lot of excel formulas by seeing your vedios now i need a help hope you would help me in our office we have a daily tracker in that we have 12 agents and works in 24/7 shifts we work on incident tickets as soon as the ticket arrives we have enter the ticket number in that sheet and change the color of the cell manually according to the time the ticket arrived for eg. if ticket came in between 8am to 9 am it will be green if it is between 9 am to 10 am then red if it is between 10 am to 11 am then purple so on so instead of changing the color manually i need a formula or a steps so based on current time when the data entered into a cell the color should change please suggest
@ejums
@ejums 4 года назад
Please how can I apply this when the cells were conditionally formatted? I tried using but its not working. Please help
@YaNykyta
@YaNykyta 3 года назад
Instead oI nterior.Color do use something as FormatConditions(1).Interior.Color
@Regimeshifts
@Regimeshifts 5 лет назад
Came here for Excel and loved the video as I do your other videos. Comments are weird though
@LeilaGharani
@LeilaGharani 5 лет назад
Great to have you here.
@floetic095
@floetic095 4 года назад
The automation doesn't work. "ERROR: Microsoft Visual Basic: Variable uses an Automation type not supported in the Visual Basic." is what keeps popping up when I try to change from general to workbook. Does anyone have a workaround that actually works and makes sense to a VBA newbie? Every site that I have been to that states they have a workaround is filled with jargon that make absolutely no sense to the average person. Thank you!
@mayshigenobu7218
@mayshigenobu7218 Год назад
Thank you for this great function tutorial. I have been trying to implement it on my sheet, but no matter how many times i check the visual basic editor to see if i inputted it correctly, i don't get the Function Arguments dialog box when i press insert function at the end... how can i solve this?
@mrbob92679
@mrbob92679 2 года назад
Thank you very much for this. Only problem is I can not get the Selection Change to work. Ill have to keep working on it . I only selected one row to test it.
@ΓιώργοςΧαμπέσης
@ΓιώργοςΧαμπέσης 5 месяцев назад
Hello dear Leila. I also changed the code to count by color and it works perfectly: Function CountByColor(MatchColor As Range, CountRange As Range) Application.Volatile True Dim cell As Range Dim myColor As Long myColor = MatchColor.Cells(1, 1).Interior.Color For Each cell In CountRange If cell.Interior.Color = myColor Then CountByColor = CountByColor + 1 Next End Function but when I add the selectionchange to the sheet I can't do ctrl+C and ctrl+V, when I do it from the clipboard it works. Any instruction ??
@Llb890
@Llb890 5 лет назад
female superstar of excel leila gharani
@feraskraim936
@feraskraim936 5 лет назад
Great Laila I 'll try to translate this totorial into arabic and republish ìt on my channel. Of course after your agree.
@JiBiT3
@JiBiT3 20 дней назад
Second part (+9:00 forward) refreshing cell formulas did not work for myself. May you please advise for everyone's benefit? Thank you.
@rafaeljuca4880
@rafaeljuca4880 4 года назад
Great video and solved me a huge problem. However I had a problem with the aumatically upload. I've tried the activesheet.calculate as mentioned in the video but is not working. Do you know any other method to do so?
@skylerjoemarekchan8313
@skylerjoemarekchan8313 2 года назад
Same problem sir... 😭
@dkb1111
@dkb1111 5 лет назад
No one like you, you are great
@LeilaGharani
@LeilaGharani 5 лет назад
Thank you for the kind words!
@wayneedmondson1065
@wayneedmondson1065 5 лет назад
Hi Leila.. love that If Not Intersect() Is Nothing construct. Before understanding that concept, I used the overkill method of ActiveSheet.Calculate on the full Worksheet_SelectionChange event.. which made some of my workbooks very slow. Now, they are much speedier and more efficient. Thanks for the great videos, lessons and insights.. always something fun, new and interesting on your channel and web site. Thumbs up!!
@LeilaGharani
@LeilaGharani 5 лет назад
Thank you for the kind words and the thumbs up Wayne!
@askulasaatwik8thc644
@askulasaatwik8thc644 5 лет назад
Thank you Leila for letting us know about a new thing today.
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome. Glad it is helpful.
@LudovicAgathe
@LudovicAgathe 5 лет назад
Nice video! thank you! If you wish to sum over a range of colors, this worked for me: Function sumColor(matchColor As Range, sumRange As Range) As Double Dim cell As Range Dim ccolor As Range sumColor = 0 For Each cell In sumRange For Each ccolor In matchColor If cell.Interior.Color = ccolor.Cells(1, 1).Interior.Color Then sumColor = sumColor + cell.Value End If Next ccolor Next cell End Function
@xlschool7334
@xlschool7334 5 лет назад
thanks again Leila for your best tutorials.
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome.
@kirkgay3004
@kirkgay3004 2 года назад
Great video but I found a problem. Whenever the line of code "Activesheet.Calculate" or just "Calculate" is added to the module, it seems to disable the ability to 'cut or copy and "insert copied cells" function on the worksheet. Any ideas as to why or how to fix this?
@TheFearco
@TheFearco 2 года назад
Great tutorial! I Wonder, what should I change to count the colored cells? I tried changing the IF code to count instead of sum, but than I get the Value error
@jefwhestler1195
@jefwhestler1195 11 месяцев назад
Hi thank you for this amazing info. I have also a question. When i ad 2 colors white and green, and fill in a number in the white one and i change it to the green color it will not count the value. How can I solve that?
@funnytime1111
@funnytime1111 4 года назад
Wow thank you, idk anything about VBA but I was able to follow along easily. You are amazing
@jayaliciousmusic
@jayaliciousmusic 3 года назад
Thank you Leila, That was amazing and easy to understand. Very helpful
@sdalela1
@sdalela1 3 года назад
Thanks, this is indeed magic. I am looking for a help however as I need to sum total a cells in a column (or a row or a range or a selection) which are not colored and the value is within 1000+/-1. Could you please help
@ДмитрийПетров-ш9р
@ДмитрийПетров-ш9р 3 года назад
Thanks for the video. One question, how to sum cells by color and also if we have additional condition (for instance 3 brands on the left that we need also to take into account while summing)
@williandepaulagomes4557
@williandepaulagomes4557 5 лет назад
What's uo, Leila! Thanks for your incredible class. I usually use color conditional formatting to see values that are more than, less than or equal to my budget. I have tested this tutorial with this conditional formating, but when I use the immediate to find the color of my cells in SumRange it shows me value 16777215. It means that my cells are uncolored. But cells are colored, I just used the color conditional formatting. How can I solve it?
@jePenseQuoi
@jePenseQuoi 5 лет назад
Her function is useless for conditionally formatted cells, which means that her function is entirely useless since I am not about to go format each cell myself based on a value. Basically, you have to cycle through the range and test whether each cell meets some criterion. In other words, you just use the sumifs() function.
@brentlomew2375
@brentlomew2375 3 года назад
@Leila Gharani How do you count cells by conditionally formatted color? There appear to be macro subroutines that can do this but how can it be done as a function?
@sandeepgupta9498
@sandeepgupta9498 5 лет назад
One of the best tutor ever
@LeilaGharani
@LeilaGharani 5 лет назад
Aww, thank you!
@darlavishu
@darlavishu 5 лет назад
Hi Leila, I truly appreciate your work, I keep watching your videos as they are extremely informative and I keep learning new techniques in excel. I see this video has some VBA at a medium level. I wanted to learn VBA from a more beginner level and request you to advise me on where to start ..
@LeilaGharani
@LeilaGharani 5 лет назад
I have a VBA course that will take you from beginner to advanced. If you are interested you can check it out here: courses.xelplus.com/p/excel-vba-excel-macros
@esmailiyou
@esmailiyou 4 года назад
Awesome video, competent and fast. Thx a lot!
@huytangquoc5682
@huytangquoc5682 5 лет назад
Thank you, this is what i have been looking for a long time. It is really helpful. Big Thank
@LeilaGharani
@LeilaGharani 5 лет назад
You're very welcome. I'm glad the video is useful.
@mikelennon1078
@mikelennon1078 3 года назад
How can count the number of same colored cells in a row? Let's say conditional formatting turns some cell's background to Green in each row. How can we automatically get the SUM of the those Green colored cells in each row?
@dmarquez304
@dmarquez304 Месяц назад
Thank you SO MUCH 🙏🏼
@ficoalvarez
@ficoalvarez 3 месяца назад
Great lessons! Thank you!
@peternganga9371
@peternganga9371 5 лет назад
Thanks Leila. Seems like I got to learn VBA for custom needs.
@LeilaGharani
@LeilaGharani 5 лет назад
It can really be helpful Peter.
@peternganga9371
@peternganga9371 5 лет назад
@@LeilaGharani so I thought. Thank you as always. God grant you abundant energy to do the beautiful work you do here (online). I must say that I am your loyal student and has in return referred quite a number who feels the same. I have been a teacher and so can tell of a good one. You are one of the best. Thanks once again and God bless.
@Patrick-ge2zn
@Patrick-ge2zn 3 года назад
Thank you ,this is just what I was looking for .
@anandvchiplunkar
@anandvchiplunkar 4 года назад
Hi Leila. Excellent ' easy to understand and learn' presentation. It worked the way you constructed the excel sheet. However, when I had the number colored by conditional formatting, it did not work. The totals were returned as 0. Can you help? Thanks in advance.
@mvohra
@mvohra 3 года назад
I had the same issue, found this on Google and it worked for me. Just added 2 lines to Leila's code. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("A:C")) Is Nothing Then ActiveSheet.Calculate ActiveSheet.EnableCalculation = False ActiveSheet.EnableCalculation = True End If End Sub
@kingmaya
@kingmaya 5 лет назад
I have checked some of your tutorials ...Amazing!!!
@LeilaGharani
@LeilaGharani 5 лет назад
I'm glad you like the tutorials.
@MohamedAnverSulaimaLebbe
@MohamedAnverSulaimaLebbe Год назад
Good Laxcering, Vary Usfoul., Thank you.
@_Tezza
@_Tezza 4 месяца назад
How do you make this work with conditional formating using the same colours?
@francisroman6675
@francisroman6675 4 года назад
Thank you for this, Leila! Quick question, is there a way to have a dynamic range? My use case is that when I filter the data source of the values, I need the cell totals to add up to only the cells in the visible range. Thank you!
@F9Tproductions
@F9Tproductions 4 года назад
I'm using this function to help me build something in Minecraft and it's fantastic
@fredneal6338
@fredneal6338 4 года назад
Hello Leila, This works fantasticly, however, if I have text in a colored cell within the range, I get a #Value error. Is there a way to have text in the range of cells and still just calculate the cells with numerical values?
@sylvesterj95
@sylvesterj95 4 года назад
I need to know this too!
@svetlanas6910
@svetlanas6910 5 лет назад
Great tutorial. Thank you Leila. How should I save it, so the formula =SumColor is available on every excel file?
@pete7019
@pete7019 4 года назад
This was a great video, super helpful! One issue is that after I hit save, it no longer auto updates.
@YaNykyta
@YaNykyta 3 года назад
Very nice one deat! Beautiful!!! Small note: suppose the result cell has the same background as calculated cells, so then you can use: "If cell.Interior.Color = Activecell.Interior.Color"
@ivaniffah1039
@ivaniffah1039 2 года назад
Hello Ma'am, I really like your videos. This one is one of them. But When I am using this for one of my columns it's not working. meaning no calculation is going on. is it because it's a table. please help me with it. Thank you.
@katrinamorris6992
@katrinamorris6992 Год назад
Thanks. Can you do a similar video for text colour?
@erikhaggstrom3431
@erikhaggstrom3431 3 года назад
This is amazing! However (I'm not sure if that was obvious but It only worked when I saved it as an "add-in") I managed to do everything except that last part with activesheet update and I can't figure out why it doesn't work. Is there any way to get help with this?
@fragrenceful
@fragrenceful 6 месяцев назад
Can you please guide in Hindi also for sum colour by cells
@michaelpaul9372
@michaelpaul9372 4 года назад
Dear Leila, I would like to thank you for this excelent short course. I would like to aske you a question with one of my problems, I want to sum cells with color, 12 different colours which are autmaically coloured by using conditional formula . There are all in one column from 1to 400. I am trying to use your VBA formula but it does not work, do you thing any other way of making it working. I would appreciate if you could assit me resolving this problem. Thank you in advance.
@1988Ssk
@1988Ssk 8 месяцев назад
Hello. I have an Excel sheet which contains number of line items that I have categorised and I have marked all these line items in 4 different colors. If I have to create a summary table to categorise the line items in 4 different colors. How can I do it. Is there any formula which can count the number of colored cells and return the exact number to the specific category and colour.
Далее
VBA to BROWSE & COPY Data from SELECTED File in Excel
10:00
SUM and COUNT by Cell Colour in Excel -- WITHOUT VBA!
16:32
НОВАЯ "БУХАНКА" 2024. ФИНАЛ
1:39:04
Просмотров 526 тыс.
Sum Cells Based on Their Color in Excel (Formula & VBA)
12:18
How to Count Colored Cells in Excel (Three Ways!)
5:30
Sum By Cell Color... The Magic Comes True Without VBA
13:56
Excel LAMBDA - HOW & WHEN you Should use it
16:02
Просмотров 440 тыс.