+ Reply to Thread
Results 1 to 5 of 5

Find a value from the first column - 2 values, 1 is a number range (EX: 19-20)

  1. #1
    Registered User
    Join Date
    02-12-2021
    Location
    New York, NY
    MS-Off Ver
    365
    Posts
    10

    Find a value from the first column - 2 values, 1 is a number range (EX: 19-20)

    Thank you to all for your support as I'm relearning (and learning new) Excel. I've been able to complete everything on the attached sample file except for F2:F15. Really, I just need the formula for F2 (Subtest SC) and I will figure out the rest (good learning experience for me).

    In short, F2:F15 are found by using the values from C2 (Age is the same for each Subtest) and E (Raw Score, which is entered manually).

    The formula is I tried is in J2 (I didn't expect it to work though because of the number ranges like SC!B9). Just to test my formula I extended the SC worksheet so no number ranges existed (SC_Long). J3 - Same formula but pointing to the SC_Long sheet. If necessary (or easier) I can extend each sheet with number ranges in cells just like I did for SC.

    Once again, any assistance is greatly appreciated.

    Tom
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Find a value from the first column - 2 values, 1 is a number range (EX: 19-20)

    This is just a guess.

    It appears your array, row and column arguments (in the INDEX function) were mixed around the wrong way.

    This in J2 and filled down returns 4 numbers. The rest #N/A.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Let me know how this does for you.
    Dave

  3. #3
    Registered User
    Join Date
    02-12-2021
    Location
    New York, NY
    MS-Off Ver
    365
    Posts
    10

    Re: Find a value from the first column - 2 values, 1 is a number range (EX: 19-20)

    Thanks for the quick response, Dave. I tried it but that didn't do the trick. I thought that the value at the beginning of the formula is what you're supposed to be returning? In this case I used, =INDEX(SC_long[Score] .

    I'm trying to find the Score (A:A) value by looking up the Age (From C2 to tell Excel to look at which of the Headers on SC_long sheet) and the Raw Score (E2, in this case).

    =INDEX(SC_long[Score],MATCH(C2,SC_long[#Headers],0),MATCH(E2,SC_long[[5.0]:[8.0]],0))

    Essentially: Find the Score of a child that is 5.0 years old and has a Raw Score of 24. The array (?) should find B6 (5.0 and 24) and return the value from A6 (15). If the child was 6.0 with a Raw Score of 24, it would find D9 and return the score from A9.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Find a value from the first column - 2 values, 1 is a number range (EX: 19-20)

    OK, gotcha.

    Try this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See column L

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Find a value from the first column - 2 values, 1 is a number range (EX: 19-20)

    This one uses helper columns (N) & O2
    Added named ranges
    PickAges =WC!$B$1:$P$1
    Age =Calculations!$C$2
    SubTest =Calculations!$D$2

    data val list for sub test (D2): P2:P15
    data val list for age: PickAges

    return the age col for the age entered in C2:
    Please Login or Register  to view this content.
    edit:
    this formula will work on cells with values like:
    23-24, 21-22, 19-20 (i.e., no middle values)
    but not like:
    11-13, 13-15, 15-17 (that have at least one intermediate value)
    so it will be best for each cell to have a single value
    :end edit


    return the row for the raw scores (col e):
    Please Login or Register  to view this content.
    Return the standard score (for col F)
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by protonLeah; 03-02-2021 at 10:55 PM.
    Ben Van Johnson

+ 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] Range.Find values with a specific Week and Year Number
    By dddddmex in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-10-2020, 02:17 PM
  2. Range.Find values with a specific Week and Year Number
    By dddddmex in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-09-2020, 12:34 PM
  3. Find n-th large number in different row and column range
    By cincao in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2020, 09:24 PM
  4. Replies: 7
    Last Post: 01-31-2019, 01:17 PM
  5. [SOLVED] Find number in range and return the value in another column
    By HangMan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-10-2017, 01:36 PM
  6. [SOLVED] Find column number from specific range
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2016, 09:12 AM
  7. [SOLVED] find bold number in Column A and copy range to column C
    By joek13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2012, 10:32 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