+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Two different formulas in one cell

  1. #1
    Registered User
    Join Date
    06-22-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    24

    Smile Two different formulas in one cell

    Hey Forum,

    I have recently been asked to combine two cells together for some reason that is beyond me.

    The formulas in the two cells are as follows.

    To work out the final mark (total) of the module by adding the Coursework (weighted at 50%) and Exam (weighted at 50%) together.
    =(H9*0.5)+(K9*0.5)


    To work out whether a student deserves an RE (Resit Exam), RC (resit Coursework), RM (resit Module), EX (exemption) or NS (Non-submittal)
    =IF(AND(H7=0,K7=0),"",IF(AND(H7<39.49,K7<39.49),"RM",IF(H7<39.49,"RC",IF(K7<39.49,"RE",IF(H7="NS","NS",IF(K7="NS","NS",IF(H7="EX","EX",IF(K7="EX","EX", "" ))))))))



    So what I need is for in one cell, either a code to come up tell us what the student failed or whether they are exempt, or if applicable to show the total of the two cells.

    I would prefer if both pieces of information WEREN'T shown in the same cell but will settle with it if I need too

    All the best,

    Adam
    Attached Files Attached Files
    Last edited by master.osgood; 07-29-2010 at 01:38 PM. Reason: Shorter title needed

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Two different formulas in one cell

    Can't you set up a Lookup Table?

    Maybe attach a dummy workbook
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    06-22-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Two different formulas in one cell

    Quote Originally Posted by royUK View Post
    Can't you set up a Lookup Table?

    Maybe attach a dummy workbook
    I haven't tried using a Lookup Table, no.

    I have attached a dummy workbook. I literally just need to put the two formulas together. The one in the Total column, and the one in the Grade column.

    I'll refresh my memory in lookup table whilst people have a look at this and see if they have any ideas.

    Cheers.

+ 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