Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Formatting inside a cell in Excel

Posted on 2011-03-20
3
258 Views
Last Modified: 2012-06-22
Hello,

In Excel (2007), is there a way to change the formatting inside a cell?

For example, suppose your default font is Calibri, 11 and for Wrapping Text, you want the lines of text inside the cell to be closer to each other without changing fonts or the 11 pt. size.  How can that be accomplished?

Being on the Excel forum means you are likely familiar with this box from Word (2007), which is where these types of changes are made there:  
 1I'm looking for a place to make the same type of changes in Excel.

If no settings box is available, is it possible to accomplish the same thing with some type of code.

Thanks
0
Comment
Question by:Steve_Brady
3 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 500 total points
ID: 35177929
Hello Steve,

as far as I'm aware this kind of formatting is not available for text inside a cell, not natively and not with code.

cheers, teylyn
0
 
LVL 12

Expert Comment

by:Alan3285
ID: 35177980
Hi Steve,

The default 'gap' between lines in Excel is, effectively, zero.  Therefore, you can't get the lines of text within a single (wrapped) cell, any closer together (for a given font size).

Obviously you can reduce the font, but that is not what you are after?

You can make the gap smaller if there is a gap.

In the attached example, all the names are 10pt Ariel.  The gap between 'Alan' and 'Steve' is a 7.5 Ariel carriage-return / line-feed, and the gap between 'Steve' and 'Bob' is a 10pt carriage-return / line-feed.

(I'm not sure if carriage-return or line-feed is the right terminology, but you'll get my drift!)

Does that help?

Alan.
InCellFormatting---Version-001.xls
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 35178465
Not For Points.

Teylyn is absolutely correct

See this article by Microsoft.

http://office.microsoft.com/en-us/excel-help/change-line-spacing-in-excel-HA001034624.aspx

Hope this helps.

Sid
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question