HI ALL in first words I'd like to thanks you all ever so much for so many replies. Its great to see how many different (great) solution is for one query. I've learn a lot and I'm so thankful for your help. I'll try all your helpful solution.
Again thanks a lot. Pawel ________________________________ From: Haseeb A <haseeb.avarak...@gmail.com> To: excel-macros@googlegroups.com Cc: pawel lupinski <lupins...@yahoo.com> Sent: Sunday, April 1, 2012 7:42 PM Subject: $$Excel-Macros$$ Re: format a cell Hello Pawel, Another one. =TEXT(A1*IF(ISNUMBER(FIND(".",A1)),100,1),"00\:00") If you want to enter 2 for 2'O clock enter as 200 or cell format as text then enter like 2.00 ___________ HTH, Haseeb -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com