+ Reply to Thread
Results 1 to 5 of 5

Return Value from 2nd column when value in 1st column matches given criteria

  1. #1
    Registered User
    Join Date
    10-04-2008
    Location
    Perth, Australia
    Posts
    3

    Return Value from 2nd column when value in 1st column matches given criteria

    I have a column containing text values eg M1, T2, M3, A4 etc. and I am trying to return the value (numeric) in a second column to a cell when the text value in the first column is matched.

    I'd appreciate any help with this.

    Thanks.
    Last edited by Russell_K; 10-05-2008 at 12:08 AM.

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848
    What are you trying to do exactly. What is your expected results for the data you have posted? What drives the results?

  3. #3
    Registered User
    Join Date
    10-04-2008
    Location
    Perth, Australia
    Posts
    3

    Clarification

    COLUMN 1 contains M1 T2 M3 M4 T5
    COLUMN 2 contains 2 3 1 0 5

    The data is something like that dewscribed above.

    In a separate cell, I am trying to build a function that finds, for example, the value of M3 in Column 1 and then returns the value in the same row of Column 2. In this example, it would return the value 1.

    I hope this clarifies.
    Last edited by Russell_K; 10-05-2008 at 12:03 AM. Reason: Clarification

  4. #4
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848
    Clear as crystal.

    Assuming the cell that will contain the look up value is in C2 and your table is in A and B columns, use the following:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-04-2008
    Location
    Perth, Australia
    Posts
    3

    Works a treat

    Works exactly as I hoped!!

    Thanks very much for the help.

+ 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. Search from every row of column in a column and return row number
    By cyki in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-11-2008, 09:45 AM
  2. macro (FOR loop and IF's)
    By matino in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2008, 09:10 AM
  3. Min/Max Using Criteria from another Column
    By mgaworecki in forum Excel General
    Replies: 2
    Last Post: 07-11-2008, 11:29 AM
  4. Return Info After Meeting 2 Criteria
    By sabunabu in forum Excel General
    Replies: 13
    Last Post: 09-27-2007, 04:51 PM
  5. Replies: 1
    Last Post: 10-05-2006, 05:56 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