A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

combine data in two cells into a third cell



 
 
Thread Tools Display Modes
  #1  
Old September 25th, 2008, 06:28 AM posted to microsoft.public.excel.worksheet.functions
ordnance1
external usenet poster
 
Posts: 8
Default combine data in two cells into a third cell

In cell A1 is a number(9), in cell A2 is a number (0001). Is there any way to
get cell A3 to show the result 9-0001?
  #2  
Old September 25th, 2008, 06:38 AM posted to microsoft.public.excel.worksheet.functions
muddan madhu
external usenet poster
 
Posts: 695
Default combine data in two cells into a third cell

try this

in A3 put this =A1&"-"&A2


On Sep 25, 10:28*am, ordnance1
wrote:
In cell A1 is a number(9), in cell A2 is a number (0001). Is there any way to
get cell A3 to show the result 9-0001?


  #3  
Old September 25th, 2008, 06:41 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default combine data in two cells into a third cell

"ordnance1" wrote:
In cell A1 is a number(9), in cell A2 is a number (0001). Is there any way to
get cell A3 to show the result 9-0001?


Try in A3: =A1&"-"&TEXT(A2,"0000")
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100 Files:360 Subscribers:56
xdemechanik
---
  #4  
Old September 25th, 2008, 07:49 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default combine data in two cells into a third cell

in A3 put this =A1&"-"&A2
... but if A2 actually contained an underlying value: 1
then the result in A3 would be: 9-1 ?
OP's poser is a tricky one
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100, Files:360, Subscribers:56
xdemechanik
---


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:51 PM.


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