Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Excel, date-sensitive, 2-part formulas

I am trying to figure out a formula for billing in Excel 2003.
I want to be able to enter # of pmnts based on date.
So far I have:
=if(b239217,3,2)
meaning: if date (b2) is greater than 5/14/07, 3 payments, otherwise2.
BUT I also want to say: AND if the dates in B2 are less than 5/1/05, 1 pmnt.
Anyone can help?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Excel, date-sensitive, 2-part formulas

Hi

Try
=IF(B2<--"01/05/07",1,IF(B2--"14/5/7",3,2))

--
Regards

Roger Govier


"kblostyankee" wrote in message
...
I am trying to figure out a formula for billing in Excel 2003.
I want to be able to enter # of pmnts based on date.
So far I have:
=if(b239217,3,2)
meaning: if date (b2) is greater than 5/14/07, 3 payments, otherwise2.
BUT I also want to say: AND if the dates in B2 are less than 5/1/05, 1
pmnt.
Anyone can help?
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Excel, date-sensitive, 2-part formulas

One way:

=1 + (B2DATE(2007,5,1)) + (B2DATE(2007,5,14))



In article ,
kblostyankee wrote:

I am trying to figure out a formula for billing in Excel 2003.
I want to be able to enter # of pmnts based on date.
So far I have:
=if(b239217,3,2)
meaning: if date (b2) is greater than 5/14/07, 3 payments, otherwise2.
BUT I also want to say: AND if the dates in B2 are less than 5/1/05, 1 pmnt.
Anyone can help?
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Excel, date-sensitive, 2-part formulas

Thank you, yes that was very helpful, I had to mess with the dates a little,
but PERFECT!!
Well, since you're so smart, what if I want to add one more?
if b2 5/30/07, then 4 pmnts?
If you can figure that one out, I've got an even tougher one that I haven't
even begun yet.
Thanks
Kathleen

"Roger Govier" wrote:

Hi

Try
=IF(B2<--"01/05/07",1,IF(B2--"14/5/7",3,2))

--
Regards

Roger Govier


"kblostyankee" wrote in message
...
I am trying to figure out a formula for billing in Excel 2003.
I want to be able to enter # of pmnts based on date.
So far I have:
=if(b239217,3,2)
meaning: if date (b2) is greater than 5/14/07, 3 payments, otherwise2.
BUT I also want to say: AND if the dates in B2 are less than 5/1/05, 1
pmnt.
Anyone can help?
Thanks




Reply
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
Time Sensitive Formulas gregg Excel Discussion (Misc queries) 0 April 6th 06 03:45 AM
How to set up a date sensitive notification? Hyatt Guy Excel Discussion (Misc queries) 1 July 22nd 05 08:19 PM
How to set up a date sensitive notification? Hyatt Guy Excel Discussion (Misc queries) 1 July 22nd 05 08:00 PM
Date sensitive cells Matticace Excel Discussion (Misc queries) 2 June 28th 05 02:59 PM
Trying to make cell "date sensitive" to specific date ebuzz13 Excel Discussion (Misc queries) 1 January 19th 05 11:04 PM


All times are GMT +1. The time now is 11:44 PM.

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

About Us

"It's about Microsoft Excel"