Hi, I have two cells with data like following:
A B c
06/11/2006 1 ??
The cell B will have values like 1 (for Daily), 2 (for Weekly), and 3 (for Monthly).
Depending upon the value of Cell B, I need to go -10 in the past and populate 10 cells with those dates. For example:
A B c D ... L
06/11/2006 1 06/10/2008 06/09/2008 ...06/02/2008
Similarly if Cell B=2, I need to go -10 weeks and populate cells C to L with those dates and similarly for Cell B=3, -10 months.
Any ideas how can this be done? If my question is not clear, please let me know immediately. thanks in advance.
Bookmarks