Book3 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
7 | ||||||
8 | 1 | Dyn1 | =Sheet5!$A$8:INDEX(Sheet5!$A:$A,MATCH(9.99999999999999E+307,Sheet5!$A:$A)) | |||
9 | 2 | |||||
10 | 3 | Dyn2 | =OFFSET(Sheet5!$A$8,0,0,MATCH(9.99999999999999E+307,Sheet5!$A$8:$A$65536)) | |||
11 | 4 | |||||
12 | ||||||
13 | ||||||
14 | 7 | |||||
15 | 9 | |||||
16 | 8 | |||||
17 | ||||||
Sheet5 |
Oaktree said:What happens if your data is
50
text
100
Your range would only include the "50" and the "text", as it would only offset by 2 (counting the 50 and the 100).
Maybe =OFFSET(Blank!$A$8,0,0,COUNTa(Blank!$A:$A)) is better?
chewitt said:Wow! I have been a developer for 7 years and have had to start using Excel due to a downturn in the economy. I have never had so many people respond to a post so quickly! My thanks to you all.
All of the data will be contiguous and will be numeric. Data above will be text and will be ignored, thus the starting point $A$8.
Here is a better way of asking the question:
Is there a better way to represent the COUNTIF() considering it includes the entire column?
It "feels" un-natural to do a numeric comparison with text.