B
B
benmer2016-01-05 15:53:20
excel
benmer, 2016-01-05 15:53:20

How to make a line wrap formula in EXCEL after the third word?

Hello. Help with EXCEL formula
There is a column with a list of phrases. Phrases of different lengths, from 30 to 100 characters. Actually, I can't think of a formula that would insert a line break character (ALT + ENTER) after the third word if the line length is more than 50 characters.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AtomKrieg, 2016-01-05
@AtomKrieg

=IF(LENG(A1)>50; REPLACE(A1;FIND(" ";A1;FIND(" ";A1;FIND(" ";A1)+1)+1);1;CHAR(10)); A1)
ps in the cell there should be a daw "wrap by words"

A
anykey_ua, 2016-01-05
@anykey_ua

Look towards macros in VBA

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question