+ Reply to Thread
Results 1 to 5 of 5

Someone PLEASE correct my forumla!!

Hybrid View

  1. #1
    Registered User
    Join Date
    01-15-2009
    Location
    Guernsey (UK)
    MS-Off Ver
    Excel 2003
    Posts
    1

    Unhappy Someone PLEASE correct my forumla!!

    This should be pretty self explanatory.


    =IF((D3=<18.4, "Underweight", ""),IF(D3=18.5<24.9,"Average",""),IF(D3=25<29.5,"Overweight","")IF(D3=>30, "Obese",""))




    Basically I have made some formulas and column "D" is my BMI.
    I want column "F" (The column I am entering this formula in) to display the condition i.e. "Underweight", "Average", "Overweight", "Obese".

    Equal to and less than 18.4 Underweight
    Between 18.5-24.9 Average
    Between 25-29.5 Overweight
    Equal to and greater than 30+ Obese



    Can someone please email me on creature04797@hotmail.com with any ideas?





    Thanks SO much! :D

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949
    =IF(D3<=18.4, "Underweight",IF(18.4<D3<=24.9,"Average",IF(24.9<D3<=30,"Overweight",IF(D3>30, "Obese",""))))
    Play with the <= and < as you must
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719
    Hello creature.

    The whole point of a forum like this is for discussion to remain within the forum, for all to see and for anybody to contribute.

    You can revise your formula like this

    =IF(D3="","",IF(D3<=18.4,"Underweight",IF(D3<24.9,"Average",IF(D3<29.5,"Overweight","Obese"))))

  4. #4
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949
    =IF(D3<=18.4, "Underweight",IF(18.4<D3<=24.9,"Average",IF(24.9<D3<=30,"Overweight",IF(D3>30, "Obese",""))))
    Play with the <= and < as you must

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    You could dispense with the IF and use a LOOKUP also

    =IF(D3="","",LOOKUP(D3,{0,18.5,25,30},{"Underweight","Average","Overweight","Obese"}))

    You may need to do some work with D3 to handle any rounding issues.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1