#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Merge Cells

I know how to combine the contents of 2 cells (example: cell A1 "1234" and
cell B1 "567") by using =(A1&""&B1) resulting in "1234567". How can I
combine the cells but dropping the last digit in A1 to have a result as
"123567"? I found help in doing this before but can not locate it. I
remember using the above function but with a slight adjustment.

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default Merge Cells

Is the number in A1 always 4 digits long? If so you could use this formula.

=LEFT(A1,3)&B1

"trunzop" wrote:

I know how to combine the contents of 2 cells (example: cell A1 "1234" and
cell B1 "567") by using =(A1&""&B1) resulting in "1234567". How can I
combine the cells but dropping the last digit in A1 to have a result as
"123567"? I found help in doing this before but can not locate it. I
remember using the above function but with a slight adjustment.

Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Merge Cells

=LEFT(A1,3) & B1


Gord Dibben MS Excel MVP

On Fri, 23 Feb 2007 08:18:36 -0800, trunzop
wrote:

I know how to combine the contents of 2 cells (example: cell A1 "1234" and
cell B1 "567") by using =(A1&""&B1) resulting in "1234567". How can I
combine the cells but dropping the last digit in A1 to have a result as
"123567"? I found help in doing this before but can not locate it. I
remember using the above function but with a slight adjustment.

Thank you!


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
MERGE CELLS Steve New Users to Excel 2 October 31st 06 11:49 AM
Why can't I merge 2 cells into one? auntieboop Excel Discussion (Misc queries) 2 May 30th 06 03:07 PM
Merge Two Cells sabegirl Excel Discussion (Misc queries) 1 May 19th 06 04:49 AM
merge two cells Pam Coleman Excel Discussion (Misc queries) 6 April 22nd 06 02:39 PM
How do I merge cells in Excel, like just 2 cells to make one big . chattacat Excel Discussion (Misc queries) 2 January 19th 05 04:25 PM


All times are GMT +1. The time now is 02:52 PM.

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"