+ Reply to Thread
Results 1 to 2 of 2

Simple "if" question

  1. #1
    Registered User
    Join Date
    11-13-2013
    Location
    Portland
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Simple "if" question

    Hello,

    I am not very well versed in Excel and I need help with what appears to be a simple problem.

    I am trying to create a spreadsheet that calculates a grade. I have one column where the total score appears. In the next column I want the letter grade to appear based on the score. This is not for students but for my other projects. If the score is less than 8, the project gets a D, if the score is less than 16, the project gets a C, if the Project is less than 22 the project gets a B, and if the project is equal to or greater than 22 The project gets an A.

    I was able to accomplish this for the grades D and C with this: =IF(W3<8,"D","IF(W3<16,WC")

    However, when I add any more "if" statements to the formula I get an error message.

    What how can I add the other two grades?

    Thank you!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Simple "if" question

    Hello
    it can be done with multiple IF's but it would get quite cumbersome

    Another possibility is
    Please Login or Register  to view this content.
    To make this more flexible you can use =LOOKUP(W3,I1:I4,J1:J4) where the values are entered in ranges I and J ( could be anywhere else of course)

  3. #3
    Registered User
    Join Date
    11-13-2013
    Location
    Portland
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Re: Simple "if" question

    Awesome! Thank you! That worked.

    Now that I have my grade assigned to each project. Do you know if there is a means for me send all of the names of projects with certain grades to different sheets within the same workbook? For example, if the the project names are in column "a" and the grades are in column "w" can I send all of the names of projects with grade of an "A" to one column on sheet #2 and all project names with a "B" to the second column on sheet #2 and so fourth?

    Thanks again!

  4. #4
    Registered User
    Join Date
    11-13-2013
    Location
    Portland
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Re: Simple "if" question

    Awesome! Thank you! That worked.

    Now that I have my grade assigned to each project. Do you know if there is a means for me send all of the names of projects with certain grades to different sheets within the same workbook? For example, if the the project names are in column "a" and the grades are in column "w" can I send all of the names of projects with grade of an "A" to one column on sheet #2 and all project names with a "B" to the second column on sheet #2 and so fourth?

    Thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  2. Simple question on layout and what is "Active"
    By kyles123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-13-2013, 02:10 PM
  3. simple "and" question
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2008, 02:55 PM
  4. "Simple" sum question... help!
    By NeoProgFan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-23-2006, 04:13 AM
  5. Pivot Tables - "simple" question
    By Eoin Bairead in forum Excel General
    Replies: 2
    Last Post: 02-28-2005, 04:06 PM

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