Маълум бир рангдаги ячейкалар суммасини аниқлаш формуласи.
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 таркибида афсуски бу формула мавжуд эмас, лекин уни макрослар ёрдамида яратиб олишимиз мумкин. Бунинг учун:
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
The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.
Telegram Gives Up On Crypto Blockchain Project
Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”