#1   Report Post  
Posted to microsoft.public.excel.misc
Sanjeev
 
Posts: n/a
Default Macros

How do i create a macro to join 2 cell and the result to come in the third
cell Request for help since i need to add to cell for 300 rows
  #2   Report Post  
Posted to microsoft.public.excel.misc
Barb Reinhardt
 
Posts: n/a
Default Macros

You don't need to have a macro to do this, you can concatenate the data
together.

Let's say you want to concatenate A1 and B1 with a space between them and
put it in C1.

A1 = John
B1 = Smith

C1 = A1&" "&B1


"Sanjeev" wrote:

How do i create a macro to join 2 cell and the result to come in the third
cell Request for help since i need to add to cell for 300 rows

  #3   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default Macros

Sanjeev,
you are speaking of a macro, but this is probably just formula job.
If you want numeric sum, then in C1 you enter =A1+B1. You can then copy
the formula down.
If you mean that you want the text of the two cells joined next to each
other (concatenated) then use =A1&B1 instead.

HTH
Kostis Vezerides

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
Macros, How do I know what they do if I didn't create them. Abelg Excel Discussion (Misc queries) 1 September 17th 05 05:57 PM
Saving Macros Gerald Excel Discussion (Misc queries) 1 August 19th 05 02:28 PM
Enabling macros Peter M Excel Discussion (Misc queries) 3 February 7th 05 10:57 PM
Transferring toolbars and macros to other computers Darrell Excel Discussion (Misc queries) 1 January 19th 05 12:21 AM
The available macros list in XL; how to suppress filename from showing KR Excel Discussion (Misc queries) 1 January 10th 05 07:20 PM


All times are GMT +1. The time now is 03:37 PM.

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"