Conditional Formula Help

chet645

Board Regular
Joined
Nov 10, 2010
Messages
67
Office Version
  1. 365
Platform
  1. Windows
All, I could really use your help finding a time saving formula. I am trying to extract data from the spreadsheet below that has several thousand rows of data (see table 1 below) to create a nice flat table that I can easily sort, chart, pivot etc. (see table 2 below). In short, I am trying to create a conditional formula in table 2 (cells H4:L4) that will pull the "Amount" in column H of table 1, conditional on the "Charge Code" in column G of table 1. Any help would be much appreciated and would save me a significant amount of time. Thanks in advance.

Table 1:

AZUL Rent Roll 1.27.xlsx
ABCDEFGHIJKLMN
5UnitUnit TypeUnitResidentNameMarketChargeAmountResidentOtherMove InLeaseMove OutBalance
6Sq FtRentCodeDepositDepositExpiration
7Current/Notice/Vacant Residents
8A011/1B DEV590.00t0004335Jesus Sanchez1,655.001pet65.00400.00500.0010/16/20218/31/2023128.50
91rent1,539.00
10Total1,604.00
11
12A021/1B DEV590.00t0004045Melissia Sanchez1,655.001rent1,167.00900.000.0010/7/202010/31/20220.00
13Total1,167.00
14
15A031/1B DEV590.00VACANTVACANT1,655.000.000.000.000.00
16Total0.00
17
18A041/1B DEV590.00t0004047Breana Henry1,655.001rent1,215.001,119.000.003/11/20213/10/2022556.73
19Total1,215.00
20
21A051/1BX590.00t0005923. Divinity Prophet and Associates1,805.001rent1,965.00500.000.008/8/20227/5/2023-4.38
22Total1,965.00
23
24A061/1B DEV590.00t0004049Tina Liukko1,655.001rent1,210.00400.000.009/25/20186/7/20220.00
25Total1,210.00
26
27A072/2B DEV880.00t0004547Christian Villagomez1,985.001rent1,800.00500.000.0011/15/202110/14/2022186.57
28Total1,800.00
29
30A082/2B DEV880.00VACANTVACANT1,985.000.000.000.000.00
31Total0.00
32
33A092/2B DEV880.00t0004841Brenda Zurita1,985.001rent2,145.00900.000.006/9/20225/8/2023272.49
34Total2,145.00
35
36A102/2B DEV880.00t0004053Michael Malet1,985.001rent1,623.003,454.000.008/8/20217/31/2023-1.53
37Total1,623.00
38
39A111/1B DEV590.00t0004054Sara Canelli *EV1,655.001rent1,078.00539.000.006/18/20206/17/20212/18/20237,734.63
40Total1,078.00
41
42A121/1B DEV590.00t0004055Sandra Hutchinson1,655.001rent1,255.00400.000.005/7/20215/6/20223.65
43Total1,255.00
44
45A131/1B DEV590.00t0004056Heather Sharp1,655.001rentprk75.00400.000.0011/18/202011/17/2021-128.50
461rent1,203.00
47Total1,278.00
48
49A141/1B DEV590.00t0004840Brenda Esquivel1,655.001rent1,735.00400.000.006/1/20224/30/20230.00
50Total1,735.00
51
52A151/1B DEV590.00t0004058Nathanael Nash1,655.001rentprk75.00400.000.004/1/20213/31/20220.00
531rent1,255.00
54Total1,330.00
55
56A161/1BX590.00t0006137Herbert Scott1,805.001rent1,605.00400.000.0011/25/202210/24/2023-0.91
57Total1,605.00
Report1


Table 2:

AZUL Rent Roll 1.27.xlsx
ABCDEFGHIJKL
2Rent Type
3UnitUnit TypeSFResident CodeMove-InLease Exp.1pet1rent1rentprk1rensec81renman
4A011/1B DEV590t000433510/16/218/31/23650000
5A021/1B DEV590t000404510/7/2010/31/22
6A031/1B DEV590VACANT1/0/001/0/00
7A041/1B DEV590t00040473/11/213/10/22
8A051/1BX590t00059238/8/227/5/23
9A061/1B DEV590t00040499/25/186/7/22
10A072/2B DEV880t000454711/15/2110/14/22
11A082/2B DEV880VACANT1/0/001/0/00
12A092/2B DEV880t00048416/9/225/8/23
13A102/2B DEV880t00040538/8/217/31/23
14A111/1B DEV590t00040546/18/206/17/21
15A121/1B DEV590t00040555/7/215/6/22
16A131/1B DEV590t000405611/18/2011/17/21
17A141/1B DEV590t00048406/1/224/30/23
18A151/1B DEV590t00040584/1/213/31/22
19A161/1BX590t000613711/25/2210/24/23
20B011/1B DEV590t00043209/8/218/7/22
21B021/1BX590t000619311/4/2210/3/23
Sheet1
Cell Formulas
RangeFormula
F4:F21F4=SUMIFS(Report1!$K$8:$K$947,Report1!$D$8:$D$947,Sheet1!$E4)
G4:G21G4=SUMIFS(Report1!$L$8:$L$947,Report1!$D$8:$D$947,Sheet1!$E4)
H4:L4H4=SUMIFS(Report1!$H$8:$H$947,Report1!$D$8:$D$947,Sheet1!$E4,Report1!$G$8:$G$947,Sheet1!H$3)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Don't mean to pester the group, but trying one last time to see if someone has any suggestions. Let me know if something is not clear.
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,024
Members
449,092
Latest member
ikke

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