collecting information from other sheets only when fields have been completed?

molten

New Member
Joined
Sep 4, 2009
Messages
15
I have a time record spreadsheet that consists of:

  • 12 work books with time record information of the 12 employees AND each employee can also complete some fields (see below) in case they need additional help and so on. In Cell B1 is the name of the employee:
Emp. 1.


<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 61px"><COL style="WIDTH: 187px"><COL style="WIDTH: 89px"><COL style="WIDTH: 50px"><COL style="WIDTH: 56px"><COL style="WIDTH: 55px"><COL style="WIDTH: 51px"><COL style="WIDTH: 23px"><COL style="WIDTH: 64px"><COL style="WIDTH: 187px"><COL style="WIDTH: 84px"><COL style="WIDTH: 49px"><COL style="WIDTH: 54px"><COL style="WIDTH: 67px"><COL style="WIDTH: 47px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD></TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD><TD>F</TD><TD>G</TD><TD>H</TD><TD>I</TD><TD>J</TD><TD>K</TD><TD>L</TD><TD>M</TD><TD>N</TD><TD>O</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">39</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #c0c0c0; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold">Self evaluation/Comments:</TD><TD style="BACKGROUND-COLOR: #c0c0c0; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold"></TD><TD style="BACKGROUND-COLOR: #c0c0c0; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold" colSpan=5></TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold"></TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #c0c0c0; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold">Further planning:</TD><TD style="BACKGROUND-COLOR: #c0c0c0; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold"></TD><TD style="BACKGROUND-COLOR: #c0c0c0; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold" colSpan=5></TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">40</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=2>1. Completed plan activities & results:</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=5>completed Phase II report</TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold"></TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=2>1. Activities to complete within next 2 weeks</TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=5></TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">41</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=2>2. Pending activities:</TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=5></TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold"></TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=2>2. Activities to complete within next 4 weeks</TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=5></TD></TR><TR style="HEIGHT: 33px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">42</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold">Urgent matters and support needs:</TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold"></TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=5></TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt; FONT-WEIGHT: bold"></TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt">3. Further planning</TD><TD style="FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt"></TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Times New Roman; FONT-SIZE: 9pt" colSpan=5>Prepare presentation for workshop</TD></TR></TBODY></TABLE>
  • Furthermore there is 1 overview work book that consolidates the information found in the 12 employee work sheets.
However, I have some difficulty collecting the data from with cells above. The reason is that not everyone completes the all fields (or sometimes none at all). Therefore, I would only want to display those fields that have been completed + the name of the employee from cell B1, like this:

Overview


<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 238px"><COL style="WIDTH: 252px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD></TD><TD>H</TD><TD>I</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD style="FONT-STYLE: italic; FONT-FAMILY: Arial; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Plan</TD><TD></TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Name</TD><TD style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">emp. 1</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">1. Completed plan activities & results:</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Arial; FONT-SIZE: 10pt">completed Phase II report</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Arial; FONT-SIZE: 10pt">3. Further planning</TD><TD style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Prepare presentation for workshop</TD></TR></TBODY></TABLE>

This means that all other fields (such as urgent matters..." would be ignored in this case.

How can I do this?

I use Windows Vista, Office 2007 (but with the xls file format)
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,215,205
Messages
6,123,634
Members
449,109
Latest member
Sebas8956

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