[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Sales[/TD]
[TD]Closing Stock[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12/Dec[/TD]
[TD]25[/TD]
[TD]75[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]13/Dec[/TD]
[TD]30[/TD]
[TD]45[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]14/Dec[/TD]
[TD]45[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]15/Dec[/TD]
[TD]60[/TD]
[TD]-160[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Opening Stock[/TD]
[TD]100[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Runout[/TD]
[TD]????[/TD]
[TD]Needs to return 14/Dec[/TD]
[/TR]
</tbody>[/TABLE]
How do I get cell B8 to return the date 14/Dec as the date stock runs out? I have used IF formula but I am doing something wrong?
Thanks in advance...
Churmie
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Sales[/TD]
[TD]Closing Stock[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12/Dec[/TD]
[TD]25[/TD]
[TD]75[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]13/Dec[/TD]
[TD]30[/TD]
[TD]45[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]14/Dec[/TD]
[TD]45[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]15/Dec[/TD]
[TD]60[/TD]
[TD]-160[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Opening Stock[/TD]
[TD]100[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Runout[/TD]
[TD]????[/TD]
[TD]Needs to return 14/Dec[/TD]
[/TR]
</tbody>[/TABLE]
How do I get cell B8 to return the date 14/Dec as the date stock runs out? I have used IF formula but I am doing something wrong?
Thanks in advance...
Churmie