Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Select limited character of a cell

..

hi Techies :-)

One small solution required here...

I have entered "Dec' 07" in a cell.

And i only require to display 07 in another cell.

Please suggest some formula for the same.

Cheers!!!
Divy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Select limited character of a cell

If Dec' 07 is stored as text

=right(A1,2)

if it is being stored as a date

=Text(year(A1),"00")

--
Regards,
Tom Ogilvy


"Divy" wrote:

..

hi Techies :-)

One small solution required here...

I have entered "Dec' 07" in a cell.

And i only require to display 07 in another cell.

Please suggest some formula for the same.

Cheers!!!
Divy


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Select limited character of a cell

Another way.
Say the date is in A1 and you want the year only in B1.
In B1 type "=A1" without the quotes.
Format B1 as Custom, and enter "yy" without the quotes, in "Type". HTH
Otto
"Divy" wrote in message
oups.com...
.

hi Techies :-)

One small solution required here...

I have entered "Dec' 07" in a cell.

And i only require to display 07 in another cell.

Please suggest some formula for the same.

Cheers!!!
Divy



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Select limited character of a cell

On Nov 5, 7:04 pm, Tom Ogilvy
wrote:
If Dec' 07 is stored as text

=right(A1,2)

if it is being stored as a date

=Text(year(A1),"00")

--
Regards,
Tom Ogilvy

"Divy" wrote:
..


hi Techies :-)


One small solution required here...


I have entered "Dec' 07" in a cell.


And i only require to display 07 in another cell.


Please suggest some formula for the same.


Cheers!!!
Divy


Thanks for the help, it shows the result as Dec' 07.

:-)

Reply
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 2007 - Formatting text in cell (character by character) TomC Excel Discussion (Misc queries) 0 January 29th 10 07:25 PM
how to select the first character in a cell and delete the rest Helenf Excel Worksheet Functions 4 May 14th 09 12:10 PM
Limited character display Steve_zsli Excel Discussion (Misc queries) 5 August 8th 07 03:35 PM
Macro Print to file limited the no of character in a row? Leslie Excel Programming 1 December 30th 05 03:56 PM
Macro Print to file limited the no of character in a row? Leslie Excel Programming 0 December 30th 05 09:16 AM


All times are GMT +1. The time now is 07:52 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"