Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Text to a number
I received a large csv file from our vendor and I would like to use Excel
functions. I currently have a cell that has the following value: 19:00 I would like convert this to the number 19. There are also blank spaces in front of the value above. Thank you for any help you can give, Dave |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Text to a number
Do all of the numbers have a colon? If so, try:
=TRIM(LEFT(A1,(FIND(":",A1)-1))) TRIM takes out any spaces FIND locates the colon (the -1 tells it capture one less than the position of the colon) LEFT tells it to capture the data preceding the found colon On Apr 24, 11:09 am, "Dave" wrote: I received a large csv file from our vendor and I would like to use Excel functions. I currently have a cell that has the following value: 19:00 I would like convert this to the number 19. There are also blank spaces in front of the value above. Thank you for any help you can give, Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula to change scientific number to regular number or text | Excel Discussion (Misc queries) | |||
Counting a mixed text/number column based on text in another colum | Excel Discussion (Misc queries) | |||
convert text-format number to number in excel 2000%3f | Excel Discussion (Misc queries) | |||
Why does this fail? =TEXT(RC3,Number)&" / "&TEXT(R32C,Number) | Excel Worksheet Functions | |||
not able to convert text, or graphic number to regular number in e | Excel Worksheet Functions |