Excel Prevent #N/A From TextSplit - 2477

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Mar 18, 2022.
Why does the new TEXTSPLIT function in Excel return #N/A errors at the right side? When does a double space create a blank cell? Solve both problems using optional arguments for Ignore_empty and Pad_With.
maxresdefault.jpg


Transcript of the video:
Prevent the #N/A from TEXTSPLIT by using the pad_with.
Do a TRIM with TEXTSPLIT by using ignore_empty.
So we have this new TEXTSPLIT function.
I'm going to split this into columns at each space and into rows at each period.
But there's some problems. Alright, first off, the data coming in has space space occasionally and those space space are showing up as empty cells.
To prevent those empty cells, we use the 4th argument, which is called ignore_empty.
Put a TRUE there and anytime there's a space space it will be seen as an empty cell and will ignore empties and so we get rid of the spaces.
But we still have this problem that some sentences are longer and other sentences are shorter and Excel is filling the empty cells at the right hand side with #N/A.
So what we're going to do here is use the thing called Pad_With.
Just with quote quote out there and at least it will look better.
Well hey, I want to thank you for stopping by.
We will see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,221,530
Messages
6,160,351
Members
451,639
Latest member
Kramb

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