New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

Formulas with letters

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

Formulas with letters

Postby johannaclark » Mon Feb 08, 2016 5:01 am

Hi,

I'm sure this has come up before, but I can't find it anywhere! I'm a teacher ad I need to work out if my pupils have met their target grade or not. For example, I have column B with target grades A*- G + U and and test results also as letters further along. I need a column that returns the results +1 if they are 1 above, = if they are no target, or -1 etc if they are below. Any helpers?
  • 0

johannaclark
Rookie
 
Posts: 2
Joined: Feb 8, 2016
Reputation: 0
Excel Version: vista

Re: Formulas with letters

Postby pecoflyer » Mon Feb 08, 2016 5:47 am

Hi and welcome to the board
could you please post a small sample sheet ( no pics please) showing what you have and expected results.
Thx
  • 0

A relevant topic title helps get faster and more answers
pecoflyer
Moderator
 
Posts: 1274
Joined: Jan 24, 2012
Location: Belgium
Reputation: 39
Excel Version: 2003/2007/2010

Re: Formulas with letters

Postby johannaclark » Mon Feb 08, 2016 6:48 am

It's ok - I've just worked it out! :D I gave each grade a numerical reference (A*=1) etc, did a vlookup table =LOOKUP(D2,$L$10:$M$18), then a IF to compare the two =IF(E2=C2,"+",IF(E2<C2,"+",IF(E2>C2, "-")))
Bingo!
  • 0

johannaclark
Rookie
 
Posts: 2
Joined: Feb 8, 2016
Reputation: 0
Excel Version: vista

Re: Formulas with letters

Postby pecoflyer » Mon Feb 08, 2016 9:31 am

Thank you for sharing
You can also shorten a bit =IF(E2>C2, "-","+")
  • 0

A relevant topic title helps get faster and more answers
pecoflyer
Moderator
 
Posts: 1274
Joined: Jan 24, 2012
Location: Belgium
Reputation: 39
Excel Version: 2003/2007/2010


Return to General Excel Questions

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 124 guests