Mr Retirement
New Member
- Joined
- Nov 12, 2016
- Messages
- 46
Hi Everyone -
This might be explained easiest by the sample table below. I'm looking for a formula that will take my inputs (Month & Year) and return the value from the last available date in that month/year from the table.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Month:
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Year:
[/TD]
[TD]2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]NEEDED FORMULA:
[/TD]
[TD]1563
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Data:
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helper Column (if needed)
[/TD]
[TD]Date
[/TD]
[TD]Value
[/TD]
[/TR]
[TR]
[TD]03201301
[/TD]
[TD]3/1/2013
[/TD]
[TD]1500
[/TD]
[/TR]
[TR]
[TD]03201304
[/TD]
[TD]3/4/2013
[/TD]
[TD]1502
[/TD]
[/TR]
[TR]
[TD]03201315
[/TD]
[TD]3/15/2013
[/TD]
[TD]1505
[/TD]
[/TR]
[TR]
[TD]03201328
[/TD]
[TD]3/28/2013
[/TD]
[TD]1563
[/TD]
[/TR]
[TR]
[TD]04201303
[/TD]
[TD]4/3/2013
[/TD]
[TD]1600
[/TD]
[/TR]
[TR]
[TD]etc...
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help would be appreciated
Thanks,
Mr R.
This might be explained easiest by the sample table below. I'm looking for a formula that will take my inputs (Month & Year) and return the value from the last available date in that month/year from the table.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Month:
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Year:
[/TD]
[TD]2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]NEEDED FORMULA:
[/TD]
[TD]1563
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Data:
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helper Column (if needed)
[/TD]
[TD]Date
[/TD]
[TD]Value
[/TD]
[/TR]
[TR]
[TD]03201301
[/TD]
[TD]3/1/2013
[/TD]
[TD]1500
[/TD]
[/TR]
[TR]
[TD]03201304
[/TD]
[TD]3/4/2013
[/TD]
[TD]1502
[/TD]
[/TR]
[TR]
[TD]03201315
[/TD]
[TD]3/15/2013
[/TD]
[TD]1505
[/TD]
[/TR]
[TR]
[TD]03201328
[/TD]
[TD]3/28/2013
[/TD]
[TD]1563
[/TD]
[/TR]
[TR]
[TD]04201303
[/TD]
[TD]4/3/2013
[/TD]
[TD]1600
[/TD]
[/TR]
[TR]
[TD]etc...
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help would be appreciated
Thanks,
Mr R.