Telegram Group & Telegram Channel
This media is not supported in your browser
VIEW IN TELEGRAM
Маълум бир рангдаги ячейкалар суммасини аниқлаш формуласи.

Excel
таркибида афсуски бу формула мавжуд эмас, лекин уни макрослар ёрдамида яратиб олишимиз мумкин. Бунинг учун:

1️⃣ Янги файлни xlsm форматида сақлаб олинг.
2️⃣ Alt + F11 бирикмасини босиб янги Модуль яратинг.
3️⃣ Қуйида кўрсатилган кодни кўчириб олиб модульни сақланг.
4️⃣ Формулани ишлатиш учун иккита критерий белгиланг: диапазон ва рангли ячейка.
5️⃣ Формула ҳисоблаши учун F9 клавишасини ишлатинг.

Public Function SummaRang(DataRange As Range, ColorSample As Range) As Double
Dim Sum As Double
Application.Volatile True

For Each cell In DataRange
If cell.Interior.Color = ColorSample.Interior.Color Then
Sum = Sum + cell.Value
End If
Next cell
SummaRang = Sum
End Function


Excel Hacks видеокурси | 1C видеокурси
👍201🔥1😁1



tg-me.com/excel_hacks/641
Create:
Last Update:

Маълум бир рангдаги ячейкалар суммасини аниқлаш формуласи.

Excel
таркибида афсуски бу формула мавжуд эмас, лекин уни макрослар ёрдамида яратиб олишимиз мумкин. Бунинг учун:

1️⃣ Янги файлни xlsm форматида сақлаб олинг.
2️⃣ Alt + F11 бирикмасини босиб янги Модуль яратинг.
3️⃣ Қуйида кўрсатилган кодни кўчириб олиб модульни сақланг.
4️⃣ Формулани ишлатиш учун иккита критерий белгиланг: диапазон ва рангли ячейка.
5️⃣ Формула ҳисоблаши учун F9 клавишасини ишлатинг.

Public Function SummaRang(DataRange As Range, ColorSample As Range) As Double
Dim Sum As Double
Application.Volatile True

For Each cell In DataRange
If cell.Interior.Color = ColorSample.Interior.Color Then
Sum = Sum + cell.Value
End If
Next cell
SummaRang = Sum
End Function


Excel Hacks видеокурси | 1C видеокурси

BY Excel Hacks


Share with your friend now:
tg-me.com/excel_hacks/641

View MORE
Open in Telegram


Excel Hacks Telegram | DID YOU KNOW?

Date: |

What is Telegram?

Telegram’s stand out feature is its encryption scheme that keeps messages and media secure in transit. The scheme is known as MTProto and is based on 256-bit AES encryption, RSA encryption, and Diffie-Hellman key exchange. The result of this complicated and technical-sounding jargon? A messaging service that claims to keep your data safe.Why do we say claims? When dealing with security, you always want to leave room for scrutiny, and a few cryptography experts have criticized the system. Overall, any level of encryption is better than none, but a level of discretion should always be observed with any online connected system, even Telegram.

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Excel Hacks from ru


Telegram Excel Hacks
FROM USA