CHALLENGE: regarding an Index/Match Formula

yungintern

New Member
Joined
Jul 20, 2017
Messages
11
Hi all,

I'm working on a spreadsheet that requires me to look up payment schedules based on a property's geocode between two sheets. The tricky part, however, is that I must match three different types of payment (tax, operating expenses, and rent) for each geo code.

To make things more complicated, the field that I am using to match these three subtypes must correspond to a different code in the other sheet. For example. "Rent" in Sheet2 must match the code 1.1 in Sheet1.

Here is what I have so far, simplified through a dummy spreadsheet but the idea remains the same. In my example Rent=1.1 Operating Expense= 1.2, and Tax=1.3.

{=INDEX(Sheet1!B:L,MATCH(0,(Sheet2!,J:J=C2)*(Sheet2!,B:B=E2),0,),9)}

I think the problem may lie in the red text but honestly idk.

Basically I want the formula to work like this: Find the property based on geocode, determine the type of payment by converting the text from sheet2 to the code on sheet1, and return the correct payment amount.

Thanks for the help.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Sheet1

Payment Code

Geo CodePayment Amount
1.1AAAAAA$100.00
1.2AAAAAA$200.00
1.3AAAAAA$300.00
Sheet2

Payment Type Geocode Payment
RentAAAAAA
TaxBBBBBB
Operating ExpensesCCCCCCC

<colgroup><col><col span="5"></colgroup><tbody>
</tbody>

<colgroup><col span="10"><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,328
Messages
6,124,299
Members
449,149
Latest member
mwdbActuary

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