Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Northampton, Northamptonshire, England
    Posts
    1,951
    Thanks
    2
    Thanked 1 Time in 1 Post

    If Statement (Office XP)

    Hi

    I am trying without success to create a formula that will produce the following

    if C2 is >0 <=4,"Red",if C2 is >4 <=7,"Blue" if C2>7<=10,"Green if C2>10,"Yellow"

    Many thanks

    Braddy
    If you are a fool at forty, you will always be a fool

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: If Statement (Office XP)

    =IF(C2<=0,"Unknown",IF(C2<=4,"Red",IF(C2<=7,"Blue" ,IF(C2<=10,"Green","Yellow"))))

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Northampton, Northamptonshire, England
    Posts
    1,951
    Thanks
    2
    Thanked 1 Time in 1 Post

    Re: If Statement (Office XP)

    Hi Hans

    Thank you for your prompt reply and also thanks to Tony for his reply aswell.

    Braddy
    If you are a fool at forty, you will always be a fool

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •