+ Reply to Thread
Results 1 to 7 of 7

Trying to search a column and match values

  1. #1
    Registered User
    Join Date
    03-25-2018
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Trying to search a column and match values

    Hi,

    First of all, I've tried a lot of fixes to get the two different date formats (column A saved as text and I can't get it to be a date) so I can match values from 2 columns. Basically what I want to do is match a date in column A with a date in column D, then use the value in E that corresponds to the date in D to multiply column B by E. I was trying to use the MATCH function and IF but I'm just completely lost now. I hope this description of what I'm trying to do makes sense. Or maybe there's just and easier way to do it that I don't see.

    Thanks for the help!
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Trying to search a column and match values

    =DATEVALUE(A3) works

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,930

    Re: Trying to search a column and match values

    Difficult to know exactly what you need without some manually created examples, but the formula below in G3 and copied down might help you in the right direction:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The part in red multiplies the text date by 1 which coerces is into a date rather than text which you can then use int he lookup.

    BSB

  4. #4
    Registered User
    Join Date
    03-25-2018
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Re: Trying to search a column and match values

    Both of those formulas both give me a #VALUE result. I put in some manually created examples. To clarify, I want column B and its corresponding date in A, multiplied by the column E for the same date.
    Attached Files Attached Files

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,930

    Re: Trying to search a column and match values

    I've applied the formula from post #3 to the attached.
    Works fine for me and gives your expected results too.

    BSB
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-25-2018
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Re: Trying to search a column and match values

    It's working in the file you uploaded, this is great. Thanks so much for the help! I have about 700 lines of this to convert and I was starting to think I'd have to do it manually!

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,930

    Re: Trying to search a column and match values

    Glad I could help (and save you some time!)

    BSB

+ 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. Replies: 6
    Last Post: 09-03-2015, 09:51 PM
  2. [SOLVED] Return Multiple values from a column with index and match, and search criteria
    By marcusduton in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 02-15-2015, 09:59 PM
  3. Replies: 3
    Last Post: 03-21-2014, 03:29 AM
  4. Replies: 4
    Last Post: 10-28-2013, 10:57 AM
  5. Replies: 7
    Last Post: 08-04-2013, 03:41 PM
  6. [SOLVED] Match search terms, and add data in next column. Multi search problem.
    By Wales MB in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-23-2013, 06:10 PM
  7. Search and Find Match Values and Paste Match Values to a Row
    By jeffheartnet in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-26-2012, 08:34 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