You can also use *1 befor formula like =-TEXT(B2,"0000-00-00")*1
On Sat, Jan 21, 2012 at 11:46 AM, xlstime <[email protected]> wrote:

> for convert to number format ... u also use ''--'' befor formula like
> =--TEXT(B2,"0000-00-00")
>
>
> On Sat, Jan 21, 2012 at 11:40 AM, Ashish Bhalara <
> [email protected]> wrote:
>
>> Thanks a lot for formula, could you please explain the means of "+0" in
>> the end of formula?
>>
>> Thanks from Ashish.
>>
>>
>> On Sat, Jan 21, 2012 at 10:29 AM, chandra sekaran <[email protected]
>> > wrote:
>>
>>>
>>> try this
>>>
>>> =TEXT(TEXT(B3,"0000-00-00"),"DD-MM-YYYY")
>>>
>>> chandru
>>>
>>>
>>>
>>> On Sat, Jan 21, 2012 at 10:16 AM, xlstime <[email protected]> wrote:
>>>
>>>> or try this one.. for any format
>>>>
>>>> =TEXT(B2,"0000-00-00")+0
>>>>
>>>>
>>>> On Sat, Jan 21, 2012 at 10:14 AM, xlstime <[email protected]> wrote:
>>>>
>>>>> Hi Ashish,
>>>>>
>>>>> use this formula (if you date format is same 20120121 )
>>>>>
>>>>> *=DATEVALUE(CONCATENATE(LEFT(B2,4),"-",MID(B2,5,2),"-",RIGHT(B2,2)))*
>>>>>
>>>>>
>>>>> On Sat, Jan 21, 2012 at 9:50 AM, Ashish Bhalara <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Dear experts,
>>>>>>
>>>>>> I want to change date format from 20120121 or 21012012 to
>>>>>> 21-Jan-2012, because excel not count as an date format if I replace "-" 
>>>>>> or
>>>>>> "/" character between date,month and year. Is there any function to 
>>>>>> convert
>>>>>> this type of number in proper date format? Because this type of date
>>>>>> generate from DOS base software and its open in proper format in
>>>>>> Excel-2010, I use Excel-2007 in which this type of date is not display in
>>>>>> date format.
>>>>>>
>>>>>> Thanks & regards
>>>>>>
>>>>>> Ashish Bhalara
>>>>>>
>>>>>> --
>>>>>> 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 [email protected]
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> .........................
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> .........................
>>>>
>>>> --
>>>> 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 [email protected]
>>>>
>>>
>>> --
>>> 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 [email protected]
>>>
>>
>>  --
>> 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 [email protected]
>>
>
>
>
> --
> .........................
>
> --
> 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 [email protected]
>



-- 
Thanks & regards,
Noorain Ansari
 *http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>
*http://noorain-ansari.blogspot.com/* <http://noorain-ansari.blogspot.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 [email protected]

Reply via email to