↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Month: July 2017

Home › 2017 › July
Excel VBA – Search and highlight text
VBA \ Excel

Excel VBA – Search and highlight text

Vitosh Jul 29, 2017 Tagged with Excel, search and highlight, substring search, VBA

Sometimes we have an excel file, where we want to highlight anything, matching a given cell. Without using the search & highlight option, if possible. Like this: Thus, in this case, whenever something in range A1 is written, the values …

Excel VBA – Search and highlight text Read more →

C# – CodeForces – Keyboard Layouts
C Sharp Tricks

C# – CodeForces – Keyboard Layouts

Vitosh Jul 23, 2017 Tagged with C#, codeforces

CodeForces.com is the web site, which shows problems for competitive programmers. Today I have decided to take a look at the 2. problem of the 2. division of Round 424 –Keyboard Layouts. The problem is pretty simple to explain for …

C# – CodeForces – Keyboard Layouts Read more →

Excel VBA – Activity Selection Algorithm
VBA \ Excel

Excel VBA – Activity Selection Algorithm

Vitosh Jul 17, 2017 Tagged with algorithm, Excel, greedy, VBA

Wikipedia says that the activity selection problem is a combinatorial optimization problem concerning the selection of non-conflicting activities to perform within a given time frame, given a set of activities each marked by a start time (si) and finish time (fi). The problem is to select the maximum …

Excel VBA – Activity Selection Algorithm Read more →

C# – CodeForces – A. Mister B and Book Reading
C Sharp Tricks, CodeForces

C# – CodeForces – A. Mister B and Book Reading

Vitosh Jul 17, 2017 Tagged with C#, codefoces

Codeforces has easy and tough questions. However, the easy are not always easy, but the tough are always tough. Thus, after writing the Excel article here for Sumproduct, I have decided to go a bit easy and start with the …

C# – CodeForces – A. Mister B and Book Reading Read more →

C# – CodeForces – Okabe And Boxes
C Sharp Tricks, CodeForces

C# – CodeForces – Okabe And Boxes

Vitosh Jul 16, 2017 Tagged with C#, Stack

CodeForces has people working 24/7, trying to come up with interesting problems for the IT community. Thus, it’s always challenging to take a look at these problems and to try to solve them. The latest problem I have faced was one …

C# – CodeForces – Okabe And Boxes Read more →

Excel – Use Sumproduct() instead of Sumifs() or Countifs()
VBA \ Excel

Excel – Use Sumproduct() instead of Sumifs() or Countifs()

Vitosh Jul 15, 2017 Tagged with closed workbook, Countif, Excel, Sumif, Sumifs, Sumproduct

Sumifs() and Countifs() are formulas in Excel, that sum or count a range with multiple conditions. Unfortunately, these formulas do not work, when you want to refer to a closed workbook. That’s where the magic of the Sumproduct() formula comes. …

Excel – Use Sumproduct() instead of Sumifs() or Countifs() Read more →

Excel VBA – NetworkDays Formula
VBA \ Excel

Excel VBA – NetworkDays Formula

Vitosh Jul 14, 2017 Tagged with Excel, NetworkDays, VBA

In Excel, there are plenty of ways to calculate the differences between days. However, the NetworkDays Formula includes weekends and may include the holidays, which would be different for each country/province. Thus, it is useful! Here is how to use …

Excel VBA – NetworkDays Formula Read more →

News – Book Review – BI Tools for Small Companies – Coming Soon
News, Review

News – Book Review – BI Tools for Small Companies – Coming Soon

Vitosh Jul 13, 2017 Tagged with Book Review, Business Intelligence Tools

Business Intelligence is really a thing in the small companies – usually they do not want to invest a lot into software and consultancy, thus a regular controller or a developer can become the company’s champion easily. 🙂 As far …

News – Book Review – BI Tools for Small Companies – Coming Soon Read more →

C# – CodeForces – Okabe and Banana Trees
C Sharp Tricks, CodeForces

C# – CodeForces – Okabe and Banana Trees

Vitosh Jul 11, 2017 Tagged with C#, codeforces, linear equations

It does not happen a lot, but this time the 2. problem  of CodeForces really made me rethink my life choices and made me feel a bit sorry that I was in a school where we studied Maths about 4 hours …

C# – CodeForces – Okabe and Banana Trees Read more →

C# – CodeForces – Okabe and Future Gadget Laboratory
C Sharp Tricks

C# – CodeForces – Okabe and Future Gadget Laboratory

Vitosh Jul 10, 2017 Tagged with algorithm, C#, simple

CodeForces is a nice website for anyone, who likes checking himself vs the top developers worldwide. It’s even separated into divisions, thus, they kindly provide 3 easy questions and 5 hard. Although, I do not know anyone who can call …

C# – CodeForces – Okabe and Future Gadget Laboratory Read more →

Copyright © 2026 VitoshAcademy