Hi trexo,
You wrote:
"While my data started in D7, the word "Balance" is listed in D6. When I adjust the formula to Offset(D6), Count(D),0 it all works! "
"Did not consider that Numbers would not have differentiated between words and numbers. My excel formula did not require that."
The change you note above has nothing to do with Numbers differentiating (or not) between words and numbers (it does, or more specifically, the COUNT function does, as noted below). The change you not in the first paragraph is due to the way OFFSET works.
OFFSET does what the name implies: It returns the value in a cell whose position is offset a specified number of rows and a specified number of columns from a base cell.
The syntax is: OFFSET(base,row-offset,column-offset)
In your original formula, the base was cell D7, the row-offset is the COUNT of (numerical) data entries in column D, and the column offset is zero.
Suppose that only one data entry had been made (in cell D7). COUNT counts that and returns the result (1) to OFFSET. OFFSET now sees:
OFFSET(D7,1,0) and knows it is to return the value in the cell that is one row below and zero rows to the right of the base, D7. It correctly returns the value (zero) in the empty cell, D8.
When you change the formula to OFFSET(D6,COUNT(D),0) you've made a change to the base, not to the COUNT.
COUNT now counts the single numerical data entry in column D (the one in D7), and OFFSET knows it is to return the value from the cell that is one row below and zero rows to the right of the base, D6. It correctly returns the value in D7, one row below and zero columns to the right of the (new) base, D6.
MORE on COUNT and the 'Excel formula':
COUNT ignores text values and counts only numeric values (including Date and Time values, Durations and numbers formatted as currency, etc.)
You Excel formula was: =index(D:D, Match(9.9999999999999E+307,D:D))
This formula does not use COUNT.
It 'ignores' text values only to the extent that it assigns them a numeric value of zero.
MATCH, given no parameter to specify what type of match to attempt, returns the position in a list of the closest match it can find for the search value (9.9999999999999E+307). "Closest match" here means 'the largest value equal to or smaller than' the search value.
If the list of values in column D is ordered so that the last value is also the largest value (less than or equal to the search value), the formula will return the last value in the list. (see column D, below).
If the list is ordered in any manner that places the largest value (less than or equal to the search value), then the formula will NOT return the last value in the list. It will return the largest value (less than or equal to the search value). (see column C, below).
Since the search value in the formula is essentially 10^308 (in standard notation, 1 followed by 308 zeros), it's fairly safe to say the formula will return the largest value in the list.
Col D formula shown at top of image.
Col C formula is the same, with C substituted for D in both places.
Regards,
Barry