Jump to content

Google Sheets or Microsoft Excel - Merge cells but only horizontally

Go to solution Solved by Avocado Diaboli,

If it only needs to be in column B, why do you need to merge it? Without knowing the details, I'd just suggest using another column to concatenate the values with the appropriate spacing and overwrite the contents of the original cells or just delete the original columns.

 

Basically do this:

image.png.476baa46cc10c2d9e33adf17d5624afe.png

 

Now apply the formula to the entire column.

image.png.d3676c0569f8f087443335c12b5e5008.png

 

Before deleting the original data, select column C, copy the contents with Ctrl-C and without moving the selection, right click and paste the copied data as values (the symbol with "123"). That overwrites the formula and writes the values into the cells as text directly.

image.png.191b449b736d5719c1045e7137ce4e9d.png

 

Now you can delete column A and B.

I have a sheet with over 2000 rows. The contents of column B and C should both be in column B, so we need to merge the C with B. So I only want to merge cells horizontally. How do I do this in Microsoft Excel or Google Sheets?

 

image.png.e5910b15e62c87409f7d0edca25aa10b.png

Link to comment
Share on other sites

Link to post
Share on other sites

If it only needs to be in column B, why do you need to merge it? Without knowing the details, I'd just suggest using another column to concatenate the values with the appropriate spacing and overwrite the contents of the original cells or just delete the original columns.

 

Basically do this:

image.png.476baa46cc10c2d9e33adf17d5624afe.png

 

Now apply the formula to the entire column.

image.png.d3676c0569f8f087443335c12b5e5008.png

 

Before deleting the original data, select column C, copy the contents with Ctrl-C and without moving the selection, right click and paste the copied data as values (the symbol with "123"). That overwrites the formula and writes the values into the cells as text directly.

image.png.191b449b736d5719c1045e7137ce4e9d.png

 

Now you can delete column A and B.

And now a word from our sponsor: 💩

-.-. --- --- .-.. --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. .

ᑐᑌᑐᑢ

Spoiler

    ▄██████                                                      ▄██▀

  ▄█▀   ███                                                      ██

▄██     ███                                                      ██

███   ▄████  ▄█▀  ▀██▄    ▄████▄     ▄████▄     ▄████▄     ▄████▄██   ▄████▄

███████████ ███     ███ ▄██▀ ▀███▄ ▄██▀ ▀███▄ ▄██▀ ▀███▄ ▄██▀ ▀████ ▄██▀ ▀███▄

████▀   ███ ▀██▄   ▄██▀ ███    ███ ███        ███    ███ ███    ███ ███    ███

 ██▄    ███ ▄ ▀██▄██▀    ███▄ ▄██   ███▄ ▄██   ███▄ ▄███  ███▄ ▄███▄ ███▄ ▄██

  ▀█▄    ▀█ ██▄ ▀█▀     ▄ ▀████▀     ▀████▀     ▀████▀▀██▄ ▀████▀▀██▄ ▀████▀

       ▄█ ▄▄      ▄█▄  █▀            █▄                   ▄██  ▄▀

       ▀  ██      ███                ██                    ▄█

          ██      ███   ▄   ▄████▄   ██▄████▄     ▄████▄   ██   ▄

          ██      ███ ▄██ ▄██▀ ▀███▄ ███▀ ▀███▄ ▄██▀ ▀███▄ ██ ▄██

          ██     ███▀  ▄█ ███    ███ ███    ███ ███    ███ ██  ▄█

        █▄██  ▄▄██▀    ██  ███▄ ▄███▄ ███▄ ▄██   ███▄ ▄██  ██  ██

        ▀███████▀    ▄████▄ ▀████▀▀██▄ ▀████▀     ▀████▀ ▄█████████▄

 

Link to comment
Share on other sites

Link to post
Share on other sites

27 minutes ago, creat0r said:

I have a sheet with over 2000 rows. The contents of column B and C should both be in column B, so we need to merge the C with B. So I only want to merge cells horizontally. How do I do this in Microsoft Excel or Google Sheets?

 

image.png.e5910b15e62c87409f7d0edca25aa10b.png

When you say merge, you want to do it like @Avocado Diaboli shows?  Maybe add a dash in between?

 

Are you wanting to show a range of values?

 

Seems an odd way to show data, IMO.

"Do what makes the experience better" - in regards to PCs and Life itself.

 

Onyx AMD Ryzen 7 7800x3d / MSI 6900xt Gaming X Trio / Gigabyte B650 AORUS Pro AX / G. Skill Flare X5 6000CL36 32GB / Samsung 980 1TB x3 / Super Flower Leadex V Platinum Pro 850 / EK-AIO 360 Basic / Fractal Design North XL (black mesh) / AOC AGON 35" 3440x1440 100Hz / Mackie CR5BT / Corsair Virtuoso SE / Cherry MX Board 3.0 / Logitech G502

 

7800X3D - PBO -30 all cores, 4.90GHz all core, 5.05GHz single core, 18286 C23 multi, 1779 C23 single

 

Emma : i9 9900K @5.1Ghz - Gigabyte AORUS 1080Ti - Gigabyte AORUS Z370 Gaming 5 - G. Skill Ripjaws V 32GB 3200CL16 - 750 EVO 512GB + 2x 860 EVO 1TB (RAID0) - EVGA SuperNova 650 P2 - Thermaltake Water 3.0 Ultimate 360mm - Fractal Design Define R6 - TP-Link AC1900 PCIe Wifi

 

Raven: AMD Ryzen 5 5600x3d - ASRock B550M Pro4 - G. Skill Ripjaws V 16GB 3200Mhz - XFX Radeon RX6650XT - Samsung 980 1TB + Crucial MX500 1TB - TP-Link AC600 USB Wifi - Gigabyte GP-P450B PSU -  Cooler Master MasterBox Q300L -  Samsung 27" 1080p

 

Plex : AMD Ryzen 5 5600 - Gigabyte B550M AORUS Elite AX - G. Skill Ripjaws V 16GB 2400Mhz - MSI 1050Ti 4GB - Crucial P3 Plus 500GB + WD Red NAS 4TBx2 - TP-Link AC1200 PCIe Wifi - EVGA SuperNova 650 P2 - ASUS Prime AP201 - Spectre 24" 1080p

 

Steam Deck 512GB OLED

 

OnePlus: 

OnePlus 11 5G - 16GB RAM, 256GB NAND, Eternal Green

OnePlus Buds Pro 2 - Eternal Green

 

Other Tech:

- 2021 Volvo S60 Recharge T8 Polestar Engineered - 415hp/495tq 2.0L 4cyl. turbocharged, supercharged and electrified.

Lenovo 720S Touch 15.6" - i7 7700HQ, 16GB RAM 2400MHz, 512GB NVMe SSD, 1050Ti, 4K touchscreen

MSI GF62 15.6" - i7 7700HQ, 16GB RAM 2400 MHz, 256GB NVMe SSD + 1TB 7200rpm HDD, 1050Ti

- Ubiquiti Amplifi HD mesh wifi

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Avocado Diaboli said:

If it only needs to be in column B, why do you need to merge it? Without knowing the details, I'd just suggest using another column to concatenate the values with the appropriate spacing and overwrite the contents of the original cells or just delete the original columns.

 

Basically do this:

image.png.476baa46cc10c2d9e33adf17d5624afe.png

 

Now apply the formula to the entire column.

image.png.d3676c0569f8f087443335c12b5e5008.png

 

Before deleting the original data, select column C, copy the contents with Ctrl-C and without moving the selection, right click and paste the copied data as values (the symbol with "123"). That overwrites the formula and writes the values into the cells as text directly.

image.png.191b449b736d5719c1045e7137ce4e9d.png

 

Now you can delete column A and B.

Thank you! I just needed to create a new column and write =B1 & ", " & C1 and then drag down to show both values in a cell with a comma and space between. Thank you!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×