Merge cells (forumla)

SimbadS

New Member
Joined
Feb 13, 2020
Messages
33
Office Version
  1. 365
Platform
  1. 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!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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
 
Upvote 0
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 :)
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top