Hi,
I have a wide range of array formula in a sheet but cannot afford to go through each one of them individually and pressing Ctrl + Shift + Enter everytime. After some research, I found there 2 ways that can alleviate this issue. Either by converting the formula to an AGGREGATE formula (preferable) or do it via VBA coding. Ive tried and watch many youtube videos in vain.
=INDEX(Database!C4:C1200,SMALL(IF($L$3=Database!G4:G1200,ROW(Database!G4:G1200)-ROW(Database!G4)+1),2))
Then for each cell down, it increases the n-th number of the formula at the end, so it goes on:
=INDEX(Database!C4:C1200,SMALL(IF($L$3=Database!G4:G1200,ROW(Database!G4:G1200)-ROW(Database!G4)+1),3))
=INDEX(Database!C4:C1200,SMALL(IF($L$3=Database!G4:G1200,ROW(Database!G4:G1200)-ROW(Database!G4)+1),4))
=INDEX(Database!C4:C1200,SMALL(IF($L$3=Database!G4:G1200,ROW(Database!G4:G1200)-ROW(Database!G4)+1),5))
.....
=INDEX(Database!C4:C1200,SMALL(IF($L$3=Database!G4:G1200,ROW(Database!G4:G1200)-ROW(Database!G4)+1),40))
Can anyone help please ? thanks a lot!!! much appreciated
Brian
Bookmarks