+ Reply to Thread
Results 1 to 9 of 9

Chosen value from a table to correspond to a specific entry

  1. #1
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Chosen value from a table to correspond to a specific entry

    Hi everyone, I knew how to do this long ago but now Im stuck.

    If you look at Sheet 2, G2 must go find the value in A2 in the table on Sheet1. Then return the value in the top row on Sheet 1 of which column it finds the corresponding value. In this case, Sheet 2 G2 must be 'CCV82'
    Attached Files Attached Files
    Last edited by Schalk; 12-01-2020 at 08:13 AM.

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Chosen value from a table to correspond to a specific entry

    G2 on Sheet2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Re: Chosen value from a table to correspond to a specific entry

    Hi KOKOSEK, it says the formula contains an error

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Chosen value from a table to correspond to a specific entry

    100% works. Try recopy more carefully.

    G
    H
    1
    ALLOCATION
    CHECKED
    2
    CCV82
    7-Jan-19


    G
    H
    1
    ALLOCATION
    CHECKED
    2
    =INDEX(Sheet1!$1:$1,MATCH('Sheet 2'!A2,Sheet1!$2:$2,0))
    7-Jan-19

  5. #5
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Re: Chosen value from a table to correspond to a specific entry

    I tried several times its says error and when I click ok, it highlights the $1,MATCH part

  6. #6
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Chosen value from a table to correspond to a specific entry

    That's probably difference between mine and yours regional settings (how to separate parameters of function)
    Try:

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

  7. #7
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Re: Chosen value from a table to correspond to a specific entry

    This one works, thank you so much!

  8. #8
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Re: Chosen value from a table to correspond to a specific entry

    what if I add a sheet 3 that must do the same as sheet 1, how will the formula change? I tried but sheet 3 still returns the same values as sheet 1

  9. #9
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Chosen value from a table to correspond to a specific entry

    Here:

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



    Sheet1 - contains data to check
    Sheet2 - where do you want to display results and also where parameter is located (in A2)
    so if you want tot use this formula on Sheet3 put Sheet3 in place of Sheet2

+ 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] How to calculate total time-intervals that correspond to a specific criterion
    By esketit in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-03-2018, 05:58 AM
  2. Replies: 4
    Last Post: 08-26-2014, 02:44 PM
  3. Replies: 3
    Last Post: 05-23-2013, 12:09 PM
  4. Replies: 4
    Last Post: 06-22-2012, 11:44 AM
  5. Replies: 22
    Last Post: 06-02-2012, 11:45 AM
  6. Automatic entry from outlook automatically copieo specific table in Access.
    By markDuffy in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2012, 03:55 PM
  7. Looking up specific values which correspond to a number
    By asbccontractorsltd in forum Excel General
    Replies: 1
    Last Post: 03-01-2012, 07:35 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