[mso] Re: excel IF statement help
- From: "David Smart" <smartware@xxxxxxxxxxxxxxx>
- To: <mso@xxxxxxxxxxxxx>
- Date: Sun, 9 Sep 2007 19:19:07 +1000
You need to plan out your IF checks more carefully, probably. For instance
IF($Date of Sale<TODAY()-90,"", IF($Date of Sale<TODAY()-60,"",
The first part of this is redundant, as the second part will do the work for
both. So have a careful look at the actual comparisons you need.
As I see it, the only time you put a value in is when the sale is more than
30 days old but not more than 60 days old.
Again, it looks as though there is no actual test for 0 to 30 days old, and
you are missing a value from the "else" part of the >Today test.
Probably, though, you're suffering from not using an "and" condition in a
simple test ...
=If(And(DateOfSale>=Today()-30,DateOfSale<Today()),$C$13,"")
Regards, Dave S
----- Original Message -----
From: "Mr JOSEPH HERWIG" <herwigs911@xxxxxxxxxxx>
To: <mso@xxxxxxxxxxxxx>
Sent: Sunday, September 09, 2007 11:25 AM
Subject: [mso] excel IF statement help
>I am trying to make up an accounts receivable aging that automatically
>updates the outstanding amounts automatically each day to the appropriate
>bucket (1 - 30 days, 31-60 days, 60 - 90 days, and >90). I have computed
>this formula, but it doesn't seem to do the job quite right.
> =IF($Date of Sale<TODAY()-90,"", IF($Date of Sale<TODAY()-60,"", IF($Date
> of Sale<TODAY()-30,$C$13, IF($Date of Sale>TODAY(),"",))))
>
> It needs to do a date range (1 - 30) rather then just less than 30 etc.
> Not sure if I'm even on the right track. Can anyone help?
>
>
> Beth Herwig
> *************************************************************
> You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
> MicrosoftOffice@xxxxxxxxxxxxxxxx
>
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
>
> To Unsubscribe from this group, visit the group's homepage and use the
> dropdown menu at the top. This will allow you to unsubscribe your email
> address or change your email settings to digest or vacation (no mail).
> http://www.freelists.org/webpage/mso
>
> To be able to share files with the group, you must join our Yahoo sister
> group. This group will not allow for posting of emails, but will allow
> you to join and share problem files, templates, etc.:
> http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for
> FILE SHARING ONLY.
>
> If you are using Outlook and you see a lot of unnecessary code in your
> email messages, read these instructions that explain why and how to fix
> it:
> http://personal-computer-tutor.com/abc3/v28/greg28.htm
> *************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, visit the group's homepage and use the dropdown
menu at the top. This will allow you to unsubscribe your email address or
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to share files with the group, you must join our Yahoo sister group.
This group will not allow for posting of emails, but will allow you to join
and share problem files, templates, etc.:
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE
SHARING ONLY.
If you are using Outlook and you see a lot of unnecessary code in your email
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************
- References:
- [mso] excel IF statement help
- From: Mr JOSEPH HERWIG
Other related posts:
- » [mso] excel IF statement help
- » [mso] Re: excel IF statement help
- » [mso] Re: excel IF statement help
- » [mso] Re: excel IF statement help
- » [mso] Re: excel IF statement help
- » [mso] Re: excel IF statement help
- » [mso] Re: excel IF statement help
- [mso] excel IF statement help
- From: Mr JOSEPH HERWIG