I know I should be able to do this with Excel, but can never get this to work. It involves 2 worksheets within a workbook. The first sheet contains dates and I want it to return the fiscal month for the date. The second sheet contains the table for the fiscal months. The second sheet is to use the comparison of greater than the first date and less than the second date. Please see my examples below.
WORKSHEET 1 - DATES
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]DATE[/TD]
[TD]MONTH[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]03/23/2016[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]01/03/2016[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]04/05/2016[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]03/31/2016[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
WORKSHEET 2 - FISCAL MONTHS
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]MONTH[/TD]
[TD]BEGIN[/TD]
[TD]END[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]12/31/2015[/TD]
[TD]01/31/2016[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD]01/30/2016[/TD]
[TD]02/28/2016[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3[/TD]
[TD]02/27/2016[/TD]
[TD]03/27/2016[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]4[/TD]
[TD]03/26/2016[/TD]
[TD]05/01/2016[/TD]
[/TR]
</tbody>[/TABLE]
I would expect the results column B (Month) to return in Worksheet 1 - Dates to be:
03/23/2016 = 3
01/03/2016 = 1
04/05/2016 = 4
03/31/2016 = 4
How can I accomplish this in Excel? I am using Excel 2003 (yes, I know it's old).
Thanks,
Govitz
WORKSHEET 1 - DATES
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]DATE[/TD]
[TD]MONTH[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]03/23/2016[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]01/03/2016[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]04/05/2016[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]03/31/2016[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
WORKSHEET 2 - FISCAL MONTHS
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]MONTH[/TD]
[TD]BEGIN[/TD]
[TD]END[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]12/31/2015[/TD]
[TD]01/31/2016[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD]01/30/2016[/TD]
[TD]02/28/2016[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3[/TD]
[TD]02/27/2016[/TD]
[TD]03/27/2016[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]4[/TD]
[TD]03/26/2016[/TD]
[TD]05/01/2016[/TD]
[/TR]
</tbody>[/TABLE]
I would expect the results column B (Month) to return in Worksheet 1 - Dates to be:
03/23/2016 = 3
01/03/2016 = 1
04/05/2016 = 4
03/31/2016 = 4
How can I accomplish this in Excel? I am using Excel 2003 (yes, I know it's old).
Thanks,
Govitz