Newbies
สมุนแก๊งเสียว
พลังน้ำใจ: 42
ออฟไลน์
กระทู้: 554
|
 |
« เมื่อ: 18 มกราคม 2009, 21:48:54 » |
|
มีข้อมูลอยู่ในรูบแบบนี้ครับ เป็น csv file เอาเข้า excel แล้วมี 3 columns http://example.com/news,Lantagneash,149397672 http://example.com/news,RoskelleyBernard,998516421 http://example.com/news,SaladinBernard,237224282 http://example.com/news,Soardsweetsexy,791984228 http://example.com/news,WarbrittonBernard,598406795 http://siteNum2.com,Connerash,590705351 http://siteNum2.com,Kauzlarichsweetsexy,598309305 http://fortestonly.com,Cincottaash,774526396 http://fortestonly.com,Fantasiaashley,864305333 http://fortestonly.com,Sciaccasweetsexy,664109162 http://justdoit.com,Dubickiash,990542602 http://justdoit.com,Neideckerashley,289989220 http://justdoit.com,Pinkertsweetsexy,89515533 http://justdoit.com,Richertashley,754856434 http://justdoit.com,Zebrowskiashley,848158750 http://learnbydo.com,DonelsonBernard,878645185 http://learnbydo.com,Fennellsweetsexy,401946153 http://learnbydo.com,Luckenbillash,376425012 http://somesim.com,Bilbaoashley,408317134 http://somesim.com,BixlerBernard,401139279 http://somesim.com,CapeloBernard,732247715 http://somesim.com,CarmonBernard,224662862 http://somesim.com,FreesBernard,529719421 http://somesim.com,Golubsweetsexy,282276540 http://somesim.com,Hostlerashley,151428960 http://somesim.com,Westerholdashley,839044510 http://booksmes.com,Bottsweetsexy,825272359 http://booksmes.com,Eilermanashley,860502010 http://blogneez.com,Alleyash,555596685 http://blogneez.com,Checkashley,264184516 http://blogneez.com,Jandresashley,774584112 http://blogneez.com,MakinsBernard,379103761 http://iplocatex,Eigoash,661395425 http://iplocatex,Witschisweetsexy,879113600 http://lcdtvv2.com,Diversweetsexy,596049631 http://lcdtvv2.com,Kuehnsweetsexy,409699602 http://lcdtvv2.com,Lideashley,701892946 http://lcdtvv2.com,Makinsashley,14054559 http://lcdtvv2.com,Manganielloash,268846563 http://lcdtvv2.com,OtakeBernard,529244001 http://lcdtvv2.com,Skiverash,1634170 http://plasmaart.com,Boyesweetsexy,320176805 http://plasmaart.com,Coventryash,884677222 http://plasmaart.com,Delkerashley,839109662 http://plasmaart.com,Mushrushashley,959882389 http://plasmaart.com,Ottemsweetsexy,433924284 http://plasmaart.com,Tellesash,331685285 http://plasmaart.com,WoodringBernard,410842471 http://glitzme.com,Bushyashley,978703925 http://glitzme.com,BylsmaBernard,81247754 http://glitzme.com,Haatajasweetsexy,503367947 http://glitzme.com,Leithashley,587466446 http://glitzme.com,Morrisonash,600103856 http://glitzme.com,MuellerBernard,428006876 http://glitzme.com,Novyashley,865237322 http://glitzme.com,RiedelBernard,933123490 http://glitzme.com,Sarracinosweetsexy,392486705 http://glitzme.com,Simpkinashley,638513319 http://glitzme.com,WelcherBernard,713814520 http://accordanze.com,Cheeseashley,576485131 http://accordanze.com,Kamashley,175466221 http://accordanze.com,Millettesweetsexy,753793875 ต้องการ unique row เฉพาะช่อง url อย่างละ 1 เท่านั้น เอามาแค่อันแรกอันเดียว ซึ่งจะได้เป็น http://example.com/news,Lantagneash,149397672 http://siteNum2.com,Connerash,590705351 http://fortestonly.com,Cincottaash,774526396 http://justdoit.com,Dubickiash,990542602 http://learnbydo.com,DonelsonBernard,878645185 http://somesim.com,Bilbaoashley,408317134 http://booksmes.com,Bottsweetsexy,825272359 http://blogneez.com,Alleyash,555596685 http://iplocatex,Eigoash,661395425 http://lcdtvv2.com,Diversweetsexy,596049631 http://plasmaart.com,Boyesweetsexy,320176805 http://glitzme.com,Bushyashley,978703925 http://accordanze.com,Cheeseashley,576485131 อธิบายแบบงงๆ หน่อย คิดว่าคงพอเข้าใจนะครับ จะเขียนสูตรดึงข้อมูลออกมาได้อย่างไรครับ ปล. result อันนี้ ทำมือเอานะ
|