PC Review


Reply
Thread Tools Rate Thread

How do I use functions and calculations?

 
 
=?Utf-8?B?TWljaGFlbCBpbiBHZW9yZ2lh?=
Guest
Posts: n/a
 
      9th Jul 2006
I'm having trouble with this conditional, nesting, logic and calculating
scenario.

If x is less than 500, then "$500." If x is between 500.01 and 650, then
"$650. If x is greater than 650, then "$650."

--Michael Manning
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      9th Jul 2006
It looks like if you're saying if it's less than 500, then 500, otherwise 650.

=if(a1<500,500,650)
or maybe:
=if(a1<=500,500,650)

Depending on what happens at exactly 500.


Michael in Georgia wrote:
>
> I'm having trouble with this conditional, nesting, logic and calculating
> scenario.
>
> If x is less than 500, then "$500." If x is between 500.01 and 650, then
> "$650. If x is greater than 650, then "$650."
>
> --Michael Manning


--

Dave Peterson
 
Reply With Quote
 
joeu2004@hotmail.com
Guest
Posts: n/a
 
      9th Jul 2006
Michael in Georgia wrote:
> I'm having trouble with this conditional, nesting, logic and calculating
> scenario.
> If x is less than 500, then "$500." If x is between 500.01 and 650, then
> "$650. If x is greater than 650, then "$650."


Do you have a typo somewhere? First, your logic fails to cover the
case where x equals 500. Second, the case for 500.01-to-650 has the
same result as 650. Why not simply say "if x is greater than 500"?
Finally, do you truly want the __text__ "$500" and "$650", or do you
actually want the __number__ 500 and 650 formatted as dollars with no
decimal digits?

Making some assumptions about the answers, I suspect the following
might be what you are looking for, formatted as dollars with no decimal
digits (Format > Cells > Number > Currency):

=if(x<=500, 500, if(x<=650, 600, 650))

That says that if x is greater than 500 but less than or equal to 650,
the result is $600. I am taking a WAG about that condition.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data calculations require more than 7 nested functions =?Utf-8?B?RjZIYXdr?= Microsoft Excel Worksheet Functions 4 9th Nov 2004 06:47 AM
Data calculations require more than 7 nested functions =?Utf-8?B?RjZIYXdr?= Microsoft Excel Worksheet Functions 0 8th Nov 2004 04:18 PM
excel functions: profit/loss calculations timber Microsoft Excel Worksheet Functions 0 26th Aug 2004 03:11 AM
Date calculations using functions =?Utf-8?B?U3Vl?= Microsoft Excel Worksheet Functions 3 8th Aug 2004 06:53 PM
calculations/functions Cheryl Microsoft Access Database Table Design 3 8th Oct 2003 10:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 PM.