KASUS 1
Dari data diatas yang ingin kita lakukan adalah mengambil nilai yang paling besar dari kolom dari A sampai G sesuai dengan kriteria judul kolom, hasil yang diinginkan:
Rumusnya:
1. =MAX(OFFSET($A$1;1;MATCH($A$14;$A$1:$G$1;0)-1;COUNTA($A:$A)-1;1))
2. =MAX(OFFSET(INDEX(1:1;MATCH(A14;1:1;0));0;0;ROWS(A:A)))
3. =MAX(INDEX(A:Z;0;MATCH(A14;1:1;0)))
KASUS 2
Hasil yang diinginkan:
Rumusnya:
1. Untuk Nama : =IF(IFERROR(LOOKUP(ROWS(A$1:A1);SUMIF(OFFSET(A$2:C$2;;;ROW($1:$4););"<>")+1;D$3:D$5);"")=0;"";IFERROR(LOOKUP(ROWS(A$1:A1);SUMIF(OFFSET(A$2:C$2;;;ROW($1:$4););"<>")+1;D$3:D$5);""))
2. Untuk Mata Pelajaran : =IF(G3="";"";LOOKUP(COUNTIF(G$3:G3;G3)-1;IFERROR(SUMIF(OFFSET(INDEX(A$3:A$5;MATCH(G3;D$3:D$5;0));;;;ROW($1:$3)-1);"<>");0);T(OFFSET(A$2;0;{0;1;2;0;1;2;0;1;2}))&""))
KASUS 3
Kasus ini adalah tranposing merubah bentuk tabel dari yang multi kolom dan muli baris ke satu kolom saja seperti ini
=IFERROR(INDIRECT(TEXT(AGGREGATE(15;6;(ROW($2:$4)/1%+{1\2\3\4\5})/(A$2:E$4>0);ROW(A1));"R0C00");0);"")
Hasilnya jadi seperti ini
KASUS 4
Hasil yang diinginkan adalah menghilangkan duplikasi nama dan menghilangkan baris kosong (blank) dari tabel diatas, seperti ini hasilnya
Rumusnya (rumus array)
=IFERROR(INDEX(INDEX(TRIM(MID(SUBSTITUTE($A$2:$A$11;" ";REPT(" ";999));TRANSPOSE(999*(ROW(INDIRECT("1:"&MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))-1)+1);999));N(IF(1;1+INT((ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1)/MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";""))))));N(IF(1;1+MOD(ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1;MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))));SMALL(IF(FREQUENCY(IF(INDEX(TRIM(MID(SUBSTITUTE($A$2:$A$11;" ";REPT(" ";999));TRANSPOSE(999*(ROW(INDIRECT("1:"&MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))-1)+1);999));N(IF(1;1+INT((ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1)/MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";""))))));N(IF(1;1+MOD(ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1;MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))))<>"";MATCH(INDEX(TRIM(MID(SUBSTITUTE($A$2:$A$11;" ";REPT(" ";999));TRANSPOSE(999*(ROW(INDIRECT("1:"&MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))-1)+1);999));N(IF(1;1+INT((ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1)/MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";""))))));N(IF(1;1+MOD(ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1;MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))));INDEX(TRIM(MID(SUBSTITUTE($A$2:$A$11;" ";REPT(" ";999));TRANSPOSE(999*(ROW(INDIRECT("1:"&MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))-1)+1);999));N(IF(1;1+INT((ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1)/MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";""))))));N(IF(1;1+MOD(ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11))))-1;MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))))));0));ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11)))));ROW(INDIRECT("1:"&(MAX(1+LEN($A$2:$A$11)-LEN(SUBSTITUTE($A$2:$A$11;" ";"")))*ROWS($A$2:$A$11)))));ROWS($1:1)));"")
KASUS 5
Kasus ke-5 ini adalah mengambil angka berdasar ganjil dan genap kemudian dijumlahkan, rumusnya
1. Untuk Angka Ganjil
=SUMPRODUCT((MOD(--MID($A$2;ROW(OFFSET($A$1;;;LEN($A$2)));1);2)=1)*MID($A$2;ROW(OFFSET($A$1;;;LEN($A$2)));1))
2. Untuk Angka Genap
=SUMPRODUCT((MOD(--MID($A$2;ROW(OFFSET($A$1;;;LEN($A$2)));1);2)=0)*MID($A$2;ROW(OFFSET($A$1;;;LEN($A$2)));1))
FILE EXCEL