Hi, I have data in cells with unit behind the figure. Example, cells A1 = 10.21 m, A2 = 5.2 m, A3 = 30.14 m2 and A4 = 11.0 m. Now what formula to use so that Cell B1 would return 10.21, B2= 5.2, B3=30.14 and B4=11.0. Please help. Thanks
if the cells are formatted to include the units, simply change the format to Number with whatever number of decimal places you want. If the units are entered manually then the cells contain strings not numbers. In that case try:
=Left(A1,search(" ",A1)-1)+0
Hi, I have data in cells with unit behind the figure. Example, cells A1 = 10.21 m, A2 = 5.2 m, A3 = 30.14 m2 and A4 = 11.0 m. Now what formula to use so that Cell B1 would return 10.21, B2= 5.2, B3=30.14 and B4=11.0. Please help. Thanks
Put this in cell A1 in a new worksheet: 10.21 m. Then copy the formula in post#2 directly from your browser and paste it to cell B1. What do you get in B1? I'm assuming that the "m" in your data cells is not the result of custom formatting the cells to append " m" to numbers that are entered in the cells, thus leaving real numbers (not strings) in those cells.The formula seems not working Mr. Joe. I can't figure out how to solve it.