+ Reply to Thread
Results 1 to 5 of 5

Embedded IF Fuction

  1. #1
    Redhead
    Guest

    Embedded IF Fuction

    I would like to use the IF function to return a grade value for a score. Ex:

    If grade>70, then C
    IFgrade>80, then B, and so on.

    I believe I need to imbed this function but don't know how. Please advise?

    Thanks in advance.

  2. #2
    PCLIVE
    Guest

    Re: Embedded IF Fuction

    One way:
    You'll need to adjust the number grades as appropriate, but this should
    help.

    =IF(AND(A1>70,A1<81),"C",IF(AND(A1>80,A1<95),"B",IF(A1>94,"A")))

    Regards,
    Paul

    "Redhead" <[email protected]> wrote in message
    news:[email protected]...
    >I would like to use the IF function to return a grade value for a score.
    >Ex:
    >
    > If grade>70, then C
    > IFgrade>80, then B, and so on.
    >
    > I believe I need to imbed this function but don't know how. Please
    > advise?
    >
    > Thanks in advance.




  3. #3
    Redhead
    Guest

    Re: Embedded IF Fuction

    Thanks. I tried it exactly as entered, and I still get an "invalid" error.

    "PCLIVE" wrote:

    > One way:
    > You'll need to adjust the number grades as appropriate, but this should
    > help.
    >
    > =IF(AND(A1>70,A1<81),"C",IF(AND(A1>80,A1<95),"B",IF(A1>94,"A")))
    >
    > Regards,
    > Paul
    >
    > "Redhead" <[email protected]> wrote in message
    > news:[email protected]...
    > >I would like to use the IF function to return a grade value for a score.
    > >Ex:
    > >
    > > If grade>70, then C
    > > IFgrade>80, then B, and so on.
    > >
    > > I believe I need to imbed this function but don't know how. Please
    > > advise?
    > >
    > > Thanks in advance.

    >
    >
    >


  4. #4
    PCLIVE
    Guest

    Re: Embedded IF Fuction

    Not sure why you would get "invalid". It seems to work on my side. If
    there is more information that may be relevant, please post. Where does it
    state "invalid"?

    Regards,
    Paul

    "Redhead" <[email protected]> wrote in message
    news:[email protected]...
    > Thanks. I tried it exactly as entered, and I still get an "invalid"
    > error.
    >
    > "PCLIVE" wrote:
    >
    >> One way:
    >> You'll need to adjust the number grades as appropriate, but this should
    >> help.
    >>
    >> =IF(AND(A1>70,A1<81),"C",IF(AND(A1>80,A1<95),"B",IF(A1>94,"A")))
    >>
    >> Regards,
    >> Paul
    >>
    >> "Redhead" <[email protected]> wrote in message
    >> news:[email protected]...
    >> >I would like to use the IF function to return a grade value for a score.
    >> >Ex:
    >> >
    >> > If grade>70, then C
    >> > IFgrade>80, then B, and so on.
    >> >
    >> > I believe I need to imbed this function but don't know how. Please
    >> > advise?
    >> >
    >> > Thanks in advance.

    >>
    >>
    >>




  5. #5
    Registered User
    Join Date
    02-11-2005
    Posts
    85
    here is another way that might work for you.

    =IF(A1<60,"F",IF(AND(A1>=60,A1<70),"D",IF(AND(A1>=70,A1<80),"C",IF(AND(A1>=80,A1<90),"B",IF(A1>=90,"A")))))
    Last edited by goober; 02-02-2006 at 04:24 PM.

+ 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