P
perpetual159
Hi, everyone
I'm not sure how to write an "If" function for dates and amounts and
was hoping to get some help. So here's my scenario:
I have a spreadsheet in which I keep track of amounts logged every day
These amounts may increase or decrease gradually, so imagine for exampl
that:
Column A: Entire Year from 1/1/2013 to 12/31/201
Column B: Fluctuating Amount
Based on this information, I have another table (Starting in column D
that has the 12 months (January, February, March, etc.) in Column D, an
Amount in column E. So, what I want each cell in column E, depending o
the month is the following rule: If, for example, today falls i
January, display today's amount; if today is not in January and Januar
has already passed, show amount logged for January 31 (in other words
the last day of that month); if January hasn't happened, show $0.00
I hope this makes sense, and I appreciate any help I can get in this
I've attached a sample of the spreadsheet, but it does not have an
formulas; it just shows what I want it to do (I also added a fe
comments, in case they help), so you all have an idea of what I want t
do.
Thanks
+-------------------------------------------------------------------
|Filename: sample sheet.zip
|Download: http://www.excelbanter.com/attachment.php?attachmentid=812
+-------------------------------------------------------------------
I'm not sure how to write an "If" function for dates and amounts and
was hoping to get some help. So here's my scenario:
I have a spreadsheet in which I keep track of amounts logged every day
These amounts may increase or decrease gradually, so imagine for exampl
that:
Column A: Entire Year from 1/1/2013 to 12/31/201
Column B: Fluctuating Amount
Based on this information, I have another table (Starting in column D
that has the 12 months (January, February, March, etc.) in Column D, an
Amount in column E. So, what I want each cell in column E, depending o
the month is the following rule: If, for example, today falls i
January, display today's amount; if today is not in January and Januar
has already passed, show amount logged for January 31 (in other words
the last day of that month); if January hasn't happened, show $0.00
I hope this makes sense, and I appreciate any help I can get in this
I've attached a sample of the spreadsheet, but it does not have an
formulas; it just shows what I want it to do (I also added a fe
comments, in case they help), so you all have an idea of what I want t
do.
Thanks
+-------------------------------------------------------------------
|Filename: sample sheet.zip
|Download: http://www.excelbanter.com/attachment.php?attachmentid=812
+-------------------------------------------------------------------