Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
gwc gwc is offline
external usenet poster
 
Posts: 62
Default Rows with cells of varying number of lines

How do I set-up my spreadsheet so:

A1 contains one line
B1 contains one line
C1 contains one line
D1 contains one to many lines
E1 contains one line
F1 contains one to three lines
G1 contains one line
H1 contains one to many lines


Note: The subsequent rows have the same situation as row 1
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Rows with cells of varying number of lines

Hi,

Am Tue, 18 Nov 2014 20:02:21 -0800 (PST) schrieb GWC:

A1 contains one line
B1 contains one line
C1 contains one line
D1 contains one to many lines
E1 contains one line
F1 contains one to three lines
G1 contains one line
H1 contains one to many lines


how do you create the new line? If you do it with Alt+Enter you can
count char(10):
For 3 lines only:
Data Validation = Custom =
=LEN(F1)-LEN(SUBSTITUTE(F1,CHAR(10),))<=2


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Posted to microsoft.public.excel.programming
gwc gwc is offline
external usenet poster
 
Posts: 62
Default Rows with cells of varying number of lines

If I use ALT+ENTER to create multiple lines in a cell will the rest of the cells in that row become taller too?
  #4   Report Post  
Posted to microsoft.public.excel.programming
gwc gwc is offline
external usenet poster
 
Posts: 62
Default Rows with cells of varying number of lines

How can I combine the contents in cells C3, D3, E3 and F3 into one cell?
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Rows with cells of varying number of lines

Hi,

Am Wed, 19 Nov 2014 06:17:44 -0800 (PST) schrieb GWC:

If I use ALT+ENTER to create multiple lines in a cell will the rest of the cells in that row become taller too?


yes, a row has the same height over all the columns. You can't create
cells with different height in one row.


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Rows with cells of varying number of lines

Hi,

Am Wed, 19 Nov 2014 06:34:39 -0800 (PST) schrieb GWC:

How can I combine the contents in cells C3, D3, E3 and F3 into one cell?


if you want wrap text format the cell and then:
=C3&CHAR(10)&D3&CHAR(10)&E3&CHAR(10)&F3
Else replace char(10) with " "


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
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
Sorting and grouping data with varying number or rows Vickie Excel Worksheet Functions 1 January 13th 10 09:01 PM
Insert a fixed number of lines between a varying range of cells dschindler Excel Programming 3 February 19th 09 09:07 PM
Sum varying number of rows LSkarbek Excel Programming 3 April 12th 06 04:02 PM
Transpose rows to columns with varying numbers of lines per record SerPetr Excel Programming 1 January 5th 06 03:38 AM
Transpose rows to columns w/varying numbers of lines per record MG Excel Worksheet Functions 8 November 11th 05 01:01 AM


All times are GMT +1. The time now is 08:09 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"