Frustrated with index

ac66bronco

New Member
Joined
Dec 10, 2014
Messages
29
I am trying to use index and if and left and linking 2 sheets together to no avail

Here is my formula.

=IF(ISERROR(INDEX('[Loan Mod Master List 07-20.xlsb]Sheet1'!$E:$E,1,SMALL(IF(LEFT('[Loan Mod Master List 07-20.xlsb]Sheet1'!$E:$E,1)="G",ROW('[Loan Mod Master List 07-20.xlsb]Sheet1'!$A:$A)),ROW(1:1))-1,1)),"",INDEX('[Loan Mod Master List 07-20.xlsb]Sheet1'!$A:$A,1,SMALL(IF(LEFT('[Loan Mod Master List 07-20.xlsb]Sheet1'!$E:$E,1)="G",ROW('[Loan Mod Master List 07-20.xlsb]Sheet1'!$A:$A)),ROW(1:1))-1,1))

I know it is partially working because it is returning a value from the other sheet. Just not the right one. I want it to bring in the next one and each one subsequently below it.

A1Loan #It will return this
A2123456789I want it to return this.

I have been working at it for a few hours to no avail.

Any help is greatly appreciated.
 
Thank you so much for you explanation.
I mostly use SMALL to get the lowest number on the array that I build, as more or less this example we are talking about. I use a lot as array formula too.
But I agree that the AGGREGATE formula is much more cleaner, and at the same time work around the error arguments, which sometimes can give you a headache.
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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