1. ### Welcome to Chandoo.org Forums. Short message for you

Hi Guest,

Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

Yours,
Chandoo
2. Hi All

Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

Post Spam and you Will Be Deleted as a User

Hui...

3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

# Count cells between first and last data input in a row

Discussion in 'Ask an Excel Question' started by raiyanimv, Jan 11, 2017.

1. ### raiyanimvNew Member

Messages:
18
Hi everyone,

I am trying to count the number of cells between 1st data point to last data point. There are few blank months in between which also needs to be counted. I have attached dummy file for reference. Help please....

Thanks

File size:
9.4 KB
Views:
3
2. ### NebuExcel Ninja

Messages:
2,030
Hi:

Use the following formula

=IFERROR(AGGREGATE(14,6,(\$E4:\$XFD4/\$E4:\$XFD4)*COLUMN(\$E\$5:\$XFD\$100),1)-AGGREGATE(15,6,(\$E4:\$XFD4/\$E4:\$XFD4)*COLUMN(\$E\$5:\$XFD\$100),1)+1,0)

Thanks

#### Attached Files:

• ###### Cell Counts.xlsx
File size:
10.5 KB
Views:
6
Thomas Kuriakose and raiyanimv like this.
3. ### bosco_yipWell-Known Member

Messages:
1,158
Maybe,

Enter formula and copy down :

=MATCH(9^9,4:4)-4

Regards
Bosco

#### Attached Files:

• ###### Cell Counts.xlsx
File size:
10 KB
Views:
5
Thomas Kuriakose and raiyanimv like this.
4. ### raiyanimvNew Member

Messages:
18
Thank you Nebu... Much appreciated
5. ### raiyanimvNew Member

Messages:
18

Thank you Bosco... Much appreciated..