Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manipulating a date to create a specific string
Message
 
À
22/09/2005 07:58:10
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Microsoft Office
Catégorie:
Excel
Divers
Thread ID:
01051896
Message ID:
01051917
Vues:
16
>>>If I have a date in column A: 09/21/2005
>>>
>>>I need to get the following text string in column B: "09/20 & 09/21"
>>>
>>>The day and the prior day from the date in column A.
>>>
>>>Easy in Foxpro. Can't figure it out in Excel...
>>
>>Jay,
>>Try this
>>
=TEXT(MONTH(A1);0) & "/" & TEXT(DAY(A1)-1;0) & " & " & TEXT(MONTH(A1);0) & "/" & TEXT(DAY(A1);0)
>
>It's telling me that I have an error in the formula. Did you test it using a date in column A?

In addition,
See in Control panel=>Regional and language Options=>Tab 'Regional Options'=>Custimize=>List separator symbol.
by me is ';' that is why i use ';'
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform