We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Concatenating Cells (Excel)

Cotta
Cotta Posts: 3,667 Forumite
Hi All,


Can I concatenate four cells in Excel that are not in order e.g. I want to add cell A1, F1, D1 and B1 in this order. The original cells cannot be adjusted - is this possible?


Thanks

Comments

  • Andy_L
    Andy_L Posts: 13,143 Forumite
    Part of the Furniture 10,000 Posts Name Dropper
    Yes, you just select/type the cell reference in the order you want in the concantenate function
  • Lokolo
    Lokolo Posts: 20,861 Forumite
    Part of the Furniture 10,000 Posts
    =CONCATENATE(A1, F1, D1, B1)

    Surely that works?
  • lisa110rry
    lisa110rry Posts: 1,794 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker Mortgage-free Glee!
    I do Access rather than Excel, but would it not be: =CONCATENATE(A1, " ", F1, " " D1," " B1) or something similar to get the spaces in?

    In Access it would be &" "& between the several fields in the concatenation.
    “And all shall be well. And all shall be well. And all manner of things shall be exceeding well.”
    ― Julian of Norwich
    In other words, Don't Panic!
  • Lokolo
    Lokolo Posts: 20,861 Forumite
    Part of the Furniture 10,000 Posts
    Oh I suppose if you need spaces then yes :)
  • indesisiv
    indesisiv Posts: 6,359 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker Debt-free and Proud!
    I have never used the =CONCATENATE(A1, F1, D1, B1) function.
    I didn't even know it exists.
    I usually just do =(A1 & F1 & D1 & B1)
    “Time is intended to be spent, not saved” - Alfred Wainwright
  • DoaM
    DoaM Posts: 11,863 Forumite
    10,000 Posts Fifth Anniversary Name Dropper Photogenic
    As per post #6. And if you need spaces:

    =(A1 & " " & F1 & " " & D1 & " " & B1)

    :)
  • Le_Kirk
    Le_Kirk Posts: 25,898 Forumite
    Part of the Furniture 10,000 Posts Photogenic Name Dropper
    If you are concatenating, why would you add spaces?
  • Jivesinger
    Jivesinger Posts: 1,221 Forumite
    Ninth Anniversary Combo Breaker
    Le_Kirk wrote: »
    If you are concatenating, why would you add spaces?
    It depends on what is being concatenated.

    For instance it it's words, then spaces would help.

    Also in some scenarios you may want to distinguish 12 345 67 89 from 1 234 567 89 (for example)
  • DoaM
    DoaM Posts: 11,863 Forumite
    10,000 Posts Fifth Anniversary Name Dropper Photogenic
    Le_Kirk wrote: »
    If you are concatenating, why would you add spaces?

    I'll counter that with, why wouldn't you? Both options are correct - as above it all depends on what is the desired outcome. :)
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.