martinofyre
New Member
- Joined
- Dec 16, 2008
- Messages
- 28
The data:
<tbody>
</tbody>
<tbody>
[TD="class: xl72, width: 61"]A[/TD]
[TD="class: xl72, width: 61"]B[/TD]
[TD="class: xl72, width: 61"]C[/TD]
[TD="class: xl72, width: 61"]D[/TD]
[TD="class: xl72, width: 61"]E[/TD]
[TD="class: xl72, width: 61"]F[/TD]
[TD="class: xl73, align: right"]1[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl73, align: right"]2[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl73, align: right"]3[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl76, width: 61"]05/01/2018[/TD]
[TD="class: xl76, width: 61"]12/01/2018[/TD]
[TD="class: xl76, width: 61"]19/01/2018[/TD]
[TD="class: xl76, width: 61"]26/01/2018[/TD]
[TD="class: xl76, width: 61"]02/02/2018[/TD]
[TD="class: xl73, align: right"]4[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl74, width: 61"]1[/TD]
[TD="class: xl74, width: 61"]2[/TD]
[TD="class: xl74, width: 61"]3[/TD]
[TD="class: xl74, width: 61"]4[/TD]
[TD="class: xl74, width: 61"]5[/TD]
</tbody>
The requirement:
If A2,A3,A4 = A1 then insert rows 2,3,4 starting column B into rows 6,7,8 starting column B
This needs to be done across many years so looking for an HLOOKUP or INDEX and MATCH to achieve this.
No VBA solutions please if possible.
Thanks for any help.
<tbody>
</tbody>
<tbody>
[TD="class: xl72, width: 61"]A[/TD]
[TD="class: xl72, width: 61"]B[/TD]
[TD="class: xl72, width: 61"]C[/TD]
[TD="class: xl72, width: 61"]D[/TD]
[TD="class: xl72, width: 61"]E[/TD]
[TD="class: xl72, width: 61"]F[/TD]
[TD="class: xl73, align: right"]1[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl75, width: 61"][/TD]
[TD="class: xl73, align: right"]2[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl75, width: 61"]JAN[/TD]
[TD="class: xl73, align: right"]3[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl76, width: 61"]05/01/2018[/TD]
[TD="class: xl76, width: 61"]12/01/2018[/TD]
[TD="class: xl76, width: 61"]19/01/2018[/TD]
[TD="class: xl76, width: 61"]26/01/2018[/TD]
[TD="class: xl76, width: 61"]02/02/2018[/TD]
[TD="class: xl73, align: right"]4[/TD]
[TD="class: xl74, width: 61"]2018[/TD]
[TD="class: xl74, width: 61"]1[/TD]
[TD="class: xl74, width: 61"]2[/TD]
[TD="class: xl74, width: 61"]3[/TD]
[TD="class: xl74, width: 61"]4[/TD]
[TD="class: xl74, width: 61"]5[/TD]
</tbody>
The requirement:
If A2,A3,A4 = A1 then insert rows 2,3,4 starting column B into rows 6,7,8 starting column B
This needs to be done across many years so looking for an HLOOKUP or INDEX and MATCH to achieve this.
No VBA solutions please if possible.
Thanks for any help.
Last edited: