ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Sum Cells Based on Their Color in Excel (Formula & VBA)

sum by color in Excel

sum by color in excel without vba

sum by colour macro

sum by color cell excel

sum by colour in excel

add cell based on color in Excel

Get sum of cells based on color in Excel

add cells by color in excel

Sum by Color VBA

Sum by Color Subtotal

Sum by Color Get.Cell

sum by color formula in excel

advanced excel

sumit bansal

trump excel

sum by color of cell

excel sum by color

excel how to sum by color

excel formula to sum by color

Автор: TrumpExcel

Загружено: 2022-02-10

Просмотров: 153494

Описание: In this video, I will show you three different methods to add cells based on color.

00:00 Intro
00:25 SUM by Color Using SUBTOTAL Function
02:05 SUM by Color Using VBA Function
08:27 SUM by Color Using Get.CELL + Named Range Trick

If you're looking for an easy one-time method, use the first SUBTOTAL method. If you need to do this quite often and are comfortable with VBA, you can create your own custom function that will give you the sum of cells based on the color in it.

And if you don't prefer VBA, then you can use the third method which uses an old GET.CELL formula trick. It's not the best way to do this, but it gets the work done.

----------------

'Code created by Sumit Bansal from https://trumpexcel.com/
'This VBA code created a function that can be used to sum cells based on color
Function SumByColor(SumRange As Range, SumColor As Range)
Dim SumColorValue As Integer
Dim TotalSum As Long
Dim rcell As Range
SumColorValue = SumColor.Interior.ColorIndex
Set rCell = SumRange
For Each rCell In SumRange
If rCell.Interior.ColorIndex = SumColorValue Then
TotalSum = TotalSum + rCell.Value
End If
Next rCell
SumByColor = TotalSum
End Function

----------------

✅ Download File: https://swiy.io/sumbycolor

✅ Personal Macro Workbook Video:    • Personal Macro Workbook - Reuse Macros in ...  

☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - https://www.buymeacoffee.com/SumitB

✅ Free Excel Course (Basic to Advanced) - https://trumpexcel.com/learn-excel/
✅ Free Dashboard Course - https://bit.ly/free-excel-dashboard-c...
✅ Free VBA course - https://bit.ly/excel-vba-course
✅ Free Power Query Course - https://bit.ly/power-query-course
✅ Best Excel Books: https://trumpexcel.com/best-excel-books/

Subscribe to get awesome Excel Tips every week: https://www.youtube.com/user/trumpexc...

#Excel #ExcelTips #ExcelTutorial

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Sum Cells Based on Their Color in Excel (Formula & VBA)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Сводные таблицы Excel с нуля до профи за полчаса + Дэшборды! | 1-ое Видео курса

Сводные таблицы Excel с нуля до профи за полчаса + Дэшборды! | 1-ое Видео курса "Сводные Таблицы"

This FORGOTTEN Excel Function Gives You a List of All Sheet Names (takes 5 Seconds)

This FORGOTTEN Excel Function Gives You a List of All Sheet Names (takes 5 Seconds)

COUNT or SUM Cells by Color in Excel | Quick Method and VBA Method

COUNT or SUM Cells by Color in Excel | Quick Method and VBA Method

SUM and COUNT by Cell Colour in Excel -- WITHOUT VBA!

SUM and COUNT by Cell Colour in Excel -- WITHOUT VBA!

Эти 5 СЕКРЕТНЫХ функций в Excel НИКТО не использует. Вот, что они делают!

Эти 5 СЕКРЕТНЫХ функций в Excel НИКТО не использует. Вот, что они делают!

Эти ОШИБКИ совершает КАЖДЫЙ новичок в Excel. Избавься от них НАВСЕГДА!

Эти ОШИБКИ совершает КАЖДЫЙ новичок в Excel. Избавься от них НАВСЕГДА!

Ты забудешь слово РАБОТА. ChatGPT + Excel (Эксель + Чат ГПТ)

Ты забудешь слово РАБОТА. ChatGPT + Excel (Эксель + Чат ГПТ)

10 Excel Formula Symbols You Wish You Knew Years Ago

10 Excel Formula Symbols You Wish You Knew Years Ago

Creating Dynamic Monthly Calendar in Excel (Interactive Calendar)

Creating Dynamic Monthly Calendar in Excel (Interactive Calendar)

Урок 4. Формулы Excel для начинающих

Урок 4. Формулы Excel для начинающих

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]