LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 6
Default date format in excel 2002 on win 7

on this forum a helpful expert posted
With a value in A1:
=A1&IF(AND(A110,A1<20),"th",CHOOSE(MOD(A1,10)+1," th","st","nd","rd","th","th","th","th","th","th" ))

with my version i get 10 th not 10th
same with 20.
so i changed the formula 10 and 20 to 9 and 19. worked for 10th but not 20 and 30.
what do i do?
and can i change a date say january 20 2006 and using this formula to get January 20th 2006, all in one cell?
at the moment i am using a separate column for, month,day and year.
i need to copy paste them into a text file.
thanks all

Last edited by anon125 : May 4th 20 at 02:04 AM
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002: How to make the date format uniform ? Mr. Low Excel Discussion (Misc queries) 1 November 20th 08 04:56 PM
using a date format not in Excel 2002 jbclem Excel Discussion (Misc queries) 1 November 15th 07 01:48 AM
Date format in Excel 2002 TonyN Excel Discussion (Misc queries) 1 April 5th 07 06:53 PM
Excel 2002 - Date format keeps changing B. Levien Excel Discussion (Misc queries) 0 February 6th 06 09:35 PM
Converting a date in Excel 2002 to a Year/Quarter format Jim Excel Worksheet Functions 2 January 10th 05 07:49 PM


All times are GMT +1. The time now is 08:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"