+ Reply to Thread
Results 1 to 3 of 3

Returning a value by matching two dates

  1. #1
    Registered User
    Join Date
    04-25-2017
    Location
    Sweden
    MS-Off Ver
    Microsoft Office 365 ProPlus Version 2002
    Posts
    27

    Returning a value by matching two dates

    Hello,

    I have made an excel to illustrate what i want to do.

    In the two grey fields in Column B & C, I want to retrieve the value in the rows "Investment I, Investment 2 & Investment 3" at the respective date, which is shown in the row under it.

    I've tried using the LOOKUP formula as you can see without success. Also I dont know how to include the triple condition of 3 different investments for 3 different dates....

    Can anyone aid me in this?

    /Peter
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,500

    Re: Returning a value by matching two dates

    Is this what you are looking for? For the sake of your scrolling finger, I hid rows 9:948. I used this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you would prefer zeros to blanks, replace "" with 0
    Attached Files Attached Files
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    21,057

    Re: Returning a value by matching two dates

    It's not very clear what you want, but try this formula in B9:

    =IF($A9=B$3,B$2,0)+IF($A9=B$5,B$4,0)+IF($A9=B$7,B$6,0)

    Note that you may need to use semicolons ( ; ) instead of commas ( , ) in the formula, depending on your regional settings.

    Then copy it into C9, and then copy both formulae down as far as you need them.

    Hope this helps.

    Pete

+ 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. [SOLVED] Returning specific dates, ignoring already returned dates
    By FP91 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-16-2018, 07:02 AM
  2. returning dates in between dates that matches a specific name
    By dpons in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2015, 08:28 PM
  3. Replies: 10
    Last Post: 09-04-2013, 08:34 PM
  4. Replies: 3
    Last Post: 01-04-2012, 01:42 AM
  5. Matching dates and returning another column
    By jmoorc in forum Excel General
    Replies: 8
    Last Post: 11-30-2011, 07:49 PM
  6. Matching two columns and returning third value
    By snashte in forum Excel General
    Replies: 4
    Last Post: 08-01-2010, 01:30 AM
  7. Finding a matching value & returning another value
    By JJanssen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2009, 06:19 PM

Tags for this Thread

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