Row based on the lookup

SAXON10

Board Regular
Joined
Jun 1, 2017
Messages
109
Hi,

Is there a possible way for my requirements? it would much grateful if I get any help.

Row reference based on the lookup and return lookup values according to my conditions

Column B2:J2 contain as a text A,B,C,D & E and corresponding to the code ( B3:B7, C3:C7, D3:D8, E3:E7 & F3:F7)

There shouldn’t be a gap between in Text A & B corresponding to the code.

Text D - corresponding to the code, In between every 8th row I require a Gap.

Text E - corresponding to the code, In between every 5th row I require a Gap.

Text F - corresponding to the code, In between every 3th row I require a Gap.

Please refer condition in A1:F1.



https://www.dropbox.com/s/qbrro277q9ttan0/GAPS.xlsx?dl=0

https://www.dropbox.com/s/1xhbwzbt4qa8omp/GAPS.PNG?dl=0
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try this, copied across and down.

Excel Workbook
ABCDEF
1DATA
2GAP OF ROW00842
3TEXTABCDE
4CODE10106011110
520209078920
630303022530
740407887940
850505060050
921
10REQUIREMENT
11TEXTABCDE
1210106011110
1320206011110
14303060111
1540406011120
1650506020
1760789
186078930
196078930
20789
219040
229022540
2390225
249022550
259022550
2690
2790879
2890879
29879
3030879
3130
3230600
3330600
3430600
3530600
3630
3730
38
3978
Sheet2
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,324
Messages
6,124,250
Members
449,149
Latest member
mwdbActuary

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top