Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Short cut way to add text

Hi Everybody,
Is there any way to add text to another text ? The data I have like this
Jan
Feb
Mar (all in text format)
Now I want to add -07 to each of them so that they become Jan-07, Feb-07 and
Mar-07 in with very few steps (the lesser steps are better)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Short cut way to add text

=A2&"-07" and copy down.
--
David Biddulph

"Arup C" wrote in message
...
Hi Everybody,
Is there any way to add text to another text ? The data I have like this
Jan
Feb
Mar (all in text format)
Now I want to add -07 to each of them so that they become Jan-07, Feb-07
and
Mar-07 in with very few steps (the lesser steps are better)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Short cut way to add text

try this
Sub addtexttovalues()
For Each c In Range("a2:a22")
If Not IsNumeric(c) Then 'in case of numbers
c.NumberFormat = "@"
c.Value = c.Value & "-07"
End If
Next c
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Arup C" wrote in message
...
Hi Everybody,
Is there any way to add text to another text ? The data I have like this
Jan
Feb
Mar (all in text format)
Now I want to add -07 to each of them so that they become Jan-07, Feb-07
and
Mar-07 in with very few steps (the lesser steps are better)


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
SHORT KEY adeel via OfficeKB.com Excel Discussion (Misc queries) 1 May 24th 07 04:24 PM
short key tom ossieur Excel Discussion (Misc queries) 2 July 25th 06 10:59 AM
Need a short cut for this... Eddy Stan Excel Worksheet Functions 5 February 20th 06 12:37 PM
Return a block of text based on a single "short name" entry cindee Excel Worksheet Functions 5 October 5th 05 08:43 PM
short cut hamil Setting up and Configuration of Excel 0 March 5th 05 11:11 PM


All times are GMT +1. The time now is 12:10 AM.

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

About Us

"It's about Microsoft Excel"