Stop a cell from displaying and printing

You can use a Custom number format to stop a cell or range from displaying and printing. Select the cell or range Press Ctrl + 1 Use the 1 on the keyboard not the numeric keypad. In the Number tab click the Custom option (bottom left-hand side) In the Type box enter ;;; Click OK This doesn't stop the contents of the cell from displaying in the Formula bar.

Continue ReadingStop a cell from displaying and printing

Counting text in a range

To find out how many cells contain a text string in a range you can use the COUNTIF function and an Excel wildcard character. To see how many cells contain abc in column A you could use =COUNTIF(A:A,"*abc*") This will count abc no matter where it appears in the text eg 123abc, abc123 and 123abc123 will all be counted. It is only counted once per cell. The * is the wildcard character.

Continue ReadingCounting text in a range

Convert date to its Financial Year End Date

To convert a date to its financial year end date you can use the following formula, assuming the date is in cell A1. =DATE(YEAR(A1)+(MONTH(A1)>6),6,30) The (MONTH(A1)>6) part returns TRUE when the month number of the date is above 6. In Excel TRUE = 1, hence 1 is added to the year of the date. If the month number is 6 or less it returns FALSE and in Excel FALSE = 0, so the year is left unchanged. A shorter formula…

Continue ReadingConvert date to its Financial Year End Date

ABS Function

To confirm that two values are within 1 of each other you can use the ABS function. =ABS(A1-B1)<=1 Will display TRUE if the values in the cells are within one of each other. It will display FALSE if their difference is more than one. 1 is used as it is a common balancing check for rounded numbers.

Continue ReadingABS Function

End of content

No more pages to load