• 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...

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

Can we predict what the next set of numbers will be in the next row up

I am trying to find out if there is a way to predict what the net set of numbers would be in AX2:BA51

AX:BA51 get there numbers from the numbers in W2:Z51. I left all the formulas in the cells for you to see how the math is performed. I a curious if there is a way to tell for example in AX6:BA6 (1256) that we can predict it will change to what is in AX5:BA5 (2361).

Basically why does it change from 1256 to 2361, why does the 4th digit in 1256 go to 2361

I am having a hard time wrapping my brain around this one. Thanks




http://www.mediafire.com/download/ai728xp98d5854x/Example.xlsx
 
Last edited:
Hi Larry ,

I am uploading your file here for the benefit of others who may not be able to access public file-sharing websites from their place of work.

Narayan
 

Attachments

  • Example (6).xlsx
    99.9 KB · Views: 3
Hi Larry ,

Let us start from the formulae in columns AX , AY , AZ and BA.

These are dependent on the cells in columns W , X , Y and Z. Let us take just one column , and work our way through the dependencies.

If we take the cells in column W , the formula is dependent on column BI. BI is not just dependent on BD , but is identical to it , which means we can ignore the cells BI , BJ , BK and BL , and concentrate instead on the columns BD , BE , BF and BG.

The formula in column BD is dependent on column C , which in turn is dependent on column K.

Columns K , L , M and N consist of either blanks or 1s ; these are dependent on a formula which involves an external workbook ; since the path of the workbook is also included in the formula at present , understanding the formula is a bother ; even after the pathname of the workbook is removed , the formula is a monster one , and it is very unlikely that I can make any sense of it.

Also given the little data , I doubt that I can find any pattern in the 1s and blanks. Probably if we had a file with a thousand rows of data , and if the pattern repeats , it might be possible.

What is clear is the following :

As long as there are blanks in column K , column C will repeat its earlier digit ; thus if we start with the digit 0 , since the cell K51 is blank , C51 is 0.

When the cell in column K changes to 1 , the cell in column C increments to 1 ; as long as column K remains blank , column C will remain at 1 ; as and when column K changes to 1 , column C increments to 2.

This pattern of incrementing column C each time column K has a 1 in it continues for ever.

Column BD reflects column C as long as column C is in single digits ; the moment column C changes to a 2 digit number , column B will be the sum of these two digits reduced to a single digit ; thus a 10 in column C becomes a 1 in column BD ; a 17 in column C becomes a 8 in column BD ; possibly a 57 in column C will become a 3 in column BD ( 5 + 7 = 12 , 1 + 2 = 3 ).

Thus the value in column BD will remain the same as long as the value in column K is a blank ; when there is a 1 in column K , the value in column BD will increment ; however , each time the value was 9 and incremented , it becomes 1.

The value in column W reflects the value in column BD exactly.

I do not know why 3 sets of columns have been used , when they mirror each other :

W , X , Y and Z are the same as BI , BJ , BK and BL , and these in turn are identical to BD ,BE , BF and BG.

Anyway , let us start with the first row of data in columns AX , AY , AZ and BA ; these are all 1 to start with.

When a value remains the same in column C ( i.e. when the value in column K is a blank ) , the value in column AX increments ; when ever a value changes in column C ( i.e. when a value in column K is 1 ) , the value in column AX remains the same.

The values in columns K , L , M and N can have only a single 1 in one row i.e. 2 cells in the same row in these 4 columns can never be 1.

This means that in every row in columns C , D , E and F , only one cell can change.

Therefore , in every row in columns AX , AY , AZ and BA , all 4 cells will change ; of these 4 , 3 cells will increment , while the 4th cell will reset to 1.

The column which resets will be the column which changes in the 4 columns C , D , E and F.

For example , if column C changes , column AX will reset to 1 , while columns AY , AZ and BA will increment.

If column D changes , column AY will reset to 1 , while columns AX , AZ and BA will increment.

If column E changes , column AZ will reset to 1 , while columns AX , AY and BA will increment.

If column F changes , column BA will reset to 1 , while columns AX , AY and AZ will increment.

Narayan
 
Thank you Narayan, I do understand the flow as you explain and know where the external sheets cone into play. The increments of 1 I can follow. It's when say a 6 in BA6 goes to a 1 in BA5 I'm trying to understand. Increments of 1 make sense but more than 1 I'm lost.

I REALLY appreciate your time and expertise. Thank you again
 
Back
Top