Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 2 columns under one heading

I need to put two columns under one heading in Excel. Is there any
way this can be done? For example, let's say I need the heading
Burger, and underneath that heading I need one column reading
cheeseburger and the other hamburger, both under the same heading.
Does that make sense? Can this be done? Thank you for your help.

  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: 2 columns under one heading

Yes, you can definitely put two columns under one heading in Excel. Here's how you can do it:
  1. Open a new or existing Excel worksheet.
  2. Type the heading "Burger" in cell A1.
  3. Type "Cheeseburger" in cell B1 and "Hamburger" in cell C1.
  4. Select cells B1 and C1 by clicking and dragging your mouse over them.
  5. Right-click on the selected cells and choose "Format Cells" from the drop-down menu.
  6. In the "Format Cells" dialog box, click on the "Alignment" tab.
  7. Under "Horizontal," select "Center Across Selection" from the drop-down menu.
  8. Click "OK" to close the dialog box.

Now, the text "Cheeseburger" and "Hamburger" will be centered under the heading "Burger" and will appear as two columns under one heading. You can adjust the width of the columns by clicking and dragging the column divider between columns B and C.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default 2 columns under one heading

One way:

Put "Burger" in the heading cell of the left-hand column. Select that
cell and the one to the right. Choose Format/Cells/Alignment, and choose
Center across Selection from the Horizontal: dropdown.

You *could* also merge the two cells and center the text, but merged
cells are the devil's invention, and should never, ever, be used. Not
even once...

In article . com,
wrote:

I need to put two columns under one heading in Excel. Is there any
way this can be done? For example, let's say I need the heading
Burger, and underneath that heading I need one column reading
cheeseburger and the other hamburger, both under the same heading.
Does that make sense? Can this be done? Thank you for your help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 373
Default 2 columns under one heading

Say Cheeseburger is in cell H2 and Hamburger is in cell I2. Type Burger
into cell H1 and press Enter. Select cells H1 and I1. Select Format from
the menubar, then Cells. On the Alignment tab, Horizontal Box, choose
Center Across Selection. James
wrote in message
ups.com...
I need to put two columns under one heading in Excel. Is there any
way this can be done? For example, let's say I need the heading
Burger, and underneath that heading I need one column reading
cheeseburger and the other hamburger, both under the same heading.
Does that make sense? Can this be done? Thank you for your help.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default 2 columns under one heading

On Oct 12, 7:21 am, JE McGimpsey wrote:
One way:

Put "Burger" in the heading cell of the left-hand column. Select that
cell and the one to the right. Choose Format/Cells/Alignment, and choose
Center across Selection from the Horizontal: dropdown.

You *could* also merge the two cells and center the text, but merged
cells are the devil's invention, and should never, ever, be used. Not
even once...

In article . com,



wrote:
I need to put two columns under one heading in Excel. Is there any
way this can be done? For example, let's say I need the heading
Burger, and underneath that heading I need one column reading
cheeseburger and the other hamburger, both under the same heading.
Does that make sense? Can this be done? Thank you for your help.- Hide quoted text -


- Show quoted text -


Great. That should do it. Thank you for your help.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default 2 columns under one heading

For example, select D1 and E1, and type:
Burger
Then <Alt <Enter
Then Cheeseburger<space<spaceHamburger
Then <Enter

While those 2 cells are *still* selected, from the menu bar,
<Format <Cells <Alignment tab,

Expand the "Horizontal" box, and click on <Center Across Selection,
Expand the "Vertical" box, and click on <Center
Under "Text Control", click on <Wrap Text

Then <OK
NOW ... expand the columns until you have your 2 line header.
Play with the number of spaces between the text until you have what you
want.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


wrote in message
ups.com...
I need to put two columns under one heading in Excel. Is there any
way this can be done? For example, let's say I need the heading
Burger, and underneath that heading I need one column reading
cheeseburger and the other hamburger, both under the same heading.
Does that make sense? Can this be done? Thank you for your help.


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 2 columns under one heading

I agree with this way to fix the problem; i have looked for a long time for
an icon I could put in my toolbar to save the multiple steps to make it work.
Does anyone know of such an icon?

"JE McGimpsey" wrote:

One way:

Put "Burger" in the heading cell of the left-hand column. Select that
cell and the one to the right. Choose Format/Cells/Alignment, and choose
Center across Selection from the Horizontal: dropdown.

You *could* also merge the two cells and center the text, but merged
cells are the devil's invention, and should never, ever, be used. Not
even once...

In article . com,
wrote:

I need to put two columns under one heading in Excel. Is there any
way this can be done? For example, let's say I need the heading
Burger, and underneath that heading I need one column reading
cheeseburger and the other hamburger, both under the same heading.
Does that make sense? Can this be done? Thank you for your help.


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default 2 columns under one heading

There is no icon for "center across selection"

I wrote my own and assigned it to a button on my toolbar.

Sub TOGGLECENTERACROSS()
With Selection
If .HorizontalAlignment = xlCenterAcrossSelection Then
.HorizontalAlignment = xlGeneral
Else
Selection.HorizontalAlignment = xlCenterAcrossSelection
End If
End With
End Sub

You could assign to a shortcut key.


Gord Dibben MS Excel MVP

On Wed, 14 Nov 2007 13:55:01 -0800, K Bronson <K
wrote:

I agree with this way to fix the problem; i have looked for a long time for
an icon I could put in my toolbar to save the multiple steps to make it work.
Does anyone know of such an icon?

"JE McGimpsey" wrote:

One way:

Put "Burger" in the heading cell of the left-hand column. Select that
cell and the one to the right. Choose Format/Cells/Alignment, and choose
Center across Selection from the Horizontal: dropdown.

You *could* also merge the two cells and center the text, but merged
cells are the devil's invention, and should never, ever, be used. Not
even once...

In article . com,
wrote:

I need to put two columns under one heading in Excel. Is there any
way this can be done? For example, let's say I need the heading
Burger, and underneath that heading I need one column reading
cheeseburger and the other hamburger, both under the same heading.
Does that make sense? Can this be done? Thank you for your help.



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default 2 columns under one heading

I assigned FaceID 386 to my custom button.


In article ,
K Bronson <K wrote:

I agree with this way to fix the problem; i have looked for a long time for
an icon I could put in my toolbar to save the multiple steps to make it work.
Does anyone know of such an icon?

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
How do i change the heading of excel columns to alphabetical ThePubLounger Excel Discussion (Misc queries) 4 July 16th 09 02:57 AM
How do I put one heading over 3 narrow columns? Janice New Users to Excel 2 May 29th 07 11:58 PM
Pivot Table, merge columns into one row heading? [email protected] Excel Discussion (Misc queries) 1 April 19th 07 03:44 AM
Adding Columns/Heading debir Excel Discussion (Misc queries) 0 February 24th 06 01:29 PM
In a table produce an value by column heading and row heading naflan Excel Worksheet Functions 1 December 27th 05 05:18 PM


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

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"