Wanting to transfer associated data from one sheet to another, with rows dependant on a cell value

HAREA93

New Member
Joined
Mar 10, 2022
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
EXAMPLE.xlsx
ABCDEFGHIJKL
1
2MONDAYTUESDAY
34/11/164/12/16
4NUMBER REQUIREDStartFinishItemTotalNUMBER REQUIREDStartFinishItemTotal
5POSITIONTYPETimeTimeHoursHoursTimeTimeHoursHours
6
7POSITION AX112:0013:001.001.00212:0013:001.002.00
8POSITION BX312:0015:003.009.00112:0015:003.003.00
9POSITION AY213:0016:003.006.00113:0016:003.003.00
10POSITION CY114:0019:005.005.00314:0019:005.0015.00
11POSITION DX111:0014:003.003.00111:0014:003.003.00
12POSITION DZ212:0014:002.004.00  
13POSITION EX112:3016:003.503.50212:3016:003.507.00
14
15TOTAL NUMBER1110
week 1
Cell Formulas
RangeFormula
H3H3=C3+1
F7:F13,K7:K13F7=IF(E7<D7,HOUR(E7)-HOUR(D7)+24,HOUR(E7)-HOUR(D7))+(MINUTE(E7)-MINUTE(D7))/60
G7:G13,L7:L13G7=SUM(C7*F7)
C15,H15C15=SUBTOTAL(9,C7:C13)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H7:H13Cell Value>=1textYES
C7:C13Cell Value>=1textYES
Cells with Data Validation
CellAllowCriteria
F7:F13Any value
K7:K13Any value


EXAMPLE.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
1
2
3DATEMANUAL INPUTORDERMANUAL INPUTPOSITIONTYPESTARTFINISHMANUAL INPUTMANUAL INPUTDATEMANUAL INPUTORDERMANUAL INPUTPOSITIONTYPESTARTFINISHMANUAL INPUTMANUAL INPUT
414/11/161POSITION AX12:0013:00
524/11/162POSITION BX12:0015:00
634/11/163POSITION BX12:0015:00
744/11/164POSITION BX12:0015:00
854/11/165POSITION AY13:0016:00
964/11/166POSITION AY13:0016:00
1074/11/167POSITION CY14:0019:00
1184/11/168POSITION DX11:0014:00
1294/11/169POSITION DZ12:0014:00
13104/11/1610POSITION DZ12:0014:00
14114/11/1611POSITION EX12:3016:00
15124/12/1612POSITION AX12:0013:00
16134/12/1613POSITION AX12:0013:00
17144/12/1614POSITION BX12:0015:00
18154/12/1615POSITION AY13:0016:00
19164/12/1616POSITION CY14:0019:00
20174/12/1617POSITION CY14:0019:00
21184/12/1618POSITION CY14:0019:00
22194/12/1619POSITION DX11:0014:00
23204/12/1620POSITION EX12:3016:00
24214/12/1621POSITION EX12:3016:00
25
26
27THIS IS WHAT I AM TRYING TO FORUMLATETHIS IS WHAT SHOULD OUTPUT
28
29DATE, POSITION, TYPE, START, AND FINSH; DRAWN FROM SHEET 1
30
31AMOUNT OF ROWS PER POSITION IS DEPENDANT UPON 'NUMBER REQUIRED' COLUMN ON SHEET 1
32
Sheet1
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Not sure if can be formula or if code required? Help please!!
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

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