Quantcast
Channel: OFFSET – Ashish Mathur's Blog
Browsing latest articles
Browse All 12 View Live

Average a range of numbers with blanks appearing at random intervals

With blanks appearing in a range of numbers, one may want to: 1. Average the first n numbers; and/or 2. Sum the last n numbers (in a horizontal and vertical range) Because of blanks, the range for...

View Article


Sum visible cells of a filtered range ignoring errors

In a multi column database, assume a filter has been applied on some columns.  Post filtering, some error values (such as #DIV/0!, #NA etc.) appear in the one of the numeric columns.   The objective is...

View Article


Shade alternate band of rows in a filtered range

Assume the following numbers in range C5:C22.  Heading is in cell C4. Range C5:C7 - 11 Range C8:C11 - 14 Range C12:C13 - 23 Range C14-C19 - 56 Range C20-C22 - 78 One may want to colour cells for every...

View Article

Count blanks cells in a filtered range

Assume data in range A3:D8 (headings are in A3:D3).  One may apply an auto filter on any column(s).  The task is to count the blank cells in visible rows of range C4:C8 and D4:D8. You may refer to the...

View Article

Compare value of one cell with value of next visible cell of a filtered range

Assume data in range B4:B18 (heading is in cell B3).  To compare the value in the current row with the value in the row below, one may enter the following formula in cell C4 and copy down =B4=B5 True's...

View Article


Valuing Closing Stock using FIFO method of Accounting

Assume a stock purchase sheet which details the daily stock purchase of various Raw material at various per unit prices.  On another sheet, the closing stock of each Raw material type is entered.  In...

View Article

Dynamically extract unique values from a filtered range

Data in a two column database (A3:B13) can be Auto filtered on column A with one or many conditions.  Data in column B will be numbers only (positive, negative or 0's) - no text values. After filtering...

View Article

Summarise data from multiple sheets with multiple conditions – Part II

Assume date wise revenue data has been shown on two sheets - Sports wear and Fitness equipment (Data worksheets).  On each of these two worksheets, there are two columns - Date and Revenue.  On the...

View Article


Prioritise investment liquidation to minimise Capital Gains

Assume a five column dataset with the Fund Name in column A, Market Value in column B, Gain/Loss in column C, Gain/Loss % in column D [column C/column B] and Type of investment in column E (Short term...

View Article


Sum the largest 5 of the last 10 numbers in a row ignoring blanks

Assume a single row of data with numbers and blanks appearing at random intervals.  The objective is to sum the largest 5 of last 10 numbers in that row.  Solving this problem entails multiple steps:...

View Article
Browsing latest articles
Browse All 12 View Live