+ Reply to Thread
Results 1 to 4 of 4

Multiple Criteria IF, INDEX, or VLOOKUP

Hybrid View

  1. #1
    Registered User
    Join Date
    09-10-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    13

    Multiple Criteria IF, INDEX, or VLOOKUP

    I have a storage rental sheet with multiple pages.

    Theres three pages (Financials, Storage Rent, Renters)

    The "Renters" Page has the names of the people renting with their rental rates, start dates, end dates.
    The "Storage Rent" Page is has the storage units with organized by month with dropdowns so I can select if Rent is (Paid, Due, Vacant)
    The "Financials" Page has the overall rental income organize by type of rental and by month.

    I am stuck trying to set up a formula on the Financials page to do the following:
    Sum all the rent based on Categories (Storage Units, Parking, RV) per month
    Criteria that formula needs to check for:
    1. If storage unit #X is paid to lookup the rent rate from the renters page
    2. Only sum the renters that are "Paid" and active in the month its associated with

    I've attached an excel workbook that may help you see what I'm trying to accomplish.

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Multiple Criteria IF, INDEX, or VLOOKUP

    First, a word about tables. You don't need to fill out the blank rows on tables. When you enter anything in on a row immediately below or immediately to the right of a table, it becomes part of the table. It will also copy down, formulas, formats or whatever from the rows above. So I truncated your tables to contain only those rows that actually have data. I also renamed them:

    Renters is Table_Renters, and I made units a table Table_Units and I created a payments table, Table_Payments.

    I also "cheated" a bit. I used the table names in the data validations, so if you want to validate for Units, use = INDIRECT("Table_Units[Units]"). The list will grow if you add things to the table.

    You could scratch your head and work out individual formulas to look up and sum data or let Excel do the dirty work in a pivot table. Pivot tables work IF you can get the data into a good format. That's where the payments table comes in. I'll explain it in a minute.

    Fill in the renters' table as you have been doing.

    You notice that I added an extra column to the units table to show the type of unit.

    The payments table has data in a "normalized" format that is suitable for use with a pivot table.

    When a person makes a payment, enter the date in column A. This will open a new line in the table. Enter the tenant's name using the drop-down list in column B. The lookup for this is from the tenants table. The information in columns C & D is looked up based on the tenant's name from the tenants table and the type of unit is looked up based on the unit "name" from the units table.

    The data is now ready for a pivot table. The pivot table will grow automatically as time and payments go by. It also has the advantage of keeping monthly totals and a running total for the year and overall.

    Use the payment table instead of the Storage Rent sheet to record payments. I think the drop-downs are easier to use than trying to find the intersection of a tenant and a unit. Also you can keep several years of data without ever having to "extend" the matrix.

    The pivot automatically takes care of he financials for you.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    09-10-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    13

    Re: Multiple Criteria IF, INDEX, or VLOOKUP

    Quote Originally Posted by dflak View Post
    First, a word about tables. You don't need to fill out the blank rows on tables. When you enter anything in on a row immediately below or immediately to the right of a table, it becomes part of the table. It will also copy down, formulas, formats or whatever from the rows above. So I truncated your tables to contain only those rows that actually have data. I also renamed them:

    Renters is Table_Renters, and I made units a table Table_Units and I created a payments table, Table_Payments......
    dflak,

    I've been messing with the pivot tables and am starting to get the hang of it. The last speedbump I am hitting is combining two pivot tables to create a master financial sheet. Or being able to add categories to a pivot table without them being associated with each other.

    My goal is to have a financial summary on one pivot table. Showing rental income and expenses sub categorized how I have the current pivot tables. Can this be done with the Income and Expenses being on two separate tables?


    I've attached what I have so far.

    Thanks,
    Attached Files Attached Files

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Multiple Criteria IF, INDEX, or VLOOKUP

    There is a thing called Power Pivot which is a part of Excel 2016. I've only looked at it once or twice. It's one of several remaining corners of the Excel universe I've not explored. I've only sent a couple of probes

    Power pivot will let you combine two tables provided that there is an overlap in the fields in the tables. I suggest you do a web search for some tutorials. It seems easy enough, but involves some manual steps. I prefer to use VB to merge the tables sort of like a UNION query in SQL. I have some "standard" code to do this.

+ 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] How to use vlookup or index match with multiple criteria
    By devawad in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2018, 08:02 AM
  2. [SOLVED] VLOOKUP/INDEX multiple criteria
    By 3345james in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2016, 02:50 PM
  3. Multiple criteria vlookup with INDEX and MATCH
    By Ljung in forum Excel General
    Replies: 5
    Last Post: 05-26-2016, 04:45 AM
  4. Vlookup (or index/match) with multiple criteria over multiple sheets
    By Groovicles in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2013, 01:56 PM
  5. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  6. [SOLVED] Index, match, vlookup with multiple criteria
    By saniamarco in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-29-2012, 07:16 PM
  7. [SOLVED] VLOOKUP (multiple criteria) vs. INDEX and MATCH
    By B-dub in forum Excel General
    Replies: 3
    Last Post: 04-13-2012, 06:23 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