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

Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
Learn how to write an Excel formula to sum values based on the cell background color.
⬇️Download the workbook here: pages.xelplus.com/sum-color-file
We achieve this with a simple Excel VBA function. The VBA function has two arguments. One is for color and the other the range that needs to be summed. You can use a similar technique to count cells based on color.
We also improve on the VBA code to have the formula results update automatically when a cell color in the range changes. This is done by using the worksheet selection change event for a specific range. We achieve this with the Application.Intersect method.
🔍 What You'll Learn:
- Crafting a custom VBA function for summing values by cell color.
- Simplified approach to VBA programming with hands-on examples.
- How to implement dynamic cell color selection in your custom function.
🛠️ Custom Function Features:
- Ability to sum values based on specified cell background color.
- Two argument implementation: target cell color and range for summing.
- Step-by-step guide to creating and integrating the function in Excel.
💡 Key Takeaways:
- Enhance your Excel projects with dynamic, color-based calculations.
- Gain practical knowledge in VBA, making your data analysis more efficient.
- Discover how to tailor Excel functions to your specific needs.
LINK to Excel VBA Playlist: • Excel VBA & Macros Tut...
➡️ Join this channel to get access to perks: / @leilagharani
👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
🎥 RESOURCES I recommend: www.xelplus.com/resources/
🚩Let’s connect on social:
Instagram: / lgharani
LinkedIn: / xelplus
Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#excel #ExcelVBA

Пікірлер: 553

  • @LeilaGharani
    @LeilaGharani5 ай бұрын

    Grab the file I used in the video from here 👉 pages.xelplus.com/sum-color-file

  • @torkunc
    @torkunc5 жыл бұрын

    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.

  • @mseker66
    @mseker663 жыл бұрын

    Best vid ever in this subject. I appreciate you for sharing this. Merci Leila :)

  • @ckokse
    @ckokse5 жыл бұрын

    You are making VBA understandable even for me. That's some gift!

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    I'm happy to hear that :)

  • @irfanmansoori3060
    @irfanmansoori30604 жыл бұрын

    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..

  • @maciekmatula5488
    @maciekmatula54884 жыл бұрын

    If i could like this twice I would. So brilliant and straightforward! Thank you!

  • @LeilaGharani

    @LeilaGharani

    4 жыл бұрын

    My pleasure. Thanks for the Like!

  • @atkentravelafrica4361
    @atkentravelafrica43613 жыл бұрын

    This was very helpfully in calculate my everyday Transactions Records working as wakala in Tz. So happy i found this.

  • @macleb
    @macleb4 жыл бұрын

    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

    4 жыл бұрын

    You're very welcome. As long as it's helpful I am happy :)

  • @funnytime1111
    @funnytime11114 жыл бұрын

    Wow thank you, idk anything about VBA but I was able to follow along easily. You are amazing

  • @gabrieldry1905
    @gabrieldry19053 жыл бұрын

    Thanks so much for the easy-to-follow, professional video! Works like a dream on my Macbook. :)

  • @jayachandrareddy4534
    @jayachandrareddy45343 жыл бұрын

    Thank you Leila, That was amazing and easy to understand. Very helpful

  • @karenwilcox1995
    @karenwilcox19954 жыл бұрын

    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!

  • @huytangquoc5682
    @huytangquoc56825 жыл бұрын

    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.

  • @vikascma
    @vikascma4 жыл бұрын

    You are my Excel Guru...🙂 Thanks!

  • @vikascma

    @vikascma

    4 жыл бұрын

    🙂🙂🙂

  • @MeatRocket72
    @MeatRocket723 жыл бұрын

    Flawless and thorough example of something that's been driving me nuts! Thank you so much!

  • @LeilaGharani

    @LeilaGharani

    3 жыл бұрын

    Glad it helped, John!

  • @NiranjanS9916
    @NiranjanS99164 жыл бұрын

    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

    4 жыл бұрын

    You're very welcome. Glad you found something new.

  • @bestscenes1469
    @bestscenes14695 жыл бұрын

    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.

  • @Victor-ol1lo
    @Victor-ol1lo5 жыл бұрын

    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.

  • @jonathanbelliot509
    @jonathanbelliot5094 жыл бұрын

    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.

  • @loganathankannan1989
    @loganathankannan19895 жыл бұрын

    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.

  • @JG-ql3nw
    @JG-ql3nw2 жыл бұрын

    Great value, finally I understand fantastic metod, I'm using Excel in spanish and it worked perfectly. Like for sure 👍🏼

  • @maybinmumba5288
    @maybinmumba52883 жыл бұрын

    This is extremely helpful! Thanks Leila!

  • @esmailiyou
    @esmailiyou4 жыл бұрын

    Awesome video, competent and fast. Thx a lot!

  • @dadgau
    @dadgau5 жыл бұрын

    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.

  • @19mrmrm87
    @19mrmrm873 жыл бұрын

    This video is amazing! thank you so much!!! I needed this so much to make my budgets better :) thank you!!!!

  • @kingmaya
    @kingmaya5 жыл бұрын

    I have checked some of your tutorials ...Amazing!!!

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    I'm glad you like the tutorials.

  • @sarfarajkureshi6569
    @sarfarajkureshi65695 жыл бұрын

    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.

  • @robertakwasiadjei8223
    @robertakwasiadjei82235 жыл бұрын

    Thanks once again Leila. May the good Lord richly bless

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome Robert.

  • @guntisdlohi8453
    @guntisdlohi84532 жыл бұрын

    Thank you. This was amazingly useful. Simple tool to make and edit preliminary Gantt charts.

  • @jjb110
    @jjb1105 жыл бұрын

    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.

  • @Patrick-ge2zn
    @Patrick-ge2zn3 жыл бұрын

    Thank you ,this is just what I was looking for .

  • @khazza930
    @khazza9303 жыл бұрын

    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 :)

  • @justinking5958
    @justinking59584 жыл бұрын

    Fantastic!! Thank you so much!

  • @ganeshbhamare7
    @ganeshbhamare75 жыл бұрын

    Thanks Leila, you really made it for my requirements. Thanks Again.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    I'm glad to hear that.

  • @xlschool7334
    @xlschool73345 жыл бұрын

    thanks again Leila for your best tutorials.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome.

  • @huseyinallito3454
    @huseyinallito34545 жыл бұрын

    Truly appreciate your work. Thank you very much

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome. Glad you find the videos helpful.

  • @stephenbrincat7124
    @stephenbrincat71245 жыл бұрын

    Wow, looks great. That will be my next course after the I finish the excel course from yours.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    That's great Stephen. Looking forward to seeing you there.

  • @batarasiagian9635
    @batarasiagian96355 жыл бұрын

    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.

  • @EnkhturDamdinjav
    @EnkhturDamdinjav3 жыл бұрын

    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

  • @anilmudakannavar79
    @anilmudakannavar795 жыл бұрын

    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.

  • @enriquedominguez9709
    @enriquedominguez97095 жыл бұрын

    Thank you Leila. Excellent as allways.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome Enrique. Glad you like it.

  • @askulasaatwik8thc644
    @askulasaatwik8thc6445 жыл бұрын

    Thank you Leila for letting us know about a new thing today.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome. Glad it is helpful.

  • @michaelpan1736
    @michaelpan17364 жыл бұрын

    You are an expert! 👍

  • @arjunavayalombrone243
    @arjunavayalombrone2433 жыл бұрын

    Wow. This was amazing thanks!!!

  • @chamindabasnayake4844
    @chamindabasnayake48445 жыл бұрын

    This is a great video, amazing stuff. Thank you.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome. Glad you like the video.

  • @Dirtyboxer1
    @Dirtyboxer15 жыл бұрын

    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.

  • @jayaseelanthimman3512
    @jayaseelanthimman35123 жыл бұрын

    Excellent, Very useful. Thanks.

  • @supersonicbasugmail
    @supersonicbasugmail2 жыл бұрын

    Thank for this Leila!

  • @AweshBhornya-ExcelforNewbies
    @AweshBhornya-ExcelforNewbies5 жыл бұрын

    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.

  • @ExcelExciting
    @ExcelExciting5 жыл бұрын

    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.

  • @yurd563
    @yurd5635 жыл бұрын

    Thanks for video!

  • @shabbirkanchwala-abwaab6263
    @shabbirkanchwala-abwaab62635 жыл бұрын

    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 :)

  • @katerina6495
    @katerina64955 жыл бұрын

    Thank you Leila, this is super cool, have a great day 🤗

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome Katerina. Liebe Gruesse :)

  • @maheshlowe907
    @maheshlowe9073 жыл бұрын

    Thanks very helpful video.

  • @Dogger1230
    @Dogger12305 жыл бұрын

    You truly are the excel goddess!!!

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    😘

  • @wayneedmondson1065
    @wayneedmondson10654 жыл бұрын

    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

    4 жыл бұрын

    Thank you for the kind words and the thumbs up Wayne!

  • @shihyeanheng6502
    @shihyeanheng65024 жыл бұрын

    Very useful, thanks for sharing

  • @sandeepgupta9498
    @sandeepgupta94985 жыл бұрын

    One of the best tutor ever

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    Aww, thank you!

  • @user-me5vg5rq4o
    @user-me5vg5rq4o11 ай бұрын

    Good Laxcering, Vary Usfoul., Thank you.

  • @Qpow3r13
    @Qpow3r135 жыл бұрын

    Thank you for this video. I been trying to find a way to do this for months. Well explain! Is there a anyway to add the hour to each cell?!

  • @amilcarc.dasilva5665
    @amilcarc.dasilva56655 жыл бұрын

    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.

  • @dennisd5776
    @dennisd57765 жыл бұрын

    Another great video tip. Thank you.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome Dennis. Glad you like the video.

  • @aboveshoulders
    @aboveshoulders4 жыл бұрын

    This is fantastic. Thank you!

  • @LeilaGharani

    @LeilaGharani

    4 жыл бұрын

    Glad you liked it!

  • @seyrankerimli6713
    @seyrankerimli6713 Жыл бұрын

    Thank you for your efforts it's the best and very helpfull lesson.

  • @yulinliu850
    @yulinliu8505 жыл бұрын

    Excellent as always!

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    Thank you. Glad you like it.

  • @johnborg5419
    @johnborg54194 жыл бұрын

    Very Interesting, although I never seemed to dive in VB. I started many times, every time I had a scenario, I always wondered how to do it with a formula. :) :)

  • @svetlanas6910
    @svetlanas69104 жыл бұрын

    Great tutorial. Thank you Leila. How should I save it, so the formula =SumColor is available on every excel file?

  • @17aig
    @17aig5 жыл бұрын

    Thanks again for a great presentation as usual

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome. Glad you like it Nissim.

  • @adnankhalil2
    @adnankhalil23 жыл бұрын

    Really helpful, Thanks

  • @flspeid
    @flspeid2 жыл бұрын

    Great video!!

  • @wolfgang2149
    @wolfgang21492 жыл бұрын

    I love it great Tuto thanks a lot Leila

  • @tica5791
    @tica57915 жыл бұрын

    Superb! The Queen of excel really.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    I'm glad you like it :)

  • @adrianmanzat879
    @adrianmanzat8794 жыл бұрын

    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 .

  • @dkb1111
    @dkb11115 жыл бұрын

    No one like you, you are great

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    Thank you for the kind words!

  • @arditi2288
    @arditi22887 ай бұрын

    Super erklärt! Vielen Dank!

  • @lagga7193
    @lagga71934 жыл бұрын

    nice work tnks!grt

  • @user-ty4lc8oe7x
    @user-ty4lc8oe7x5 жыл бұрын

    Thank for your good videos!!!

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome.

  • @chanduhandsome9316
    @chanduhandsome93165 жыл бұрын

    Thanks Leila, this was a helpful video

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're welcome. I'm glad you like the video.

  • @faridanwar8536
    @faridanwar85364 жыл бұрын

    thanks very use full

  • @heikoheimrath7514
    @heikoheimrath75145 жыл бұрын

    Great stuff Leila 👏

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    I'm glad you like it Heiko.

  • @manfas1
    @manfas14 жыл бұрын

    Thank you very much

  • @sudhansugrahacharya7094
    @sudhansugrahacharya70945 жыл бұрын

    simply love you

  • @julienbouillot6960
    @julienbouillot69605 жыл бұрын

    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/

  • @AAA-ir4eo
    @AAA-ir4eo3 жыл бұрын

    Thank you so much!!!!! 😭😭

  • @ronvds4713
    @ronvds47135 жыл бұрын

    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.

  • @muhammadrashid3307
    @muhammadrashid33074 ай бұрын

    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

  • @darlavishu
    @darlavishu5 жыл бұрын

    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

  • @Things-Recycleing
    @Things-Recycleing5 жыл бұрын

    Thanks for formula and explain

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    You're very welcome.

  • @preetiyadav5513
    @preetiyadav5513 Жыл бұрын

    Thank you 😊

  • @haydenn8210
    @haydenn82102 жыл бұрын

    Thank you so much for such a great video as always. In the latest version of 365, this doesn't seem to refresh still. For anyone who wants to get around that, you can simply use the 'calculate now' button in the formulas tab. For further ease, record clicking that button as a macro and either create a button or associate a keybind.

  • @jclaudesanders

    @jclaudesanders

    2 жыл бұрын

    I was having this problem as well, and after an hour or so of research I found another workaround. If you add the line "Application.Volatile" (without quotations" to this Function it will force recalculate every time something in your worksheet changes.

  • @ivankaradzhov3610

    @ivankaradzhov3610

    Жыл бұрын

    @@jclaudesanders Thanks!!!!!!!! ive been looking how to resolve this for over an hour until seeing your comment

  • @mostafa4321
    @mostafa43215 жыл бұрын

    Excellent again Leila

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    Glad you like it.

  • @peternganga9371
    @peternganga93715 жыл бұрын

    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.

  • @maxpayne6919
    @maxpayne69195 жыл бұрын

    Leila thank you! Dream woman right there

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    Glad you like it :)

  • @VipulKarkar
    @VipulKarkar5 жыл бұрын

    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!

  • @vishaltambe9843
    @vishaltambe9843 Жыл бұрын

    Thank you Leila. This was my first macro code as I had this use case. I understand the power of macros better now. I had one quick follow-up question on the ActiveSheet.Calculate. I was not able to copy and paste any cell within the range of columns I selected for the calculation to run. Is there a way to retain the copy-paste functionality within the selected range?

  • @jasondrm15
    @jasondrm153 жыл бұрын

    Thank you for the great tutorial! Is there a way to incorporate the sumproduct function? For example, I would like to sum all cells that have Canada on the row, 2020 on the column, sales on the column, and the cell is highlighted greed.

  • @YaNykyta
    @YaNykyta3 жыл бұрын

    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"

  • @jamilhfl
    @jamilhfl4 жыл бұрын

    Excellent

  • @pete7019
    @pete70194 жыл бұрын

    This was a great video, super helpful! One issue is that after I hit save, it no longer auto updates.

  • @LooKGaming2030
    @LooKGaming20305 жыл бұрын

    Very nice. We need VBA lessons.

  • @LeilaGharani

    @LeilaGharani

    5 жыл бұрын

    I'm glad to hear that.

Келесі