Formula Reduction

rilzniak

Active Member
Joined
Jul 20, 2012
Messages
288
I have another three formulas I'm hoping someone can review and provide feedback on:

1) Array formula: =IF($A3="","",INDEX(Inputs!$B:$S,SMALL(IF(Inputs!$B:$B=$A$1,ROW(Inputs!$B:$B)),ROW(1:1)),COLUMN(C1)))

2) Array formula: =IFERROR(INDEX(Inputs!$A:$S,SMALL(IF(Inputs!$A:$A=$A$1,ROW(Inputs!$A:$A)),ROW(1:1)),COLUMN(B1)),"")

3) =IF($A3="","",INDIRECT("'Inputs'!"&ADDRESS(MATCH($A$1,Inputs!$A:$A,0),COLUMN(C1),4)))

Suggestions on how to make any of these better?

Ryan
 
A small modification:

Code:
1) =IF($A3="","",IFERROR(INDEX(Inputs!$C$1:$S$2000,SMALL(IF(Inputs!$B$1:$B$2000=$A$1,ROW(Inputs!$B$1:$B$2000)-ROW(Inputs!$B$1)+1),ROWS(B$3:B3)),COLUMNS($B3:B3)),""))

2) =IFERROR(INDEX(Inputs!$B$1:$S$2000,SMALL(IF(Inputs!$A$1:$A$2000=$A$1,ROW(Inputs!$A$1:$A$2000)-ROW(Inputs!$A$1)+1),ROWS(A$3:A3)),COLUMNS($A3:A3)),"")

3) =IF($A3="","",INDIRECT("'Inputs'!"&ADDRESS(MATCH($A3,Inputs!$A$1:$A$2000,0),COLUMNS($C3:C3)+COLUMN(Inputs!$C$1)-1)))

Markmzz
 
Last edited:
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
A3, control+shift+enter, not just enter, copy down, and across:
Rich (BB code):
=IFERROR(INDEX(Inputs!C$1:C$2000,SMALL(IF(Inputs!$A$1:$A$2000=$A$1,
  ROW(Inputs!$A$1:$A$2000)-ROW(Inputs!$A$1)+1),ROWS(A$3:A3))),"")

Awesome! Thanks! I'm still trying to learn Excel. Any valuable advice you can share on where to learn, or what to read?
 
Upvote 0

Forum statistics

Threads
1,215,580
Messages
6,125,653
Members
449,245
Latest member
PatrickL

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