Columns

Home > Format > Hide & Unhide shows or hides whole columns; Data > Text to Columns (or the live formula =TEXTSPLIT(A2,",") in Excel 365) splits one column into several; and =A2&" "&B2 or =TEXTJOIN(", ",TRUE,A2:D2) joins several columns back into one. Which of the three you need depends on what's wrong with the column, not on memorizing syntax. The fiddly case is unhiding column A itself: a hidden left-edge column has no visible boundary to drag, so select it by name first — type A1 into the Name Box and press Enter — then apply Unhide.

The formula

=TEXTSPLIT(A2, ",")                  split A2 into columns wherever a comma appears (Excel 365 only)
=SPLIT(A2, ",")                       the same split in Google Sheets — a different function, same idea
=A2&" "&B2                            combine two columns with a space between them
=TEXTJOIN(", ", TRUE, A2:D2)          combine a whole row of columns, skipping any blank cells

A worked example

A2 holds the single value "Doe, Jane" — last name, comma, space, first name.

=TEXTSPLIT(A2, ", ")

Two values spill into A2 and B2: "Doe" and "Jane" (Excel 365). In Google Sheets, =SPLIT(A2, ", ") does the same split. Text to Columns (Data tab) does the identical split as a one-time action instead of a live formula — use it if you don't want the split to update automatically.

Which one do I need?

If you want to…Use
A column (often column A) is hidden and you can't drag to select itType its reference into the Name Box (e.g. A1) and press Enter, then Home > Format > Hide & Unhide > Unhide Columns
One column holds combined data (name + email, address + city) that needs separatingData > Text to Columns for a one-time split, or a live formula — TEXTSPLIT(A2, delimiter) in Excel 365, SPLIT(A2, delimiter) in Google Sheets
Joining two columns into one (first + last name)=A2&" "&B2 or =CONCAT(A2,B2)
Joining three or more columns, or a whole row, into one=TEXTJOIN(", ", TRUE, A2:D2) — handles any number of columns and can skip blanks

Frequently asked questions

How do I unhide column A specifically?

Column A has no left edge to drag from, so the usual right-click-a-boundary trick can't reach it. Click the Name Box (left of the formula bar), type A1, press Enter to select it despite being hidden, then go to Home > Format > Hide & Unhide > Unhide Columns.

What's the difference between Text to Columns and TEXTSPLIT?

Text to Columns runs once and overwrites the column with static values. TEXTSPLIT is a live formula that updates automatically when the source cell changes, but it is Excel-only (365 with dynamic arrays; older perpetual-license Excel does not have it). Google Sheets has no TEXTSPLIT — use SPLIT(text, delimiter) there for the same live-formula result.

Does TEXTJOIN work the same in Google Sheets?

Yes — TEXTJOIN(delimiter, ignore_empty, range) is identical in both. For the reverse operation, Excel uses TEXTSPLIT and Google Sheets uses SPLIT — different function names, same job.

Why did TEXTSPLIT give a #SPILL! error?

TEXTSPLIT writes its results into the cells to the right of the formula. A #SPILL! error means one of those cells already has something in it — clear the row it would spill into and re-enter the formula.

Excel Comparing 2 Columns1300Text Into Columns Excel1300How to Flip Columns AND Rows in Excel1000Excel Columns Are Numbers1000Comparing Columns Excel1000Comparing Two Columns of Data in Excel1000How to Increase Width of Column in Excel1000Excel Joining Two Columns1000How to Summarize a Column in Excel1000Hiding Excel Columns880How to Increase Column Size in Excel880Excel Locked Columns880How to Select Columns in Excel880How to Compare Data in Two Columns in Excel720Comparing Two Columns in Excel720How to Insert a New Column in Excel720Excel Merging Two Columns720How to Exchange Rows AND Columns in Excel590Excel Apply Formula to Entire Column590How to Auto Fit Columns in Excel590Free Column Excel590How to Make Rows Into Columns in Excel590Locking Columns in Excel590How to Name Columns in Excel590How to Make All Columns the Same Width in Excel480How to Reverse Rows AND Columns in Excel480Get Excel File Column Names from Excel Power Auomate480Get Column Names from Excel Power Auomate480Combining Two Columns in Excel480Comparing Columns in Excel to Find Differences480Comparing Two Columns in Excel to Find Differences480How to Insert Formula in Excel for Entire Column480How to Flip a Column in Excel480How to Number a Column in Excel480How to Select Two Columns in Excel480Unhiding Columns in Excel480How to Alphabetize a Column in Excel390Excel Apply Formula to Entire Column Without Dragging390Consolidate Columns in Excel390How to Copy a Column in Excel390How to Make Columns in Excel390Grouping Columns in Excel390How to Reverse a Column in Excel390Unhiding All Columns in Excel320How to Interchange Rows AND Columns in Excel320Excel Make Colored Columns320Combining Columns in Excel320Comparing Two Columns in Excel for Differences320How to Make Columns Equal Length in Excel320Excel Formula to Deflect Column with Zero Value320How to Select Two Different Columns in Excel320How to Fix a Column in Excel320How to Highlight a Column in Excel320How to Invert a Column in Excel320How Do I Repeat a Column Pattern in Excel320How to Reconcile Two Columns in Excel320Excel Formula to Remove Zero Value Column in Excel320How to Break Column in Excel260Comparing Columns in Excel for Differences260How to Delete Extra Columns in Excel260How to Keep a Column Fixed in Excel260How to Label Columns in Excel260How to Multiple Columns in Excel260Excel Test to Columns260What Is the Row AND Column in Excel210How to Auto Size Columns in Excel210Most Common Words in Column Excel210How to Unhide First Column in Excel210How to Remove Unused Columns in Excel210Selecting a Column in Excel210How to Swap Two Columns in Excel210Alphabetizing Excel Columns170How to Copy AND Paste a Column in Excel170Compare Values in Two Columns in Excel170How to Make a Row a Column in Excel170How to Make Columns the Same Size in Excel170How to Delete Excess Columns in Excel170How to Format a Column in Excel170Merging Columns in Excel170Excel How to Move Table Columns170Named Columns in Excel170How to Search a Column in Excel170How to Shrink Columns in Excel170Stack Columns in Excel170How to Put a Column in Alphabetical Order in Excel140Collapsible Columns Excel140Excel Make Columns Same Width140Excel Merge Data from Two Columns140How to Extend Columns in Excel140Excel Formula Last Value in Column140How to Reverse the Order of a Column in Excel140Excel Column Title140Excel Highlight Row AND Column of Active Cell110Excel Swapping Rows AND Columns110How to Apply a Formula to a Column in Excel110Applying a Formula to an Entire Column in Excel110Excel Highlight Differences Between Two Columns110Excel Formula for Entire Column110How to Highlight Entire Column in Excel110How to Move an Entire Column in Excel110Excel Expanding Columns110Helper Column Excel110Excel Column a Missing110Excel Reference Table Column110Excel Formula for Whole Column110Why Are My Excel Columns Numbers90Excel Paste Row as Column90Autosize Columns Excel90How to Autosum a Column in Excel90Excel Clustered Stacked Column90Excel Compare Text in Two Columns90How to Copy a Whole Column in Excel90Copying a Column in Excel90How to Make a Column Negative in Excel90Delete Unused Columns in Excel90Excel Find Value in Column90How to Repeat Column Headings in Excel90Highlighting Columns in Excel90Labeled Columns in Excel90How to Make Columns AND Rows in Excel70How to Arrange Column in Excel70How to Clear a Column in Excel70How to Make One Column Into Two in Excel70How to Distribute Columns Evenly in Excel70Excel Column Headings70Paste Columns Into Rows Excel70Excel Turning Columns Into Rows70Last Column Excel70Lost Columns in Excel70How to Order a Column in Excel70Column Reference in Excel70Excel Adjust Frozen Rows AND Columns50How to Create a New Column in Excel50Delete Hidden Columns in Excel50Find a Number in a Column Excel50Naming Columns in Excel50Excel Search Column for Value50Summing a Column in Excel50