Index/Match two columns with different rows and return 3rd column value

help4me

New Member
Joined
Oct 4, 2016
Messages
2
I am trying to index/match/lookup values from a Quickbooks report that appear on another sheet in two separate columns and on different rows that will return a value from a 3rd column. I have exported a report from Quickbooks that totals based on Class and Sub-Class. I have created a separate sheet of just the class and sub-classes for easier reference, though not sure if needed. The sheet below is re-created monthly with new values. Part of the problem, is that for every Class (B), there is the same sub-class name(C). Please reference the example below. I would like to be able to have a formula on a different sheet that would pull the value for each category and sub-category. Example: I want to lookup/match Construction (B) and Total Los Angeles(C) (under the Construction category) and return the value for Total Los Angeles (N). I would like another formula to do the same for the Contents category (B). I am trying to automate my sheet with these formulas so when I have to redo each month the formulas stay the same and it's just the data that changes on the sheet below and due to the formulas, it automatically pulls the new data. I cut and past from an Quickbooks export to Excel report into the sheet below. I hope this makes sense! Any help would be greatly appreciated! :)

ABCDEFGHIJKLMN
TypeDateNumNameMemoAccountClassDebitCredit
Construction
Los Angeles
Deposit09/02/20162060670TestConstruction:Los Angeles12001 · Undeposited FundsConstruction:Los Angeles466.04
Total Los Angeles0.00466.04
Orange
Deposit09/02/20162640TestConstruction:Orange Deposit12001 · Undeposited FundsConstruction:Orange585.00
Total Orange0.00585.00
Riverside
Deposit09/30/2016VISA 4818TestConstruction:Riverside (partial payment for draw #3)12001 · Undeposited FundsConstruction:Riverside2,000.00
Total Riverside0.002,000.00
San Bernardino
Deposit09/02/20162060587TestBOARD UP Construction:San Bernardino12001 · Undeposited FundsConstruction:San Bernardino600.52
Total San Bernardino0.00600.52
San Diego
Deposit09/12/20160004053101TestConstruction:San Diego12001 · Undeposited FundsConstruction:San Diego10.00
Total San Diego0.0010.00
Ventura
Deposit09/22/20163518TestConstruction:Ventura12001 · Undeposited FundsConstruction:Ventura9,866.70
Total Ventura0.009,866.70
Total Construction0.0013,528.26
Contents
Los Angeles
Deposit09/01/20161614388634TestPO Contents:Los Angeles12001 · Undeposited FundsContents:Los Angeles584.86
Total Los Angeles0.00584.86
Orange
Deposit09/01/20161614388634TestPO Contents:Orange12001 · Undeposited FundsContents:Orange2,334.38
Total Orange0.002,334.38
Riverside
Deposit09/01/20161614388634TestPO Contents:Riverside12001 · Undeposited FundsContents:Riverside3,348.22
Total Riverside0.003,348.22

<tbody>
</tbody>
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top