PC Review


Reply
Thread Tools Rate Thread

combining two columns into one-Excel 2007

 
 
=?Utf-8?B?U3RlcGhlbg==?=
Guest
Posts: n/a
 
      5th Jul 2007
I have two columns of information. The first contains the date and the second
contains a number. I want to combine these two into a single column where
the date is the first piece of data and the number is the second, etc. etc.

I have about 15000 sets of data (date and number), so to do this manually
would be out of the question.

Any suggestions for a "novice" programmer?

Thanks
Steve
 
Reply With Quote
 
 
 
 
Paul Black
Guest
Posts: n/a
 
      5th Jul 2007
On Jul 5, 10:38 pm, Stephen <Step...@discussions.microsoft.com> wrote:
> I have two columns of information. The first contains the date and the second
> contains a number. I want to combine these two into a single column where
> the date is the first piece of data and the number is the second, etc. etc.
>
> I have about 15000 sets of data (date and number), so to do this manually
> would be out of the question.
>
> Any suggestions for a "novice" programmer?
>
> Thanks
> Steve


Hi Steve,

You could use the concatenate function.
Assuming the date is in cell A1 and the number is in cell B1, in cell
C1 enter the formula :-

=A1 & " " & B1

Hope this helps.
All the Best.
Paul

 
Reply With Quote
 
=?Utf-8?B?U3RlcGhlbg==?=
Guest
Posts: n/a
 
      5th Jul 2007
Thanks but what I want to do is insert a blank row every other row, and then
move the data in column b1 down into A2, b2 into A4 etc.

Original worksheet
A B
2/1/2007 45
2/2/2007 49
2/3/2007 60

New Worksheet

A
2/1/2007
45
2/2/2007
49
2/3/2007
60

Steve

"Paul Black" wrote:

> On Jul 5, 10:38 pm, Stephen <Step...@discussions.microsoft.com> wrote:
> > I have two columns of information. The first contains the date and the second
> > contains a number. I want to combine these two into a single column where
> > the date is the first piece of data and the number is the second, etc. etc.
> >
> > I have about 15000 sets of data (date and number), so to do this manually
> > would be out of the question.
> >
> > Any suggestions for a "novice" programmer?
> >
> > Thanks
> > Steve

>
> Hi Steve,
>
> You could use the concatenate function.
> Assuming the date is in cell A1 and the number is in cell B1, in cell
> C1 enter the formula :-
>
> =A1 & " " & B1
>
> Hope this helps.
> All the Best.
> Paul
>
>

 
Reply With Quote
 
Alan Beban
Guest
Posts: n/a
 
      6th Jul 2007
If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook, then
highlight C!:C30000 and array enter (i.e., enter with Ctrl+Shift+Enter
instead of just enter)

=ArrayReshape(a1:b15000,30000,1)

Alan Beban

Stephen wrote:
> Thanks but what I want to do is insert a blank row every other row, and then
> move the data in column b1 down into A2, b2 into A4 etc.
>
> Original worksheet
> A B
> 2/1/2007 45
> 2/2/2007 49
> 2/3/2007 60
>
> New Worksheet
>
> A
> 2/1/2007
> 45
> 2/2/2007
> 49
> 2/3/2007
> 60
>
> Steve
>
> "Paul Black" wrote:
>
>> On Jul 5, 10:38 pm, Stephen <Step...@discussions.microsoft.com> wrote:
>>> I have two columns of information. The first contains the date and the second
>>> contains a number. I want to combine these two into a single column where
>>> the date is the first piece of data and the number is the second, etc. etc.
>>>
>>> I have about 15000 sets of data (date and number), so to do this manually
>>> would be out of the question.
>>>
>>> Any suggestions for a "novice" programmer?
>>>
>>> Thanks
>>> Steve

>> Hi Steve,
>>
>> You could use the concatenate function.
>> Assuming the date is in cell A1 and the number is in cell B1, in cell
>> C1 enter the formula :-
>>
>> =A1 & " " & B1
>>
>> Hope this helps.
>> All the Best.
>> Paul
>>
>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining two columns into one- Excel 2007 =?Utf-8?B?U3RlcGhlbg==?= Microsoft Excel Discussion 3 5th Jul 2007 11:23 PM
Excel Spreadsheet combining data from 3 columns to 1 column =?Utf-8?B?TG90dG8gTWFu?= Microsoft Excel Misc 3 5th Jul 2007 06:21 PM
Combining Columns in Excel to Create Date Kip Microsoft Excel Discussion 1 8th Feb 2007 05:28 AM
combining excel worksheets with common columns =?Utf-8?B?cm9iZXJ0bGV3aXM=?= Microsoft Excel Misc 6 9th Oct 2006 01:57 AM
Excel: Combining several columns of Dates & Currencies Healingbear Microsoft Excel Misc 5 12th Mar 2004 07:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:41 PM.