Adding rows based on Criteria and populating with the data ?

Korallis

New Member
Joined
Sep 11, 2018
Messages
5
Hi guys
Im completely confused and have no idea how to resolve my issue.

I have a workbook with 50 tabs.
I have a macro to join all tabs into a single output file,
this contains start and end times.
I have a breakdown of hours formula that I use so a 12 hour shift is broken down into the correct billing hours.

what I need is for the sheet to insert a row and populate it using the broken down hours.

so 11 hour night shift
this would break down into 2.5 Hours Day and 8.5 hours night.

so the output would need to be
Day 2.5 hours
Night 8 hours.

I have attached a sample file so you can understand better

https://icare24-my.sharepoint.com/:...ZLhw4tx2iAiakBgoy1wmg2JjH-KVhK4I5sqQ?e=X5NcsH
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

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