Merge cells (forumla)

SimbadS

New Member
Joined
Feb 13, 2020
Messages
14
Office Version
365
Platform
Windows
Hi!

Again new issue that i need some help on. I have 3 cells that i want to merge, but cell 1 contains all from 5 to 10 letter, therefore i get a weird endresult. I want to have "same space" between merged cells. Example below:
1581757534134.png

I dont understand how to make distances like that in formula

Thank you so much!
 

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
7,452
Office Version
2019
Platform
Windows
You would only be able to do that if you use a mono-spaced font for the cells with the combined result. Also, your cells are concatenated, not merged (there is a big difference).

I used the 'Courier New' font to test this and it works fine,

Book1
ABCDEF
1FromTo
2
3I need to learn more excel formulas400Excel-SheetI need to learn more excel formulas 400 Excel-Sheet
4I need to learn more vba500Excel-SheetI need to learn more vba 500 Excel-Sheet
5I could use some help here600Excel-SheetI could use some help here 600 Excel-Sheet
Sheet4
Cell Formulas
RangeFormula
F3:F5F3=A3&REPT(" ",AGGREGATE(14,6,LEN($A$3:$A$5),1)-LEN(A3)+2)&C3&" "&D3
 

SimbadS

New Member
Joined
Feb 13, 2020
Messages
14
Office Version
365
Platform
Windows
You are absolute right! it is concatenated not merged.
This actually worked very well when i understood the diferense with the font type.

Thank you so much :)
 

Forum statistics

Threads
1,085,787
Messages
5,385,881
Members
401,975
Latest member
OnPoint

Some videos you may like

This Week's Hot Topics

Top