Тёмный

Uncover Hidden Excel Powers: Sum & Count Cells by Color! 

Up4Excel
Подписаться 19 тыс.
Просмотров 48 тыс.
50% 1

📗 Download This Video Workbook: »» cutt.ly/up4excel09
🎯 SUM or COUNT by cell colour using the hidden Excel function GET.CELL - Just one of the 66 operations this function can perform. Unlock a whole new world of long forgotten Excel Functions using the 2 methods taught in this video.
👨‍🏫 Remove On-Screen Tutor: »» • Unveiling Excel's Hidd...
You can’t normally count by cell color in Excel, but if you make use of Excel 4.0 macro functions you can reveal this functionality. In order to count by cell colour in Excel you can use the GET.CELL function. Technically it is the GET.CELL macro function because Excel treats it as an Excel 4 macro. GET.CELL() has various options but GET.CELL 63 is the one that detects cell color and therefore allows you to sum by cell color, count by cell colour, sum only certain color cells, and sumif by cell color. As if that wasn’t impressive enough, GET.CELL 24 can be used to identify the font color so the same technique can be used to sum by font color, count by font colour, sum only certain color fonts, and sumif by font color. The GET.CELL formula can also be used to sum only bold cells. The GET.CELL macro formula is a truly useful legacy function that can still be accessed in Excel 2019 and Excel 365. You can impress those around you by using this secret GET.CELL function in Excel as a sum color Excel formula today, and do something others think is not possible like sum bold cells in Excel.
=GET.CELL(63,[A1]) detects the fill colour of any cell....but it doesn't work on a modern Excel sheet unless you apply one of the techniques in this video.
Once you know how to access this function you can SUM, COUNT, AVERAGE, MAX, MIN etc by almost any cell format including Font Size, Font Colour, Font Name and even Row Height.
The full list of operations and formats this function can detect is in the video workbook....so download on the link above.
Furthermore, the methods revealed to unlock this function also apply to numerous other secret legacy Excel functions - all of which were hidden after 1992 !!
A whole new world of Excel Functions will be at your disposal from now on.
GET.CELL(type_num, reference)
Type_num Returns
17 Row Height
18 Font Name
19 Font Size
24 Font Colour
63 Fill Colour
+ Many Others
In this Excel tutorial, I'll show you how to efficiently sum or count cells by color using a feature dating back to Excel's XL4 macro language from 1992. By the end of this video, you'll master the art of analyzing and manipulating data based on cell color, opening up new possibilities in Excel.
Topics covered include:
1. Introduction to Get.Cell Function: We'll explore function number 63, which retrieves the fill color of a cell, laying the groundwork for our color-based calculations.
2. Utilizing Named Ranges: Learn how to create a named range incorporating Get.Cell function, facilitating seamless referencing of cell colors in formulas.
3. Summing Cells by Color: Discover how to use SUMIF function alongside our named range to efficiently sum cells based on color, streamlining data analysis.
4. Counting Cells by Color: I'll guide you through the process of counting cells by color using the COUNTIF function, providing valuable insights into your dataset.
5. Forcing Recalculation: Learn a workaround to ensure automatic updates of color-based calculations, ensuring accuracy in your Excel workflow.
6. Using Macro Sheets: Explore an alternative method for leveraging macro functions directly within Excel worksheets, eliminating the need for named ranges.
7. Caveats and Considerations: Understand limitations, such as compatibility issues with conditional formatting, and strategies to overcome potential challenges.
Throughout the tutorial, I'll adopt a straightforward approach, providing actionable steps for immediate implementation. Practice along with the provided example data or download the accompanying spreadsheet to reinforce your skills.
Excel offers a plethora of macro functions waiting to be explored beyond Get.Cell. Share your favorite techniques in the comments below for future video ideas!
I'm confident you'll find this tutorial informative and valuable for your Excel journey. If you do, don't forget to like, subscribe, and stay tuned for more insightful content. Happy Excel-ing!

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

 

14 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@Up4Excel
@Up4Excel Год назад
I'm offering personal coaching to only 2 people. Get details now ml.up4excel.com/htcapp04 - Offer Ends 19th August 2022
@priyachandrasena7729
@priyachandrasena7729 Год назад
Thank you very much for your generosity ! Your step-by-step video helped me a lot.
@p1943LEB
@p1943LEB Год назад
By far, the clearest, easiest-to-follow explanation I've seen. Thanks to you, I'm going to look like a GENIUS!
@Up4Excel
@Up4Excel Год назад
Thanks for the complement, glad you think so. Don't look like too much of a genius or you'll get all the work thrown at you 😉
@stephenrostron4393
@stephenrostron4393 3 года назад
Just used your technique on over 1000 lines of data with multiple columns and several classifications (colours) - worked a treat and saved me hours - thanks
@Up4Excel
@Up4Excel 3 года назад
Nice work! Anything that saves people time is good in my book 👍
@rbc897
@rbc897 2 года назад
I have watched several tutorial in RU-vid about this formula but I still dun understand except U!! Thank you for ur teaching!! ❤
@Up4Excel
@Up4Excel 2 года назад
Happy to hear that...glad to help 👍
@muhammadbelmokhtar1091
@muhammadbelmokhtar1091 3 года назад
Hey man this really is an awesome video, I needed to learn this so that I could apply it to my inventory sheet and get the total retail value of my inventory without having to manually calculate everything everytime and this really did the trick! You got a thumbs up from me and a subscribe! Thanks again!
@Up4Excel
@Up4Excel 3 года назад
Really glad to hear that! Thanks for the sub 👍
@livewire8949
@livewire8949 2 года назад
You made this very easy compared to other vidoes I watched. Thank you
@Up4Excel
@Up4Excel 2 года назад
Thank you for your feedback on this. Happy you found it easy to follow 👍
@blackgerbera
@blackgerbera 3 года назад
Great, Thanks!
@Up4Excel
@Up4Excel 3 года назад
Glad you liked it 👍
@johnborg5419
@johnborg5419 4 года назад
Amazing John. Never knew the +Now()*0.....that was Great!!! : ) : )
@Up4Excel
@Up4Excel 4 года назад
Yes, it's a great trick....I found it online originally, but can't remember where. I'm sure there are many other uses I'm yet to discover.
@johnborg5419
@johnborg5419 4 года назад
@@Up4Excel Thanks for sharing John : )
@getiingtubed
@getiingtubed 2 года назад
This is very useful
@Up4Excel
@Up4Excel 2 года назад
Glad you think so 👍
@wayneedmondson1065
@wayneedmondson1065 4 года назад
Hi.. interesting.. usually I default to a VBA user defined function to solve something that is not native to the EXCEL workbook/worksheet. I'll have to give these Excel 4 Macro Functions a try. I guess the only downside is if or when Microsoft eliminates them from the base EXCEL code in the future. Thanks for sharing. Thumbs up!
@Up4Excel
@Up4Excel 4 года назад
It's amazing Microsoft still keeps these features in the base code really. Perhaps they want to maintain full backward compatibility....or perhaps the programmer has long since left them and they daren't remove the code and risk unknown knock-on impacts 😀
@swednecktrailers4146
@swednecktrailers4146 3 месяца назад
This is great, i am able to replicate it. However, i am hoping to have the range of multiple columns and multiple rows. is that possible? only pick up and sum red cells from c4:e27 for example?
@Up4Excel
@Up4Excel 3 месяца назад
Not directly as you can only do one cell per formula, but you could have multiple columns of these formulas picking up one column each and then a sum all of them at the end. i.e. The formula in column F picks up column C, G picks up D, H picks up E...then sum results from F to H. Note you would need to change the GET.CELL function to take a cell 3 places to the left, rather than one place to the left as I did in the video. Hope that makes sense. Good luck 👍John
@Up4Excel
@Up4Excel 4 года назад
Sum or Count by Cell Colour using the hidden Excel function GET.CELL option 63. Plus....unlock a whole new world of long forgotten Excel Functions using the 2 methods taught in this video. Once you know how to access this function you can SUM, COUNT, AVERAGE, MAX, MIN etc by almost any cell format including Font Size, Font Colour, Font Name and even Row Height.
@rajuj8876
@rajuj8876 3 месяца назад
Sir I used conditional formatting for filling I try work on it but not working What I have to do
@Up4Excel
@Up4Excel 3 месяца назад
This method can't detect conditional formatting, only set cell formats. I'm not sure if there is anything that can detect conditional formats. Sorry. John
@mikelennon1078
@mikelennon1078 3 года назад
Does anyone knows how to count and show the total number of conditionally formatted background color ( let's say those which turned green ) ?
@Up4Excel
@Up4Excel 3 года назад
You're definitely into VBA here Mike. The only way I've found is to effectively construct code that detects the same thing the conditional format does, and then count that. Hopefully someone else has more knowledge and can suggest a better way... as I'd love to hear it 🤞
@manojkumars2427
@manojkumars2427 3 года назад
Hi.. I did not understand the way macro worked.. I did not see you saving the macro.. Have a disconnect.. Please help me with the Macro section and how you used it.
@Up4Excel
@Up4Excel 3 года назад
Hi, it's not a macro in the modern sense. It is a command from an old macro language, but Excel still recognises the command if you use it as part of the definition of a named range. This is where the magic happens 👍
@29sthomas
@29sthomas Год назад
Hi I tried using the sheet in the description, After making the update using the Name manager when i selected the name field , the cell gave an error #Name? could you help me with this ?
@Up4Excel
@Up4Excel Год назад
Make sure you have macros enabled as this might cause issues if not. Other than that, try downloading the sample file I provide with the video (link is in the description) and comparing it as maybe there is something different in your version.
@mikelennon1078
@mikelennon1078 3 года назад
Lets say I have 1000 records but only certain row id's are colored. I would like to have a column which find the next colored ID and give it an incremental number. i.e. the first colored id is in row 10, the second row 12, the third in row 40. And I would like to get a 1,2,3,...... in front of row 10, row 12, row 40, ................... respectively. Would you please let me know how this can be done? I would appreciate it.
@Up4Excel
@Up4Excel 3 года назад
My main tip is don't use color for this sort of work as Excel really isn't setup to pick up color. If you need to use color then my second suggestion is to have a column with real data (i.e. not color) and use conditional formatting on the ID column based off what is in the real data column. You can always hide the real data column. If you do this you can use standard formulas etc to do what you want. To use the system in the video you could use helper columns with the color numbers and base things off that. There's way to much to explain here though so you will have to investigate based on the tips I've suggested. Hope you solve it 👍
@pjaj43
@pjaj43 Год назад
Great video. Pity it won't work on a G-sheet
@Up4Excel
@Up4Excel Год назад
As with quite a lot of other Excel features too unfortunately.
@mumtazharoon8892
@mumtazharoon8892 3 года назад
how to sum all couloms but not sum in the range who colored coloms
@Up4Excel
@Up4Excel 3 года назад
just do what I did in the video and take the result away from the total sum.
@abbadubenzwin5157
@abbadubenzwin5157 Год назад
But if many cells of columns are attached and contain numbers or colored format , then another table must be written to count and compare..?!
@Up4Excel
@Up4Excel Год назад
Yes, the system has limitations but not sure of a way around that. Even a custom VBA function would require a separate table in your example.
@Up4Excel
@Up4Excel 3 года назад
👉 NEW: Up4Excel Downloads Library: »» ml.up4excel.com/library ✅ FREE Access to ALL Up4Excel Files. Includes Excel Templates, Training Workbooks, Example Data, Cheat Sheets and more. New Content Added Weekly!
@mohammadnabil514
@mohammadnabil514 3 года назад
How can it be used for row?
@Up4Excel
@Up4Excel 3 года назад
When you set up the named range, instead of clicking the cell to the left, click the cell above. You can then use the formula to detect the colour above rather than to the left. Use the same sumif or countif technique on the results. How this makes sense.
@FL.Sandman
@FL.Sandman Год назад
@@Up4Excel Thank you for these tips you make it easy to understand. referring to the question above in the name range can you input all four cells surrounding the target for above below and to sides I am unable to setup in a row as you had since our colors indicate a certain function complete at a particular location on a specific target
@FL.Sandman
@FL.Sandman Год назад
than you in advance
@Up4Excel
@Up4Excel Год назад
@@FL.Sandman I appreciate it's a late reply but hopefully still helpful. You could have a formula refer to all the cells around by having a long nested IF statement...but it is very messy and unlikely to be your best solution. Usually when I see this kind of question it is because the road you have gone down has led to more complex requests than an alternative you perhaps don't know or haven't spotted. I suggest going back a few steps in your entire spreadsheet workflow to see if taking a different approach might make things simpler. Best of luck.
@patriciacastro9993
@patriciacastro9993 Год назад
@@Up4Excel Thanks very much, I applied the formula in both columns & rows and worked perfectly. However, I saved & closed the file and opening it again, and try to edit info, the formulas disappeared and the further calculations I made with those results changed. Is there a way to keep them or how to call them back into the file?
@SMARTOFFICERSL
@SMARTOFFICERSL 8 месяцев назад
What is 63 means?
@Up4Excel
@Up4Excel 8 месяцев назад
There should be a list of all the options on the video description and what they mean. 63 is the code for fill colour of the cell
@SMARTOFFICERSL
@SMARTOFFICERSL 8 месяцев назад
@@Up4Excel is this working for conditional formatting. I could not found correct answer.
@Up4Excel
@Up4Excel 7 месяцев назад
@@SMARTOFFICERSL No, it only works for actual formatting in the cells. Conditional formats sit on top of those formats so can actually cover up a format that this formulas is detecting...may be useful or maybe not depending on what you want.
@faustorossi5524
@faustorossi5524 5 месяцев назад
What language do you speak?
@Up4Excel
@Up4Excel 5 месяцев назад
English, I'm from England.
@faustorossi5524
@faustorossi5524 5 месяцев назад
@@Up4Excel Very well sir, I'm from London but I barely understand you.
@Up4Excel
@Up4Excel 5 месяцев назад
@@faustorossi5524 Most people seem to think I'm from London, but actually from south west England.
@brensonyeo1358
@brensonyeo1358 Год назад
My =get.cell formula didn't work, "There is a problem with this formula" notice popped up. saved my workbook as macro-enabled .xlsm, yet no help Please advice, thx in advance.
@brensonyeo1358
@brensonyeo1358 Год назад
It turns out that I had to swap "," with ";" instead.
@Up4Excel
@Up4Excel Год назад
Glad you got it solved 👍
Далее
SUM and COUNT by Cell Colour in Excel -- WITHOUT VBA!
16:32
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Просмотров 13 млн
[RU] Winline EPIC Standoff 2 Major | LAN | Final Day
9:48:47
Boots on point 👢
00:24
Просмотров 2,5 млн
Sum By Cell Color... The Magic Comes True Without VBA
13:56
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Sum Cells Based on Their Color in Excel (Formula & VBA)
12:18
SUM AND COUNT CELLS BASED ON COLOR IN EXCEL (NO VBA)
8:07
10X Your Excel Skills with ChatGPT 🚀
11:39
Просмотров 3,2 млн
10 Excel Formulas That Will Set You Apart (Cheat Sheet)
18:04
Count Colored Cells in Excel (using Formula or VBA)
10:21
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Просмотров 13 млн