Ask Experts Questions for FREE Help !
Ask
    andyhaus1057's Avatar
    andyhaus1057 Posts: 98, Reputation: 1
    Junior Member
     
    #1

    Jul 28, 2009, 02:11 PM
    If-Then-Else statement values
    Hello,
    How I would go about designing an If-Then-Else statement that determines whether the points variable is outside the range of 9 to 51. If the variable holds a value outside this range it should display "Invalid points." Otherwise, it should display "Valid points." ?
    ebaines's Avatar
    ebaines Posts: 12,131, Reputation: 1307
    Expert
     
    #2

    Jul 28, 2009, 02:24 PM

    You could do it like this:

    If points<9
    Then "Invalid Points"
    Else if points > 51
    Then "Invalid points"
    Else "Valid Points"

    Or this:

    If AND( points>=9, points <=51) "Valid points"
    else "Invalid points"

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Multiple-step income statement in good form and retained earnings statement [ 1 Answers ]

Hi I would like someone to check to see if I did this correctly, if I did not then please help. Thanks The Problem is: The following pretax amounts pertain to River Corp. for the year ended December 31, 2008. Sales... $400,000 Operating Expenses... 84,000 Extraordinary gain... 30,000...

Income statement, owners equity statement and balance sheet [ 6 Answers ]

Les Fleurs, a boutique in Paris, France, had the following accounts in its accounting records at December 31, 20X2 (amounts in Euros, denoted as "E") Purchases………………... E250,000 Freight In……………… E8,000 Sales discounts…………. 4,000 Purchase returns…….. 7,000 Inventory Sales…………………. ...

What is the correct financial statement-statement of cash flows wording? [ 2 Answers ]

Cash (used) in operating activities <10,000> Cash (used) in investing activities 10,000 Thank you for any help you can provide.


View more questions Search