Excel Count of Consecutive Data

Joined
Jun 12, 2017
Messages
1
Reaction score
0
Hi!!

I am trying to find a formula to use to count how many times a consecutive data figure appears to try and see if I can establish a trend within the data. My data looks like this:

upload_2017-6-12_16-45-54.png


As you can see 2000 is there for 2012, 2013 and 2014 so my expected result would be 3. I also do not want to count any blank cells as part of this formula is they are irrelevant in the data. I have about 700 rows of information like this and it would be much easier to have a formula for this trend.

In the below data there are no consecutive numbers (even though 1000 is there twice, it didn't occur 2 years in a row), so I would expect the result to be 0.

upload_2017-6-12_16-47-20.png


Are you able to help me at all please?

Thanks
Tania
 

Attachments

  • upload_2017-6-12_16-44-17.png
    upload_2017-6-12_16-44-17.png
    3 KB · Views: 104

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top