offset formula question

ariel20029

Board Regular
Joined
Jun 20, 2013
Messages
97
Hi,
I have a data set where the number of rows change when the data is refreshed. I am trying to count the number of rows in the population ( not including blanks)..

I am tired of manually having to update the last cell of the range in the formula every time I refresh. I have dozens of spreadsheets where I have to update formula to get the population.

Data starts on column E25


Column E
5%
8%
(blank)
7%

Right now my formula is =offset(E25:E5000)-1,0)
I entered as an array ( not sure if it needs to be or not)

the minus one is to subtract the total. For some reason I am getting an answer with the count of 1.. can you please help.. I tried an count A formula and that did not work either.


thanks,
Sharon
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
If you just want to count the number of cells with numbers in them:


Book1
DE
1Header
235%
38%
4
57%
6
Sheet5
Cell Formulas
RangeFormula
D2=COUNT(E:E)


Subtract 1 if there's a total line, but I don't see why you'd want to total up percentages.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top