+ Reply to Thread
Results 1 to 3 of 3

Returning Column Title based on cell value

Hybrid View

paulstuartbullock Returning Column Title based... 06-29-2015, 06:08 PM
FDibbins Re: Returning Column Title... 06-29-2015, 06:24 PM
paulstuartbullock Re: Returning Column Title... 07-06-2015, 06:34 PM
  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    14

    Returning Column Title based on cell value

    Hi, I'm working on a student tracking sheet where students have various grades in different subjects. I'm using 'LARGE' to identify their best grades within a selection of subjects, but I need a way of pulling the column reference to accompany a given cell and locate this in the adjacent cell.

    That is, if a student has five grades say in Maths (7), English (5), French (4), Geography (9) and History (8), and I wish to identify not only the top 3 grades, but also the subjects of those grades and have them reported elsewhere: 9, Geography, 8 History, 7 Maths. Can anyone point me in the right direction. I can find a hundred ways of returning the column letter, but not the reference I've created.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Returning Column Title based on cell value

    You could probably use INDEX/MATCH for that, but I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-04-2013
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Returning Column Title based on cell value

    Thank you, that alone has helped hugely. However, I am in the position where I need to take the first three scores and corresponding subjects from one grouping, and the first three from another grouping (Which includes 4th onwards in the first group).

    I ultimately need these six scores, plus the corresponding subjects to be output somewhere.

    The example uploaded has several subjects with an equal score (Perfectly likely), but my formulae only pick up the first value they find and output this twice when this happens, as you can see (Z8 and AB8 are both showing Geography, similarly BE8 and BG8). Also a little unsure if my use of LARGE 4/5/6/7 is the best solution to identify the lower scores in the first group.
    Attached Files Attached Files

+ 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. Returning column title when first value identified
    By Mackay2m in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-16-2015, 03:29 AM
  2. Replies: 1
    Last Post: 06-03-2014, 08:16 AM
  3. Returning column title of the second largest value
    By JoJenkins in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-05-2014, 06:06 PM
  4. Matching a value in a specified row in a table and returning column title
    By katherine578 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-03-2011, 10:33 AM
  5. Replies: 12
    Last Post: 01-13-2011, 03:58 PM

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