Merge cells (forumla)

SimbadS

New Member
Joined
Feb 13, 2020
Messages
25
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!
 

Some videos you may like

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
8,032
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
25
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,089,579
Messages
5,409,114
Members
403,252
Latest member
Keithn1720

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top