Originally Posted by
azumi
If I may make a change on your workbook for easy setup for formula, I change the sheet name with the number
For CESE put this on A5 and copied down
=IFERROR(VLOOKUP($B$1,INDIRECT("'"&INDEX({1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31},AGGREGATE(15,6,1/(1/{1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31}*(COUNTIFS(INDIRECT("'"&{1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31}&"'!B3:B100"),$B$1)=1)),ROW(A1)))&"'!$B$3:$B$100"),1,0),"")
For Total M, put this on B5 and copied down
=IFERROR(VLOOKUP($B$1,INDIRECT("'"&INDEX({1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31},AGGREGATE(15,6,1/(1/{1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31}*(COUNTIFS(INDIRECT("'"&{1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31}&"'!B3:J100"),$B$1)=1)),ROW(B1)))&"'!$B$3:$J$100"),6,0),"")
For Total H Put this on C5 and copied down
=IFERROR(VLOOKUP($B$1,INDIRECT("'"&INDEX({1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31},AGGREGATE(15,6,1/(1/{1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31}*(COUNTIFS(INDIRECT("'"&{1\2\3\4\5\6\7\8\9\10\11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31}&"'!B3:M100"),$B$1)=1)),ROW(C1)))&"'!$B$3:$M$100"),9,0),"")
Hope this helps, and if not hope other member can help you
Bookmarks