L
Legacy 287389
Guest
Hi good people!,
Please help me with either a formula or vba, whichever you reckon will work best.
I have in cell A2 a number, lets say 10101. There are multiple numbers of the same value going down in column A, so lets say we have 55 "10101" numbers, then the number changes to the next number which will be 10102, and again there are lets say 36 of them, and then again a new number, 10103, and also a couple of those. These blocks of numbers could be up to 25 blocks, no more. in columns B and C next to these numbers are other info. What I would like is the following:
If I typed 10101 in cell G1, I would like the whole 10101 block to kind of cut out of the original position, and appear in columns G to I, starting at row 2 and populating downwards. All info in columns A to C which are underneath the created gap, must now shift up.
if I typed 10102 into cell G1, the 10101 block in columns G to I, must first be inserted back into it's original position in columns A to C, and the 10102 block of data must then appear in columns G to I, with 10103 block of data, then moving up to fill the gap.
Any and all help will be accepted with the utmost of respect and appreciation for your time. Thank you very much!
Please help me with either a formula or vba, whichever you reckon will work best.
I have in cell A2 a number, lets say 10101. There are multiple numbers of the same value going down in column A, so lets say we have 55 "10101" numbers, then the number changes to the next number which will be 10102, and again there are lets say 36 of them, and then again a new number, 10103, and also a couple of those. These blocks of numbers could be up to 25 blocks, no more. in columns B and C next to these numbers are other info. What I would like is the following:
If I typed 10101 in cell G1, I would like the whole 10101 block to kind of cut out of the original position, and appear in columns G to I, starting at row 2 and populating downwards. All info in columns A to C which are underneath the created gap, must now shift up.
if I typed 10102 into cell G1, the 10101 block in columns G to I, must first be inserted back into it's original position in columns A to C, and the 10102 block of data must then appear in columns G to I, with 10103 block of data, then moving up to fill the gap.
Any and all help will be accepted with the utmost of respect and appreciation for your time. Thank you very much!