LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
taxmom
 
Posts: n/a
Default IF Function with Date revised question

Hi,

The previous answer from Michael was great. However, I realized that I will
have more than 7 nested If statements.
I didn't need the year so, I took it out of the equation.

Is there a way to streamline the formula for 12 months?

the previous answer =if(and(month(d1)=1,B10,if(and(month(d1)=2,C10,0))

cell: D1 will change from January to December (each months return)
Cells: B10, C10, E10, D10, etc for 12 months - contains prepayment amounts.

As the months change I need the formula to look at the current date and
return the previous months prepayment amount.
There is a formula from the current return that fills this schedule on a
monthly basis.

The prepayment schedule looks like this:

location dec jan feb etc
1 boca raton 5,000 6,000 7,000
2 St John 2,000 1,000 7,000
etc.

The formula will be individual for each location return.
Should I use a lookup and range name the location and date?

Any suggestions?






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMPRODUCT with date range question Rob V Excel Discussion (Misc queries) 1 January 31st 05 03:55 PM
Formula for date function Markitos Excel Worksheet Functions 15 November 10th 04 02:05 AM
Another date function question mendozalaura Excel Worksheet Functions 0 November 5th 04 08:44 PM
Another date function question mendozalaura Excel Worksheet Functions 1 November 5th 04 04:26 PM
Grading Function Question... spooker4u Excel Worksheet Functions 1 November 1st 04 02:49 PM


All times are GMT +1. The time now is 04:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"