+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Getting corresponding data

Hybrid View

  1. #1
    Registered User
    Join Date
    04-28-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Getting corresponding data

    I have list of student name and their Total Marks in the column. In the row, we have
    • I class (above 360 marks)
    • II class (300 - 360 marks)
    • III class (240 - 299) marks
    • Fail ( below 240 marks)
    Based on the Total marks, the name of student should appear in the relevant column.
    Attached Files Attached Files
    Last edited by vrnataraj; 04-29-2011 at 08:53 AM.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Can I use a If statement here...

    Please post a sample workbook.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    04-28-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Can I use a If statement here...

    now i have loaded the example.....

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

    Re: Getting corresponding data

    Try these in C2:F2, respectively:

    =IF(B2>=360,A2,"")

    =IF(AND(B2>=300,B2<360),A2,"")

    =IF(AND(B2>=240,B2<300),A2,"")

    =IF(B2<240,A2,"")

    and then copy them all down the table.

    you may need to adjust the operators, >, >=, <, <= depending on where you want to include/exclude the upper/lower bounds of each range.
    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.

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

    Re: Can I use a If statement here...

    Do you mean, based on the total marks, the Class type should appear?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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