Tecnologia, programação e muito Visual FoxPro.

terça-feira, 4 de dezembro de 2012

]] XL-mania [[ Merubah Mega Formula ribuan

 

Mohon bantuannya pada teman-teman XL mania, gmn cara merubah mega formula berikut (formula ini maksimal 999,99):

=IF(--INT(B11)=0;"Nol ";IF(--(LEFT(TEXT(INT(B11);"000")))=1;"Seratus ";IF(--(LEFT(TEXT(INT(B11);"000")))>1;INDEX(N;--(LEFT(TEXT(INT(B11);"000"))))&"Ratus ";"")))&IF(--(MID(TEXT(INT(B11);"000");2;1))=0;"";IF(--(MID(TEXT(INT(B11);"000");2;1))=1;CHOOSE((--(RIGHT(TEXT(INT(B11);"0")))=0)*1+((--(RIGHT(TEXT(INT(B11);"0")))=1)*2)+((--(RIGHT(TEXT(INT(B11);"0")))>1)*3);"Sepuluh ";"Sebelas ";INDEX(N;--(RIGHT(TEXT(INT(B11);"0"))))&"Belas ");IF(--(MID(TEXT(INT(B11);"000");2;1))>1;INDEX(N;--(MID(TEXT(INT(B11);"000");2;1)))&"Puluh ")))&IF(OR(--(MID(TEXT(INT(B11);"000");2;1))=1;--(RIGHT(TEXT(INT(B11);"0")))=0);"";INDEX(N;--(RIGHT(TEXT(INT(B11);"0")))))&"Koma "&IF(--LEFT(TEXT(MOD(B11;1)*100;"00"))=0;"Nol ";INDEX(N;LEFT(TEXT(MOD(B11;1)*100;"00"))))&IF(--RIGHT(TEXT(MOD(B11;1)*100;"00"))=0;"Nol ";INDEX(N;RIGHT(TEXT(MOD(B11;1)*100;"00"))))

Menjadi ribuan, misal 1.500,56 (Seribu lima ratus koma lima enam)
mohon bantuannya, untuk saya gunakan mengisi rapot.

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| Selamat jalan SitiVi, semoga bahagia di sisi-Nya...               |
| Maaf moderasi lemooOooOott... momods siboek                       |
+-------------------------------------------------------------------+
| DILARANG : MLM, money game, OOT, iklan tanpa izin, SARA, testing, |
| pembicaraan pribadi, one line message,  melecehkan,  tidak sopan. |
+-------------------------------------------------------------------+
| Buat subjek yang kreatif, jangan : "tanya", "help", "mohon bantu" |
| Usahakan besar attachment < 200 kb. Gunakan  winzip  jika  perlu. |
+-------------------------------------------------------------------+
| Ajak teman-teman Anda bergabung dengan mengirim e-mail kosong ke  |
| XL-mania-subscribe@yahoogroups.com atau kirimkan mereka file dari |
| http://groups.yahoo.com/group/XL-mania/files/Promotion/           |
+-------------------------------------------------------------------+
| Berikan testimoni di :                                            |
| http://www.xl-mania.com/2008/06/testimoni-xl-mania.html           |
+-------------------------------------------------------------------+
| Message lama ada di :                                             |
| http://groups.yahoo.com/group/XL-mania/messages [perlu yahoo id]  |
| http://www.mail-archive.com/xl-mania@yahoogroups.com              |
+-------------------------------------------------------------------+
.

__,_._,___

Nenhum comentário:

Arquivo do blog