Returning Intersecting Values

d_parker

New Member
Joined
Sep 9, 2014
Messages
2
We are keeping a time sheet for our employees in the following format

[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Customer1[/TD]
[TD]Customer2[/TD]
[TD]Customer3[/TD]
[/TR]
[TR]
[TD]9/1/14[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9/2/14
[/TD]
[TD][/TD]
[TD].5[/TD]
[TD].5[/TD]
[/TR]
[TR]
[TD]9/3/14[/TD]
[TD].75[/TD]
[TD].25[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]








Even though it's a breeze for employees to track their time, the business office finds this format hard to read - I'd like to create a second sheet pulling data from the first that auto-fills in the following format

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date[/TD]
[TD]Customer[/TD]
[TD]% Day Worked[/TD]
[TD]Customer[/TD]
[TD]% Day worked[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]9/1/14[/TD]
[TD]Customer1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]9/2/14[/TD]
[TD]Customer2[/TD]
[TD].5[/TD]
[TD]Customer3[/TD]
[TD].5[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]9/3/14[/TD]
[TD]Customer1[/TD]
[TD] .75[/TD]
[TD]Customer2[/TD]
[TD].25[/TD]
[/TR]
</tbody>[/TABLE]

I'm having difficulty with all the statements to avoid printing empty cells but still pulling populated intersecting data into B2:E4
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
May I suggest something different?

Ask you employees to complete the timesheet but use the following format.

Date ¦ Customer ¦ Time


Excel 2010
ABC
1DateCustomerTime
201/09/2014Customer11
302/09/2014Customer20.5
402/09/2014Customer30.5
503/09/2014Customer10.75
603/09/2014Customer20.25
Sheet1


This would make formatting and reporting on the data very easy.
 
Upvote 0

Forum statistics

Threads
1,222,229
Messages
6,164,738
Members
451,911
Latest member
HMF009

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