+ Reply to Thread
Results 1 to 5 of 5

Combining IF functions

  1. #1
    Registered User
    Join Date
    04-07-2008
    Location
    Adelaide, SA
    Posts
    87
    Hi,

    I have a similar problem. I am combining IF statements to give alternate answers, however my formula keeps returning the 1st answer no matter what figures I have in F3 and D3.

    =IF((F3/D3)<=16.67,"A",IF(OR((F3/D3)>=16.68,(F3/D3)<=33.33),"B","C"))

    Yappa

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    I think your formula should be as below

    =IF(F3/D3<=16.67,"A",IF(and(F3/D3>=16.68,F3/D3<=33.33),"B","C"))
    Ed
    _____________________________
    Always learning, but never enough!
    _____________________________

  3. #3
    Registered User
    Join Date
    04-07-2008
    Location
    Adelaide, SA
    Posts
    87
    Still getting the same result. I have the value of 7 in D3 and the value of 2 in F3. With the current formula, this should give the result of 28.57 (2 divided by 7) and should be showing the result B.

    Yappa

  4. #4
    Forum Contributor
    Join Date
    08-21-2006
    Location
    Ossett, West Yorkshire
    MS-Off Ver
    2003
    Posts
    150

    IFs

    Hi, try
    =IF(D3/F3>=33.33,"C",IF(and(D3/F3>16.67,D3/F3<33.33)"B","A"))
    this works for me
    Reagards Howard

  5. #5
    Registered User
    Join Date
    04-07-2008
    Location
    Adelaide, SA
    Posts
    87
    Thanks EdMac and Gearcutter.
    Just realised what i was doing wrong.

    Yappa

+ 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