+ Reply to Thread
Results 1 to 9 of 9

Decision formula

  1. #1
    Registered User
    Join Date
    02-26-2010
    Location
    holland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Decision formula

    Hello everyone,

    Ill start of introducing myself. I'm Bram and I live in Holland. I'm 18 years old and in need of some expertise.

    I have the following problem:
    I have an assignment for which I need to make a formula that has the function when a number is lower than 4 it has to say in the box next to it "Failed", if the number is between 4 and 6 it has to say "Retry", and if the number is above 6 it has to say "Passed".

    I know this is probably not that hard to make but I have been trying for 45 min. and haven't gotten anywhere

    Thanks already,

    Bram

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need help with making a formula

    =Lookup(A1,{0,4,7},{"Failed","Retry","Passed")

    where A1 has the value....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-26-2010
    Location
    holland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Decision formula

    First of all thanks NBVC,

    But I'm still getting an error message when I try to enter the formula. (It highlights the A1 part which in my case is G6)

    Any idea on what could solve this?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Decision formula

    Could be your Excel version:

    Try:

    =Lookup(A1;{0;4;7};{"Failed";"Retry";"Passed")

  5. #5
    Registered User
    Join Date
    02-26-2010
    Location
    holland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Decision formula

    Well I just tried it in both Excel 2003 and 2007 and both gave me the error with both formula's.
    I'll try it on another pc but I don't this will work.

    Any other sugestions?

    Thanks

    EDIT: Just tried on my other pc and it doesn't work there ether.
    Last edited by brammo; 02-26-2010 at 11:06 AM.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Decision formula

    Sorry...missed a } bracket....

    try:

    =LOOKUP(A1,{0,4,7},{"Failed","Retry","Passed"})

    or

    =LOOKUP(A1;{0;4;7};{"Failed";"Retry";"Passed"})

  7. #7
    Registered User
    Join Date
    02-26-2010
    Location
    holland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Decision formula

    Thanks for the code. It doesn't give the error anymore but now it says that it's an improper name. (Not sure if I translated it right, I have the Dutch version of Excel)
    From what I can tell Excel doesn't know the =Lookup term.

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Decision formula

    Try using ZOEKEN (for LOOKUP)

    (translator link in sig.)

  9. #9
    Registered User
    Join Date
    02-26-2010
    Location
    holland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Decision formula

    Thank u so much.

+ 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