[mso] Re: Formula Assistance Excel 2000
- From: Donald Smith <dcsmith@xxxxxxxxxxxx>
- To: mso@xxxxxxxxxxxxx
- Date: Wed, 2 Jul 2003 22:16:04 GMT
I figured it out (at least it seems to pass the initial litmus test. May
have been a problem in my original explanation, which had me confused.
Here is how I did it. Took the file home, which I normally don't like to
do as work is work and home is home. Went into my office, turned on the
AC cooled down and cleared my head (that was the important part). Then I
knew Linda had started me on the right track, but I got to the point where
I couldn't even think about it. With a clear head and cool body
(temperature wise) I came up with this formula based on the formula Linda
provided (Thank You).
=IF(E2+(E2*0.2)<P2,(E2+(E2*0.2)),IF(E2-(E2*0.2)>P2,(E2-(E2*0.2)),""))
It seems to work fine with initial testing.
Thanks
Don
-----Original Message-----
Thanks:
It works great if it is 20% high or 20% low but if it is in-between, it is
adding 20% instead of just returning nothing. Cannot figure out why.
Here is my formula which I had to make a minor change to get it to
calculate properly.
=IF(P2+(P2*0.2)>E2,(E2+(E2*0.2)),IF(P2-(P2*0.2)<E2,(E2-(E2*0.2)),""))
If I can get it to understand that area between 20% high and 20% low so it
doesn't return a figure it will be perfect.
Thanks Again
Don
-----Original Message-----
Hi Don.....I'm doing this from my head without Excel so it *might* need a
parentheses or two...but I think it's ok, LOL
Try this:
=IF(P2+(P2*0.2)>E2,(P2+(E2*0.2)),IF(P2-(P2*0.2)<E2,(P2-(E2*0.2)),""))
Linda
Publisher ~ ABC ~ All 'Bout Computers
Owner ~ Linda's Computer Stop
http://personal-computer-tutor.com
FREE MS Office eBook Tutorial
http://personal-computer-tutor.com/library.htm
-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of Donald Smith
Sent: Wednesday, July 02, 2003 1:42 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Formula Assistance Excel 2000
I can complete part of the formula but I can't get the whole thing to
work, so I am looking for assistance, here is what I need:
IF P2+20%>E2 THEN P2=E2+20%
OR
IF P2-20%<E2 THEN P2=E2-20%
ELSE THERE IS NO RESULT IF IT MEETS NEITHER CONDITION.
Thanks
Don
---------------------------------------------
This message was sent using Road Runner's Web-based
e-mail.
*************************************************************
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, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in
the subject line.
Or, visit the group's homepage and use the dropdown menu. This will also allow
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with
instructions. Once you are a member of the files group, you can go here to
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
- Follow-Ups:
- [mso] Re: Formula Assistance Excel 2000
- From: Linda F. Johnson
Other related posts:
- » [mso] Formula Assistance Excel 2000
- » [mso] Re: Formula Assistance Excel 2000
- » [mso] Re: Formula Assistance Excel 2000
- » [mso] Re: Formula Assistance Excel 2000
- » [mso] Re: Formula Assistance Excel 2000
- » [mso] Re: Formula Assistance Excel 2000
- [mso] Re: Formula Assistance Excel 2000
- From: Linda F. Johnson