[mso] Re: Nested IF statement
- From: Jonathan Drawer <jdrawer07@xxxxxxxxx>
- To: mso@xxxxxxxxxxxxx
- Date: Sat, 30 Jun 2007 16:28:38 -0700 (PDT)
Try
=IF(B1="Individual",(IF(B3<5,0.05,IF(B3<24,0.15,0.25))),(IF(B3<5,0.05,IF(B3<14,0.1,IF(B3<24,0.15,IF(B3<49,0.2,0.3))))))
Jonathan
Rachel Jobes <racheljobes@xxxxxxxxx> wrote:
Hi
I have been using Linda's page trying to create a nested IF statement for an
assignment I am doing.
My problem is described below:
A bookshop wishes to calculate a discount for orders based on 2 factors
(Customer type and number of books)
Customer types are individual, library, school and educational institution.
The breakdown of discounts is different for individuals than for the other
customer types.
Individual <5 0% ?5?24 15% >25 25%
Other
<5 5% ?5?14 10% ?15?24 15% ?25?49 20% >50 30%
I set up a simple spreadsheet cust type is cell B1 and quantity of books is
cell B3 I am puuting my IF statement in cell B5 which is labelled as
discount.
The first IF statement step I did works (I think)
IF((AND(B1="Individual",B3<5)),0,NA) so I figured I could adjust it for the
other steps and add it all together.
Unfortunately I can't seem to get it to work. I haven't done IF statements
before but I think it may be my use of brackets? My other sugestions to
make the IF statement complete for the individual customer type are
((AND(B1="Individual",B3?5?24)),15,NA)
((AND(B1="Individual",B3>25)),25,NA)
But then I need to add the same for the other customer types and book
breakdowns.
Anyone any ideas?
Thanks
Rache
*************************************************************
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
*************************************************************
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
*************************************************************
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] Nested IF statement
- From: Rachel Jobes
Other related posts:
- » [mso] Nested IF statement
- » [mso] Re: Nested IF statement
- » [mso] Re: Nested IF statement
- [mso] Nested IF statement
- From: Rachel Jobes