In Excel it is quite common to test a cell for either a zero or a blank. If either of these two entries are found then you do a particular calculation. There is an easy way to handle this.
Tag Archives: array
How to Handle a Formatted Table Limitation
Choose from simple or advanced
Formatted Tables are great but there is an issue when it comes to copying formula that use the table names (Structured References). There are two techniques that cope with this limitation.
TRANSPOSE Function in Excel
Plus a trick to avoid zeroes displaying
The TRANSPOSE function is one of only a few functions that must be entered as an the array using keyboard entry Ctrl + Shift + Enter (CSE). It allows you to switch a range from going across the sheet, to go down the sheet and vice versa.
Summing every second row
No array formula required
Let’s say you have a list of values that has a set sequence. In the list which starts in row 2 you want to add up every second entry. So you want to add up the entries in row 3, row 5, row 7 etc going down the sheet. The SUMPRODUCT function to the rescue yet again.
Counting Characters in Excel
Another useful SUMPRODUCT technique
If you need to know how many characters are in a cell then use the LEN function. What if you wanted to know how many characters were in a range?
Stop rows being inserted or deleted in Excel
An array trick
If you have a range in Excel where you don’t want someone to insert or delete rows you can protect the sheet to stop them. If you can’t or don’t want to protect the sheet then there is a technique you can apply to stop rows being inserted and deleted.