Results 1 to 6 of 6

Search 2 colums, display the value of a cell between the two results.

Threaded View

  1. #1
    Registered User
    Join Date
    09-03-2008
    Location
    Dallas Texas
    Posts
    35

    Search 2 colums, display the value of a cell between the two results.

    I have three colums of data.

    Column A contains valuse like this : 44a, 44u, 44b, 44a, 44u etc..
    Notice that some of the values repeat.

    Column B contains values that represent length in feet: 12, 10, 8, 15, 17 etc..

    Column C is similar to column A : 44u, 44c, 44u, 44b, 44s etc..
    Again Notice that some of the values repeat.

    I want to search for a value in col. A and Col C and if they equil what im searching for display the length.

    Exampl: I enter the first location in cell d1, and the second location in cell d2
    I would like to then search Col. A for the first loc. and Col. C for the second loc. and return the corrasponding length from col b.

    I have tried the following code and connot get it to work correcly.


    =IF( (MATCH(C11, A2:A6, 0)) = (MATCH(C12, C2:C6, 0) ), INDIRECT(CONCATENATE("B", (MATCH(C11, A2:A6, 0) ) ) ), "LENGTH NOT FOUND")

    I dont know where to begin when using a function that will keep searching and not just stop at the first match.

    I have attached a sample of what i am trying to do.
    Attached Files Attached Files
    Last edited by shg; 09-14-2008 at 12:34 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. search and move active cell to matched data
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2008, 06:56 PM
  2. How to Pick Value of adjacent cell when Search is true
    By tushar@excel in forum Excel General
    Replies: 3
    Last Post: 08-11-2008, 12:36 PM
  3. search for max date and display other cell value
    By cdavenpo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-21-2008, 05:25 PM
  4. Search for and extract word from a cell
    By hmatharo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2007, 10:21 PM
  5. PLEASE HELP! How to display the last cell used in a column?
    By britlizard in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-31-2007, 05:13 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