Learn How to Count Cells by Color in Microsoft Excel

  Рет қаралды 31,556

Computer Learning Zone

Computer Learning Zone

Күн бұрын

Пікірлер: 64
@danpalmer4135
@danpalmer4135 Жыл бұрын
This was so incredibly helpful. Literally, the first source I've found that was able to make this work for me. Thank you so much!
@599CD
@599CD Жыл бұрын
You're very welcome!
@ikimawsome
@ikimawsome 11 ай бұрын
This worked like a charm! Saved me hours of work! Thank you!
@599CD
@599CD 11 ай бұрын
You're welcome!
@TeresaPegrim
@TeresaPegrim Жыл бұрын
Thank you very much! This video was very helpful. It was my first time with VBA!
@shrs.3448
@shrs.3448 2 жыл бұрын
Thank you so much. This is exactly what I was looking for. First time trying VBA - a bit scary but your illustration is illuminating. thank you, thank you, thank you.
@599CD
@599CD 2 жыл бұрын
Welcome welcome welcome. :)
@amaregebrie6834
@amaregebrie6834 2 жыл бұрын
You brighten my day..... Thanks!
@599CD
@599CD 2 жыл бұрын
My pleasure!!
@SwimminWitDaFishies
@SwimminWitDaFishies Жыл бұрын
I don't know what I just did, but I did it!!
@mylenekeng1302
@mylenekeng1302 Жыл бұрын
Awesome!!! Your so clear in explaining how to do it...thanks for the help!!!!!!! 👍👍👍👍👍
@599CD
@599CD Жыл бұрын
welcome
Жыл бұрын
Thanks for sharing man! you are awesome because of doing this for everyone, keep being the great guy you are
@599CD
@599CD Жыл бұрын
I will. Thanks. :)
@paoloporchetti1563
@paoloporchetti1563 8 ай бұрын
What a bliss! Thanks
@599CD
@599CD 8 ай бұрын
Okay sure
@ReneB099
@ReneB099 2 жыл бұрын
Just what I was looking for, thank you 👍
@599CD
@599CD 2 жыл бұрын
Welcome
@sandyjohnson8549
@sandyjohnson8549 Жыл бұрын
Would this work if I wanted to count all the colors in a row not just 1 color?
@SwImMiNgRuNnEr
@SwImMiNgRuNnEr Жыл бұрын
This helped for sure, but when I changed one of the cells to another color, it didn't update the number automatically. Is there a way to fix that?
@lawrence9713
@lawrence9713 Жыл бұрын
need this too
@599CD
@599CD Жыл бұрын
You'd need to refresh the calculations. I'll add it to the list.
@karidely
@karidely 11 ай бұрын
I love this
@599CD
@599CD 9 ай бұрын
Thanks
@fahadkooj7351
@fahadkooj7351 Жыл бұрын
I did it! Thanks A lot! :D
@599CD
@599CD Жыл бұрын
welcome
@rimisosaimoveis4392
@rimisosaimoveis4392 8 ай бұрын
Hello. How and I use this formula with one more criteria? Example: I want to count the color cells when the range A1:A15 as a specific text. Thanks
@leo_k1
@leo_k1 10 ай бұрын
it works quite well but not with conditional formatting if you could fix this for me i,ll be so thankfull my guy
@599CD
@599CD 9 ай бұрын
K
@stephanven
@stephanven 2 жыл бұрын
Will this formula work if you need to count the colours from another sheet?
@599CD
@599CD 2 жыл бұрын
Haven't tried it.
@csilva19831
@csilva19831 2 жыл бұрын
Good morning Richard 🙏 ive used one of your youtube videos to ad a module/macro on a spreadsheet and it works great but when i decide to change the text in the target cell i get the #NAME? Error and even if i try to input the formula agian it keeps happening. What am i doing wrong?
@599CD
@599CD 2 жыл бұрын
It's impossible for me to tell what you're doing wrong from here. I'd need to see everything. Just follow the video step by step.
@DwikiOffice
@DwikiOffice Жыл бұрын
Public Function CountByColor(CellRange As Range, TargetCell As Range) Dim TargetColor As Long, Count As Long, C As Range TargetColor = TargetCell.Interior.ColorIndex For Each C In CellRange If C.Interior.ColorIndex = TargetColor Then Count = Count + 1 Next C CountByColor = Count End Function
@599CD
@599CD Жыл бұрын
Thanks
@GregBurcham-k1t
@GregBurcham-k1t 11 ай бұрын
Nice VBA, but if you use conditional formatting to get the colors it doesn't seem to work.
@599CD
@599CD 11 ай бұрын
Thanks
@davidtanner4783
@davidtanner4783 10 ай бұрын
YES!!!!!!
@599CD
@599CD 9 ай бұрын
Oui!!!!!!!!!!!
@jerrydfowler3480
@jerrydfowler3480 2 жыл бұрын
Rick would something like this be possible in Access VBA?
@599CD
@599CD 2 жыл бұрын
Not really... but in Access you really wouldn't change the color of individual cells like you can in Excel. Sure, you can use conditional formatting, but if you wanted to count those records, you could just do a count using whatever your formula you have for the CF in the first place.
@jerrydfowler3480
@jerrydfowler3480 2 жыл бұрын
@@599CD as soon as you said that I'm like Duh lol of course you could.
@vasilijeradonjic5439
@vasilijeradonjic5439 2 жыл бұрын
i have made the VBA code similar to this and it also works, but once i change the colour of a certain cell the count doesn't get updated automaticly. Is there any way to solve the problem?
@599CD
@599CD 2 жыл бұрын
I'd have to see what you're doing to tell you for sure.
@vasilijeradonjic5439
@vasilijeradonjic5439 2 жыл бұрын
@@599CD Function GetColorCount(CountRange As Range, CountColor As Range) Dim CountColorValue As Integer Dim TotalCount As Integer CountColorValue = CountColor.Interior.ColorIndex Set rCell = CountRange For Each rCell In CountRange If rCell.Interior.ColorIndex = CountColorValue Then TotalCount = TotalCount + 1 End If Next rCell GetColorCount = TotalCount End Function i used the same criteria for range and coloured cells for colours i need as you did but every time i change a colour form the range to another one i have to enter the formula and press enter to refresh it. Is there any way to make excel to do this automaticlly?
@vasilijeradonjic5439
@vasilijeradonjic5439 2 жыл бұрын
@@599CD it's the same with your code, i just tried it.
@buzassyadam6468
@buzassyadam6468 Жыл бұрын
First of all thank you for this!!!! This is really helpful! My question is the same it is not refreshing whenever I change color.
@aasavtamboli7919
@aasavtamboli7919 2 жыл бұрын
Sir When i tried using this CountbyColor Formula in Case of Conditional Formatting it Couldn't Count the Formatted Cells
@599CD
@599CD 2 жыл бұрын
OK
@annab4307
@annab4307 2 жыл бұрын
@@599CD Sir any option how this can work for conditional formatting as well? Thanks.
@Solukus-com
@Solukus-com 2 жыл бұрын
Same issue here, did you find a solution?
@goldenmask6689
@goldenmask6689 2 жыл бұрын
Thx
@599CD
@599CD 2 жыл бұрын
Wlcm
@sepidehnourian6404
@sepidehnourian6404 11 ай бұрын
I did exactly what you showed but I get the #VALUE! error. what could be the issue?
@599CD
@599CD 9 ай бұрын
Well since I can't see your sheet there's no way I can tell you
@95kcal
@95kcal Жыл бұрын
I'm new to this and I followed all instructions but I couldn't get the function to come out.
@599CD
@599CD Жыл бұрын
Sorry to hear that
@marlegnnecastro8328
@marlegnnecastro8328 2 жыл бұрын
This formula did not work for me. I have a feeling it’s because the cells I want to count are on a table with conditional formatting. I tried the formula on a separate sheet it worked like a dream. Anyone know how to fix this? TYSMIA
@599CD
@599CD 2 жыл бұрын
That could be
@roxyelling5809
@roxyelling5809 2 жыл бұрын
This did not work for me? How can I get help?
@599CD
@599CD 2 жыл бұрын
You could post in my Forums: 599cd.com/Forums
@jonstachelrodt
@jonstachelrodt Жыл бұрын
This does not seem to work with Conditional Formatting in cells. Bummer :(
@599CD
@599CD Жыл бұрын
Indeed!
@walkeroglesby6071
@walkeroglesby6071 Жыл бұрын
Damn I was getting frustrated because I thought I was typing it in wrong… but makes sense it’s not working because I’m using conditional formatting. Any fix or workaround to this?
SUM and COUNT by Cell Colour in Excel -- WITHOUT VBA!
16:32
Cellmates
Рет қаралды 91 М.
How to Sum Cells by Color in Excel (Get it to update automatically)
10:54
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 33 МЛН
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 14 МЛН
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 46 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
How to Count Colored Cells in Excel (Three Ways!)
5:30
David McLachlan
Рет қаралды 13 М.
Excel for Beginners - The Complete Course
54:55
Technology for Teachers and Students
Рет қаралды 7 МЛН
SUM AND COUNT CELLS BASED ON COLOR IN EXCEL (NO VBA)
8:07
Nyakno-Abasi Obott
Рет қаралды 38 М.
How To Count Colors with an Excel Function | Count Colored Cells
4:56
Uncover Hidden Excel Powers: Sum & Count Cells by Color!
9:36
How to Edit Linked Excel Data Directly in Microsoft Access
12:57
Computer Learning Zone
Рет қаралды 1,5 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 221 М.
Excel Tutorial for Beginners | How to Use Excel
15:54
Leila Gharani
Рет қаралды 2,1 МЛН
Check if a Cell is a Certain Color Using GET.CELL in Excel
8:11
MyExcelOnline.com
Рет қаралды 15 М.
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 33 МЛН