Excel 2013 Windows 10 Surface Pro 3
I am creating a training database where each employee has a training sheet and then I have a summary sheet that looks at each individual sheet, determines if the training is past due, and returns the name of the necessary training course.
Example Training Sheet:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]Training Course[/TD]
[TD]Frequency (yrs)[/TD]
[TD]Training Date[/TD]
[TD]Training Due Date[/TD]
[/TR]
[TR]
[TD]First Aid[/TD]
[TD]1[/TD]
[TD]1/1/2015[/TD]
[TD]1/1/2016[/TD]
[/TR]
[TR]
[TD]Electrical Safety[/TD]
[TD]1[/TD]
[TD]1/1/2015[/TD]
[TD]1/1/2016[/TD]
[/TR]
[TR]
[TD]House Keeping[/TD]
[TD]1[/TD]
[TD]1/1/2015[/TD]
[TD]1/1/2016[/TD]
[/TR]
[TR]
[TD]Demonstrated experience[/TD]
[TD]One Time[/TD]
[TD]1/1/2015[/TD]
[TD]---[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 661"]
<tbody>[TR]
[TD]I have the training due date set to auto calculate and use conditional formatting to alert me of past due, upcoming in 30 days and upcoming in 90 days. <now()cell value="" <now()+30
<now()=60
However, as the number of employees grows it is too difficult to look at each individual page each month. Therefore, I want a summary sheet.
Summary Sheet:
I found a formula on a previous post that can be used to return the value I want and allows for multiple results. Cell G8 referenced below is where my formula resides on the sheet.
=IF(COUNTIF($D$5:$D$120,NOW()) <=ROWS($G$8:G8), INDEX($A$5:$A$120,SMALL(IF($D$5:$D$120<=NOW(),
ROW($D$5:$D$120)-ROW($D$5)+1),ROWS($G$8:G8))),"")</now()=60
</now()cell>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My issue is that in the rows where column D is blank, the formula still returns the text written in column A. I tried changing the beginning of my formula to include IF($D$5:$D$120="","",(COUNTIF... however that does not change anything. I believe the issue lies in the COUNTIF statement.
Specific question: How can I use the above formula while ignoring blank cells in column D? Help on this will be greatly appreciated!!!
I am creating a training database where each employee has a training sheet and then I have a summary sheet that looks at each individual sheet, determines if the training is past due, and returns the name of the necessary training course.
Example Training Sheet:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]Training Course[/TD]
[TD]Frequency (yrs)[/TD]
[TD]Training Date[/TD]
[TD]Training Due Date[/TD]
[/TR]
[TR]
[TD]First Aid[/TD]
[TD]1[/TD]
[TD]1/1/2015[/TD]
[TD]1/1/2016[/TD]
[/TR]
[TR]
[TD]Electrical Safety[/TD]
[TD]1[/TD]
[TD]1/1/2015[/TD]
[TD]1/1/2016[/TD]
[/TR]
[TR]
[TD]House Keeping[/TD]
[TD]1[/TD]
[TD]1/1/2015[/TD]
[TD]1/1/2016[/TD]
[/TR]
[TR]
[TD]Demonstrated experience[/TD]
[TD]One Time[/TD]
[TD]1/1/2015[/TD]
[TD]---[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 661"]
<tbody>[TR]
[TD]I have the training due date set to auto calculate and use conditional formatting to alert me of past due, upcoming in 30 days and upcoming in 90 days. <now()cell value="" <now()+30
<now()=60
However, as the number of employees grows it is too difficult to look at each individual page each month. Therefore, I want a summary sheet.
Summary Sheet:
I found a formula on a previous post that can be used to return the value I want and allows for multiple results. Cell G8 referenced below is where my formula resides on the sheet.
=IF(COUNTIF($D$5:$D$120,NOW()) <=ROWS($G$8:G8), INDEX($A$5:$A$120,SMALL(IF($D$5:$D$120<=NOW(),
ROW($D$5:$D$120)-ROW($D$5)+1),ROWS($G$8:G8))),"")</now()=60
</now()cell>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My issue is that in the rows where column D is blank, the formula still returns the text written in column A. I tried changing the beginning of my formula to include IF($D$5:$D$120="","",(COUNTIF... however that does not change anything. I believe the issue lies in the COUNTIF statement.
Specific question: How can I use the above formula while ignoring blank cells in column D? Help on this will be greatly appreciated!!!
Last edited: