Jump to content
Sign in to follow this  
redza

Formula Dalam Ms Excel

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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))

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...