Tecnologia, programação e muito Visual FoxPro.

terça-feira, 20 de julho de 2010

Re: ]] XL-mania [[ Tolong dibantu, cara lain buat formula range..

 

Misal data yang mau dibulatkan ada di cell A1.

Coba formula ini:
=IF(A1-INT(A1)<=0,12;0;IF(A1-INT(A1)<=0,37;0,25;IF(A1-INT(A1)<=0,62;0,5;IF(A1-INT(A1)<=0,82;0,75;1))))+INT(A1)

Jika isi cell A1 berupa angka, tapi bersifat TEXT, maka harus dimodif
dulu.
Misal format di A1: 1.66
=IF(MID(A1;FIND(".";A1)+1;2)*1<=12;0;IF(MID(A1;FIND(".";A1)+1;2)*1<=37;0,25;IF(MID(A1;FIND(".";A1)+1;2)*1<=62;0,5;IF(MID(A1;FIND(".";A1)+1;2)*1<=82;0,75;1))))+LEFT(A1;FIND(".";A1)-1)

Jika pakai format US, ganti
"." menjadi ","
"," menjadi "."
";" menjadi ","

Friday, July 16, 2010, 1:39:18 PM, you wrote:

hs> tolong dibantu cara cari formula range..

hs> 0.25 - 0.37 nilai 0.25
hs> 0.38 - 0.62 nilai 0.5
hs> 0.63 - 0.82 nilai 0.75
hs> 0.83 - 1.12 nilai 1
hs> 1.13 - 1.37 nilai 1.25
hs> 1.38 - 1.62 nilai 1.5
hs> 1.63 - 1.82 nilai 1.75
hs> 1.83 - 2.12 nilai 2
hs> 2.13 - 2.37 nilai 2.25
hs> dan seterusnya..

hs> sebenarnya saya sudah bisa tapi dengan manual kaya gini.

hs> F5 diisi dengan IF(AND(B4>=G5,B4<=H5),1,0)
hs> F6 diisi dengan IF(AND(B4>=G6,B4<=H6),1,0)
hs> F7 diisi dengan IF(AND(B4>=G7,B4<=H7),1,0)
hs> dst

hs> Kemudian di B6 diisi dengan
hs> =VLOOKUP(1;F5:I23;4;0)..

hs> ada yang bisakah dengan cara lain?
hs> seperti kaya begini
hs>
=IF(AND(A5-LEFT(A5,FIND(".",A5)-1)>=0,A5-LEFT(A5,FIND(".",A5)-1)<=0.3),LEFT(A5,FIND(".",A5)-1)+0.25,IF(AND(A5-LEFT(A5,FIND(".",A5)-1)>=0.31,A5-LEFT(A5,FIND(".",A5)-1)<=0.6),LEFT(A5,FIND(".",A5)-1)+0.5,IF(AND(A5-LEFT(A5,FIND(".",A5)-1)>=0.61,A5-LEFT(A5,FIND(".",A5)-1)<=0.801),LEFT(A5,FIND(".",A5)-1)+0.75,LEFT(A5,FIND(".",A5)-1)+1)))

--
Best regards,
Daniel

__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| yak.... tembus 15,000. member ke 15,000 angkat tangannnnn... mau  |
| momods kirimin coklat.... hehehe...                               |
| http://www.facebook.com/group.php?gid=37671048001&ref=mf          |
+-------------------------------------------------------------------+
| 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.friendster.com/xlmania atau...  |
| 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              |
+-------------------------------------------------------------------+
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.


Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.


Hobbies & Activities Zone: Find others who share your passions! Explore new interests.

.

__,_._,___

Nenhum comentário:

Arquivo do blog