+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP to return data from multiple columns

  1. #1
    Registered User
    Join Date
    06-20-2016
    Location
    Denver, CO
    MS-Off Ver
    2010
    Posts
    2

    VLOOKUP to return data from multiple columns

    Hey all,

    I am trying to find some sort of VLOOKUP or INDEX formula that will do the following:

    The spreadsheet has two tabs, one summary and one that will calculate monthly IRR's. I'll try to attach a simple example.
    Tab 1: addresses going down column A. Column B has purchase price, C has sale price, D has purchase date, E has sale date.
    Tab 2: addresses going across row 1 with months going down column A.

    What I would like is for tab 2 to be able to find the 1st address, go to tab 1 and find that address and find the purchase price (a simple VLOOKUP) but ALSO find the corresponding purchase date, and then in tab 2, place the purchase price in the correct monthly cell. And then do the same for sale price and date. I did 1 Main St manually so you can see what the end result will be. Hopefully I'm explaining this correctly. The reason it needs to be broken into two tabs (I'm pretty sure) is because I need to get a total cash flow by month across the entire 500 property portfolio.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-18-2014
    Location
    USA
    MS-Off Ver
    2013
    Posts
    142

    Re: VLOOKUP to return data from multiple columns

    Put this in B2 of Sheet 2 and copy across and down as needed.

    Please Login or Register  to view this content.
    Does that work for what you need?

  3. #3
    Registered User
    Join Date
    06-20-2016
    Location
    Denver, CO
    MS-Off Ver
    2010
    Posts
    2

    Re: VLOOKUP to return data from multiple columns

    oh wow. That worked perfect! Just for educational sake, you mind breaking that formula down as to what it's actually doing?

  4. #4
    Forum Contributor
    Join Date
    06-18-2014
    Location
    USA
    MS-Off Ver
    2013
    Posts
    142

    Re: VLOOKUP to return data from multiple columns

    Sure. It is using two SUMIFS formulas and adding them together. The first sumifs formula is looking for purchase price and will sumif Address on Row 1 (from Sheet 2) matches address in Column A (on Sheet 1) and if date in Column A (of Sheet 2) matches date in Column D (of Sheet 1). The second SUMIFS is picking up the Sale Price in a similar fashion. In an instance where the Purchase and Sale happen on the same date for the same address, it would net them together. In most instances, where the purchase and sales prices for the same address happen on different dates it will add purchase price and $0 (because there is no sales price on that date), or sales price and $0 (because there is no purchase price on that date).

    Hope that is a little clearer.

+ 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. VLOOKUP Multiple Columns to return 1 Value
    By lawless1301 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2015, 10:16 AM
  2. Return multiple columns with vlookup when there are multiple matches
    By elapo21 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2013, 07:11 PM
  3. VLOOKUP - Return multiple columns
    By ScaniaR730 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-15-2012, 09:41 AM
  4. vlookup from multiple columns with only one return
    By BRISBANEBOB in forum Excel General
    Replies: 4
    Last Post: 12-19-2008, 07:09 AM
  5. VLOOKUP return multiple matches in columns
    By Gracie789 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2008, 07:38 PM
  6. Can I return multiple columns from a vlookup?
    By carolyn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2006, 05:50 PM
  7. [SOLVED] Vlookup return multiple columns
    By Matt Cromer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-19-2005, 04:05 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