michael168
Member
Hi ! sss,
Thank you very much for the VBA module. It's really do a great job saving me a lot of time and prevent a lot of typos.
For your info, if I want to extract the result into a new sheet, how to get it done through VBA.
e.g. In the "Data" sheet , col 9
Pattern
A
B
A
C
C
D
E
A
A
Just use single character "A,B,C,D,E....." for ease of typing.
For col 9, may be have to store as arrays because don't know how many patterns exist.
I hope to have a macro to execute from bottom up taking the last row as counter 1 and display in sheet 2 horizontally. Presently I am using the auto filter feature which I cannot view them all at the same same.
e.g. "Result" sheet
A=2,-4,1,-1,1
B=-7,1,-1
C=-4,2-3
D=-3,1,-5
E=-2,1,-6
I would like to have a input box asking how many rows of data I like to compute from bottom up. In this example I using 9 rows.
Let takes "Result" sheet example and check with "Data" sheet data.
A=2 (row 8+row 9=1+1),skip 4 rows (-1x4=-4),1,-1 (skip 1 row),1 (appear again)
Is this possible? Please kindly advise and help.
Regards,
Michael
Thank you very much for the VBA module. It's really do a great job saving me a lot of time and prevent a lot of typos.
For your info, if I want to extract the result into a new sheet, how to get it done through VBA.
e.g. In the "Data" sheet , col 9
Pattern
A
B
A
C
C
D
E
A
A
Just use single character "A,B,C,D,E....." for ease of typing.
For col 9, may be have to store as arrays because don't know how many patterns exist.
I hope to have a macro to execute from bottom up taking the last row as counter 1 and display in sheet 2 horizontally. Presently I am using the auto filter feature which I cannot view them all at the same same.
e.g. "Result" sheet
A=2,-4,1,-1,1
B=-7,1,-1
C=-4,2-3
D=-3,1,-5
E=-2,1,-6
I would like to have a input box asking how many rows of data I like to compute from bottom up. In this example I using 9 rows.
Let takes "Result" sheet example and check with "Data" sheet data.
A=2 (row 8+row 9=1+1),skip 4 rows (-1x4=-4),1,-1 (skip 1 row),1 (appear again)
Is this possible? Please kindly advise and help.
Regards,
Michael