Ask Experts Questions for FREE Help !
Ask
    arup74luv's Avatar
    arup74luv Posts: 1, Reputation: 1
    New Member
     
    #1

    May 26, 2008, 07:47 PM
    A text cell to denote a number/points
    I am using a result database with grades A+, A, B+, B, C+ C etc. Now A+=10, A=9, B+=8 and so on. I have to calculate the SGPA with a formula using the numerals and not the text, but the sheet should show the text A+, B+ etc. When calculating the formula, the numericals should be taken. The numerals should be in the background denoting the text cell. Please help me in this regard.
    KISS's Avatar
    KISS Posts: 12,510, Reputation: 839
    Uber Member
     
    #2

    May 26, 2008, 08:59 PM
    You can play tricks, and I'll show you how it works. I forget my VB, but suppose there is a function called mid$(A$,start,number) that extracts from a string staring at start for numer of characters.

    If I said Grade$=("A+A A-", Grade*2+1,2)

    I could extract A+,A , or A- from the values 0 through 3

    You can convert numbers to text and concaenate text so you could display "9.9 A+" in a cell.

    You just have to work out the math.

    I don't understand the "in the background" part.

    You can do the reverse by adding a non-used character to your string "A+*A *A-*"
    You can then search for A+, A(space) or A- and get the number.

    You can pad with an If statement and remember to create something when things can't be found.
    JBeaucaire's Avatar
    JBeaucaire Posts: 5,426, Reputation: 997
    Software Expert
     
    #3

    May 26, 2008, 09:36 PM
    I think I understand what you're getting at. I believe the answer is a simple array lookup table. Here's my final formula:

    Code:
    =LOOKUP(ROUND(B11/9,0),Grades,Final)
        or
    =LOOKUP(ROUND(SUM(B2:B10)/9,0),Grades,Final)
    Look in the sheet attached for a full example and explanation. Here is the long text for everyone.

    1) First you need some basic grades to add up, those are given in a column below each child's name
    2) You need to add the grades, average them, round the number normally, then convert the number to a letter grade
    3) A grid exists on the page somewhere telling the computer how to convert. (see A20:B29)
    4) This grid is called an array, it is highlighted as a whole then given a "name" using the INSERT > NAME > DEFINE function so it can be referred to in the final formula as simply "grades"
    5) The final grades themselves are also given a name (B20:B29) is named "final"

    Now the formula above has enough information to figure out the number grade on its own, then uses the array to find the closest number in the first column, then returns the "final" grade as a letter from the second column.

    Works well enough. In the uploaded example, column F shows the best layout, F11 shows the simple letter grade Final Grade.
    Attached Files
  1. File Type: xls Grades.xls (14.5 KB, 197 views)
  2. JBeaucaire's Avatar
    JBeaucaire Posts: 5,426, Reputation: 997
    Software Expert
     
    #4

    May 27, 2008, 10:49 AM
    BTW, if your student gradebook is setup in rows instead of columns, the same concept will work. Just edit the SUM range to be in the proper direction, using the numbered grades properly.

    Also, you will need to adjust the number of graded points to the proper divisor. I used /9 for the nine entries in my sample. Yours might be /20 or /30 if there were 20 or 30 graded events that semester.

    It's up to you to decide on a student by student basis if the blanks should be counted or not. If not, just manually adjust their divisor down to skip the ones you want to give them a pass on.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Anyone know how to print text messages from Cell. [ 6 Answers ]

Hi my name is Tonya and I have a KRZR K1 from Motorola, I have to print out some text messages that are needed for a legal matter and I have asked other people and they all tell me that it can't be done, but I know that SOMEONE out there can help me figure out how to get a locked text message off...

Birthday Cell Phone ! & text messaging [ 1 Answers ]

Hello, My parents said I can get a cell phone for my birthday, and all my friends have text messaging too. I also want texting but I'm not sure how much it costs. I have t-mobile and its Family Plan 1000 minutes. I was wondering how much it would cost for just ME <---- having texting ( cause my...

Cell number [ 1 Answers ]

I have a cell phone number. But I want to get the person name . How can I get this information.

Looking for cell company with unlimited min & text [ 3 Answers ]

Right now I have verizon wireless and our bill for 4 phones is 250.00 a month. Our plan is up in 2 months and our next plan will only have 2 phones. I am looking for a cell company that has unlimited calling and unlimited text for a reasonable rate. Oh yeah and good coverage we are on the road a...

Display text vertically and not horizontally in 1 cell (Excel) [ 2 Answers ]

How would you display a line of text to show vertically after each text in one cell? For example: Total Activity Cost And not Total Activity Cost (in one cell)? Thank you in advance.


View more questions Search