Consulting

Results 1 to 3 of 3

Thread: Multiple IF else formula not working.

  1. #1
    VBAX Regular
    Joined
    Feb 2009
    Posts
    18
    Location

    Multiple IF else formula not working.

    Hello Gurus -

    I am comparing the values of cell A1, and then i have to update the values of cell B1 accordingly -
    If A1>13 B1=High
    If A1<=12 or A1>=7 B1=Medium
    If A1<=7 or A1>=0 B1 = Low

    and i am using the following formula -

    =IF(A1>=13,"High",IF(OR(A1<=12,A1>=7),"Medium",IF(OR(A1<=6,A1>=0),"Low")))

    I am never getting the value as "Low" in column B-

    I need to run this formula in whole cloumn A(A2,A3,A4 etc) and correspoindgly update the balues in column B(B2,B3,B4 etc).

    kindly help me.
    attached is the xls sheet.

  2. #2
    VBAX Regular
    Joined
    Mar 2005
    Location
    Helena, MT
    Posts
    90
    Location
    Try
    =IF((A1>=0)*A1<=6),"Low",IF(A1<=12,"Medium","High"))
    lenze

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    =IF(A1>=13,"High",IF(A1>=7,"Medium",IF(A1>=0,"Low","")))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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