Did you ever wonder if there was an Excel formula that could split a text into columns or rows? Well, there is now!
Introducing Split Text XL, which provides the SPLITTEXT formula. Use the SPLITTEXT formula to split text to columns or rows by a specified delimiter. The formula works similar to the “Text to Columns” feature in Excel, but also offers the option to split text to rows.
Use Split Text XL to split full names into first and last names, or use it to format CSV data as needed.
This article discusses options when trying to join together cell values in Excel.
Many times in Excel you may want to combine several cells into one cell. For example, if your sheet has dates scattered across different cells, you may want to bring them all together into one comma-delimited list of dates. Excel has several formulas that can do this, and here they are:
How Good Is It?
Let’s discuss each of these formulas one by one. The CONCAT formula replaces the old CONCATENATE formula. CONCAT improves upon CONCATENATE because you can use it to join a range of cells rather than just cells. For example, CONCAT(A1:A3) brings together all cells between A1 and A3. However, one drawback of CONCAT is that there is no way to specify a delimiter, such as a comma (,), to separate each value within the result. Another drawback of CONCAT is that the values will not be formatted, which can be critical if you are working with dates, for example.
The TEXTJOIN formula is better than CONCAT, because you have the option to specify a delimiter. So, TEXTJOIN(“,”, A1:A3) results in a comma-delimited list of the values drawn from A1 thru A3. There is a problem with TEXTJOIN however – the cells being joined will not be formatted in the result.
That brings us to the ultimate solution – the CONCATENATERANGE formula. The CONCATENATERANGE formula does everything the TEXTJOIN and CONCAT formulas do, in addition to formatting the result using the individual cell formats within the range. The other big plus of CONCATENATERANGE is that it works with ALL versions of Excel.
This article explains how to calculate date/time differences between cells, including milliseconds.
I had once received a large amount of log data in an Excel file, and was charged with having to find the duration between some of those logged events. There were thousands of events, time-stamped with values that even included milliseconds! As an example, one of the time stamps looked like this:
This indicates a time value which includes 500 milliseconds (or, in other words, a half-second). First of all, it is interesting to note that to display milliseconds in a cell, you have to format the cell with a “.000” at the end of the format. Sticking with the above example, the cell format would be:
Now, just because we can display milliseconds, doesn’t mean milliseconds is fully supported. In my case, I needed to find the difference between two time-stamps to the nearest millisecond. I was out of luck. None of the Excel formulas I checked supported time calculations involving milliseconds.
The other problem I had was just a quick way to calculate date/time summary statistics over selected ranges of cells. Say, if I selected an entire column of time stamps, I wanted to immediately see the max, min and duration of what I have selected. It seemed like something too tedious to program.
Luckily, there is a little tool you can install that will solve all of these date/time issues. For me, it was these two issues:
Time calculations including milliseconds.
Date/time summary statistics like earliest, latest and duration of time for whatever cells I selected.
Using the DATETIMEDURATION formula, I was able to calculate the time difference between two cells, even if they involve milliseconds! It is all the date/time functions I ever needed, rolled into one formula.
In addition, the Excel Date Time Duration tool transforms the standard Excel status bar (along the bottom) into a display of date/time statistics. A great feature for me, because the summary changed every time I changed my cell selection, without having to use formulas. The summary includes time duration at all levels: years, months,…, milliseconds. Amazing!
As I step back, I realize there’s a lot of info in this post. I guess the one takeaway is that the Excel Date Time Duration tool will solve a lot of date/time issues, so it’s worth a try if you want to download it from the Tumbling Wave Software website. Have a pleasant evening (or “Have a pleasant millisecond”, as the case may be)!