+ Reply to Thread
Results 1 to 11 of 11

Match data from one cell to a range on another worksheet and return value

  1. #1
    Registered User
    Join Date
    11-08-2017
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    9

    Match data from one cell to a range on another worksheet and return value

    look for Worksheet A A4 value on a range in worksheet B, if it matches, return the value to Worksheet A C4

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: Match data from one cell to a range on another worksheet and return value

    sounds like a VLOOKUP would work for you. Something like =vlookup(a4,'worksheet'!B:B,1,false) based on the info you provided so far (in cell C4).

    EDIT: and if it is a range then make it something like this... =vlookup(a4,'worksheet'!B:C,2,false)
    Last edited by Sam Capricci; 11-08-2017 at 03:28 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

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

    Re: Match data from one cell to a range on another worksheet and return value

    Here's another option:

    C4 =IF(MATCH(A4,'worksheet B'!A:A,0),A4,"No Match")

    This assumes that your range is column A.


    If your range is made up of multiple columns, you can use this:

    C4 =IF(COUNTIF('worksheet B'!A:B,A4),A4,"No Match")
    Last edited by 63falcondude; 11-08-2017 at 03:33 PM.

  4. #4
    Registered User
    Join Date
    11-08-2017
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    9

    Re: Match data from one cell to a range on another worksheet and return value

    Thank you. I dont think I was clear in my question.

    Worksheet A - Column A is a note rates for a certain product
    Worksheet B - note rates for various products at multiple lock periods

    I want to look for the value in column A on worksheet A in a range on worksheet B and if there is a match, return value for column index number 5 from worksheet B to column C on worksheet A

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

    Re: Match data from one cell to a range on another worksheet and return value

    Quote Originally Posted by Ninja79 View Post
    I dont think I was clear in my question.
    No, you were not. Unfortunately, what you are looking for still isn't clear (at least not to me).

    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.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  6. #6
    Registered User
    Join Date
    11-08-2017
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    9

    Re: Match data from one cell to a range on another worksheet and return value

    Thank you. My first time using this forum. I'll add attachment.

  7. #7
    Registered User
    Join Date
    11-08-2017
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    9

    Re: Match data from one cell to a range on another worksheet and return value

    I'm trying to get corresponding pricing for Ratesheet Calc A4 from the range in cash pricing for 30-year fixed rate and return the 50 day price in ratesheet calc C4.

    thank you all.
    Attached Files Attached Files

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

    Re: Match data from one cell to a range on another worksheet and return value

    You didn't include any of the desired results of the formula.

    Try this in C4:

    =INDEX('Cash Pricing'!D:D,MATCH(A4,'Cash Pricing'!B:B,0))

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: Match data from one cell to a range on another worksheet and return value

    this looks like it will do it for you... =VLOOKUP(A4,'Cash Pricing'!B:D,3,FALSE)

  10. #10
    Registered User
    Join Date
    11-08-2017
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    9

    Re: Match data from one cell to a range on another worksheet and return value

    I'm failing miserably today. But this got me the result I was looking for. Thank you very much Sambo kid and 63falcondude

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

    Re: Match data from one cell to a range on another worksheet and return value

    Cheer up, the world is your oyster!

    Glad we could help. Thanks for the rep!

    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. VBA Match Cell Range to Worksheet Name and copy/paste to respective worksheet
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-24-2014, 04:06 PM
  2. Match Cell Value to Worksheet Name Then Copy/ Paste Range to Worksheet
    By matt2072 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2014, 01:23 PM
  3. [SOLVED] reference date time range, return the value into all cell that match datetime range
    By Jarvco13 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-22-2013, 10:39 PM
  4. [SOLVED] Search for String in Range, If Match, Return Matching Cell Value
    By ryanb909 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-21-2013, 02:27 AM
  5. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  6. Replies: 17
    Last Post: 12-05-2012, 09:01 PM
  7. Match cell to cell on another worksheet to return all relevant rows
    By denise6372 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2012, 12:55 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