I am trying to sort some data out in excel. I had two columns with two different dates in a table. I have calculated the difference in days and it appears as follows:
LOS 5days 20days 20days 8days 27days 13days
What I would like to do is convert the “5days” in to a numerical didgit “5” but I can not figure out how to do it. Can anyone help?
Assuming your data is in column A, starts in row 1, and is always the same in that it is always 5days, 12days, 23days, etc…in a new column input the following formula
=REPLACE(A1,LEN(A1)-3,4," ")
Copy that down and now you have a column of numerical data that can be analyzed. If you want to get rid of the formulas just do a copy/paste values over the same column.