Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-05-2018, 04:48 AM
sfarad sfarad is offline Calculate recurring instances between cell count - using trigger - URGENT HELP Windows 10 Calculate recurring instances between cell count - using trigger - URGENT HELP Office 2013
Novice
Calculate recurring instances between cell count - using trigger - URGENT HELP
 
Join Date: Jul 2018
Posts: 1
sfarad is on a distinguished road
Default Calculate recurring instances between cell count - using trigger - URGENT HELP

Hi guys,

Probably my best shot here to finish successfully my graduation with a study I am doing that I am now TOTALLY STUCK. Please read slowly as I will do my best to explain my needs:

In the Excel attached there are 27008 rows of random numbers from 0-36 (column B).
Each range of numbers is categorized as following:
0 = Color 2 1-6 = Color 3 7-12 = Color 4 13-18 = Color 1 19-24 = Color 5 25-30 = Color 6 31-36 = Color 7

What I need, in the first place, is to count is the number of sequences that only 2 random numbers of the same color appear one after another. Per example: Rows 2-3 4-5 20-24 23-24 etc.....
This is the easy part.
The "trigger" to stop counting would be a sequence where 3 or more numbers of the same color appear one after another. Per example: Rows 134-136.

So in the case that we take a sequence from row 2 to row 136 - the formula would count exactly 17 times that a group of 2 numbers of the same color appeared one after another until a group of 3 numbers of the same color one after another showed up and than the count stops and restarts.

The ultimate question of the study would be: out of 27008 rows, the longest sequence that 2 numbers of the same color appeared one after another until a 3 numbers one after another showed up is............. X


How do I achieve this? Really I have consulted my professors, computer engineers and many others, with 0 SUCCESS.
Please help me. Since I am no Excel programmer feel free to edit my excel and send back.

@@@THANK YOU SO MUCH@@@
Attached Files
File Type: xlsx Cell count.xlsx (454.1 KB, 11 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate recurring instances between cell count - using trigger - URGENT HELP How to trigger a macro on cell *selection* Larry_1 Excel Programming 6 12-24-2017 11:09 AM
Calculate recurring instances between cell count - using trigger - URGENT HELP Cell drop down boxes URGENT otuatail Excel 2 02-26-2015 09:51 AM
Calculate recurring instances between cell count - using trigger - URGENT HELP trying to use vlookup to calculate several different situations in one cell heastlund Excel 3 11-21-2013 12:38 PM
Hyperlink in cell to trigger pop up text box Carpie Excel Programming 0 08-13-2013 10:33 AM
Calculate recurring instances between cell count - using trigger - URGENT HELP A recurring word count macro? bpanda Word VBA 1 06-11-2013 07:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft