redza 0 Report post Posted March 21, 2012 Salam semua. Nak tanya pada yang mahir dalam Formula Ms Excel. Katakanlah kita ada data 100 nama. Setiap data tu ada nombor ic dalam satu colum. Contoh 750926081234. Kita nak bahagian kepada 3 colum yang berlainan. Contoh colum B kita nak 750926, colum C kita nak 08 dan colum D kita nak 1234 sahaja. Boleh tolong ajar tak macam mana nak bahagi no ic tadi menggunakan formula. Maaf dulu aku ada belajar buat tapi dah tak ingat formula tu. COLUM A | COLUM B | COLUM C | COLUM D ----------------------------------------------- 750926081234 |750926 | 08 | 1234 [b]Dari colum A jadi macam colum B,C & D[/b] Lagi satu kita ada tarikh lahir dalam colum A. Contoh 12/02/1976. Dia akan bersara pada umur 60 tahun dalam colum B. Jadi kita nak tahu tarikh dia akan bersara semasa umur 60 tahun ialah 12/02/2036 dalam colum C. Boleh ajar formula macam mana nak buat pengiraan tu COLUM A | COLUM B | COLUM C ------------------------------------- 12/02/1976 | 60 | 12/02/2036 [b]Kalau kita masukkan umur bersara dalam colum B, secara automatik tarikh bersara akan dipaparkan dalam colum C[/b] Quote Share this post Link to post Share on other sites
biskut merry 1 Report post Posted March 21, 2012 SALAM, [color=#282828][font=helvetica, arial, sans-serif][size=3]COLUM A | COLUM B | COLUM C | COLUM D[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]-----------------------------------------------[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]750926081234 |750926 | 08 | 1234[/size][/font][/color] [b]Dari colum A jadi macam colum B,C & D[/b] yang ni ble guna function MID [color=#282828][font=helvetica, arial, sans-serif][size=3] COLUM B | COLUM C | COLUM D[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]-----------------------------------------------[/size][/font][/color] =MID(A1,1,6) |=MID(A1,7,2) | =MID(A1,9,4) [color=#282828][font=helvetica, arial, sans-serif][size=3]COLUM A | COLUM B | COLUM C[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]-------------------------------------[/size][/font][/color] guna formula ni dekat column C =DATE(YEAR(A)+B,MONTH(A),DAY(A)) Quote Share this post Link to post Share on other sites