+ Reply to Thread
Results 1 to 7 of 7

Representing numbers as characters

  1. #1
    Forum Contributor
    Join Date
    07-08-2022
    Location
    Baghdad
    MS-Off Ver
    365
    Posts
    145

    Representing numbers as characters

    Representing numbers as characters

    I have students' marks for 14 subjects (D1-Q1), what is the best method, and how can represent these marks as characters such that if the degree:

    A 90-100

    B 80-89

    C 70-79

    D 60-69

    E 50-59

    F <50

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Representing numbers as characters

    why would you use them as strings? they are numbers and can be used in math.

    youd have a table like you showed:
    grade, LowEnd, HiEnd
    A, 90, 100
    B, 80, 89
    ...etc

    then run the score against the table to get the grade.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Representing numbers as characters

    With VLookup

    D12=VLookup(D3,$C$21:$D$26,2,1) and drag across.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Contributor
    Join Date
    07-08-2022
    Location
    Baghdad
    MS-Off Ver
    365
    Posts
    145

    Re: Representing numbers as characters

    Thanks for your reply
    What "1" means in the formula? I know should be true or false?
    =VLOOKUP(D3,$C$21:$D$26,2,1)

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Representing numbers as characters

    0=True
    1=False

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Representing numbers as characters

    It's the other way around
    0 = FALSE (exact match)
    1 = TRUE (approximate match)

  7. #7
    Forum Contributor
    Join Date
    07-08-2022
    Location
    Baghdad
    MS-Off Ver
    365
    Posts
    145

    Re: Representing numbers as characters

    Many thanks all.

+ 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] Subtracting numbers representing Weeknum
    By Vassen in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-08-2018, 09:08 AM
  2. [SOLVED] Letters representing numbers
    By borkoborko39 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2018, 03:35 PM
  3. Find characters in a cell containing characters and numbers
    By T86157 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-02-2016, 08:21 PM
  4. Replies: 5
    Last Post: 01-06-2014, 03:31 PM
  5. [SOLVED] Can I have words representing numbers in a formula?
    By PeterM in forum Excel General
    Replies: 4
    Last Post: 08-07-2006, 04:35 PM
  6. [SOLVED] how to convert whole numbers representing seconds to mm:ss
    By Elvin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2006, 01:49 PM
  7. FORMULAS FOR ADDING LETTERS REPRESENTING NUMBERS
    By koolone in forum Excel General
    Replies: 1
    Last Post: 04-08-2005, 08:06 AM

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