+ Reply to Thread
Results 1 to 6 of 6

Help creating a Search and Match function that pulls from a specific cell based on a match

  1. #1
    Registered User
    Join Date
    03-29-2018
    Location
    California
    MS-Off Ver
    14.7.7
    Posts
    6

    Help creating a Search and Match function that pulls from a specific cell based on a match

    Im a basic excel user who needs help creating a formula that is above my knowledge level of excel. Apologies if I use the wrong terms.

    I have an excel document with multiple sheets. I need to pull information from other sheets and pull to the main sheet based on information in two different columns.

    Example: Sheet 1 cell A12 contains "2016" cell B12 contains "CS1A" cell C12 is an empty cell. I would like to automatically pull info from sheet 2 and add to cell C12. I need the formula to search sheet 2 for the row which contains a cell that contains "2016" and a cell that contains "CS1A" and return the information from the last cell in that row which contains info and return it to sheet 1 cell C12.

    Thank you for your help.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Help creating a Search and Match function that pulls from a specific cell based on a m

    Hello and welcome to the forum.

    Attach a sample workbook.
    Make sure there is just enough data to demonstrate your need.
    Make sure your desired results are shown, mock them up manually if necessary.
    Remember to desensitize the data.

    To upload an Excel workbook, follow these steps:
    1) Click on "Go Advanced"
    2) Click on "Manage Attachments"
    3) Click on "Choose File"
    4) Choose your file and click on "Open"
    5) Click on "Upload"
    6) Click on "Close this window"

  3. #3
    Registered User
    Join Date
    03-29-2018
    Location
    California
    MS-Off Ver
    14.7.7
    Posts
    6

    Re: Help creating a Search and Match function that pulls from a specific cell based on a m

    Ok thanks for the info on uploading. I just added a sample doc.

    In this doc I need to search sheet 2 for the row that matches the info in Columns B and C from sheet 1 then pulls the latest cost into the cell in column D
    Attached Files Attached Files

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Help creating a Search and Match function that pulls from a specific cell based on a m

    Here's one way that uses a helper column.

    Cost Sheet H3 =LOOKUP(2,1/(C3:G3<>""),C3:G3) Drag this formula down through row 14.

    Master Sheet D2 =INDEX('Cost sheet'!H$3:H$14,INDEX(MATCH(B2&C2,'Cost sheet'!A$3:A$14&'Cost sheet'!B$3:B$14,0),0)) Drag this formula down through row 13.

  5. #5
    Registered User
    Join Date
    03-29-2018
    Location
    California
    MS-Off Ver
    14.7.7
    Posts
    6

    Re: Help creating a Search and Match function that pulls from a specific cell based on a m

    Awesome! Wow I spent an hour messing with formulas and you nailed it in minutes. Thank you very much.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Help creating a Search and Match function that pulls from a specific cell based on a m

    My pleasure. Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Creating INDEX MATCH MATCH formula based off text in cells
    By bbkdude in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-26-2017, 10:37 AM
  2. Replies: 0
    Last Post: 09-21-2013, 09:03 PM
  3. Search function, for specific text, but need to match if it starts with
    By andy.k in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2013, 06:45 PM
  4. [SOLVED] Summary Worksheet that pulls data based on a date match
    By reyaingle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-12-2013, 12:33 PM
  5. using offset function to create dynamic range based on a match search
    By freddiethomas in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-08-2013, 05:34 AM
  6. using offset function to create dynamic range based on a match search
    By freddiethomas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2013, 04:14 AM
  7. Index/Match Formulas - Search/Filter Based on Specific Criteria
    By Christopher.Belanger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-10-2012, 08:42 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