![]() |
|
#1
|
|||
|
|||
![]()
display error, I want to change column U, for example from 4.000002E13 to 40000165342013, pls see attached. how to do? why it display like ***2E13, how to prevent this.
also if I have cell "12345672013", how to make it by trail 2013 in the cell, I want it to be "1234567" |
#2
|
|||
|
|||
![]() Quote:
It appears that the first issue is dealing with what is called scientific notation. Besides converting the cell to text you could add a ' into the result cell. an example would be to place this formula in cell u1 ="'"&a1 the quotes are around the ' so it is " ' " without the spaces. This will show the whole number. If you need to do calculations with it calculate the value in A1 not U1. U1 is just so you can see the number. Now the 2nd issue could be accomplished by the formula =right(a1,4) This will take the last 4 characters of a string and display them. so 01234567892013 will show 2013. Again if you need to do calculation on this change the formula to =right(a1,4)+0 Let me know if this makes sense. Thanks |
#3
|
|||
|
|||
![]()
No, I want to remove 2013, not to get 2013, eg. 345672013, I want 34567, not 2013.
if it is ABC2013, I want ABC, if it is ABCTW2013, I want ABCTW. it can have different length The problem not resolved |
#4
|
||||
|
||||
![]()
Ctrl+H
replace what :2013 with: (leave blank) Replace all
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#5
|
|||
|
|||
![]()
problem still not resolved, I have below cases:
2sw2013cf2013, I want it to be 2sw2013cf, not 2swcf. I just want to trim '2013' at the end of phase, any idea? |
#6
|
||||
|
||||
![]()
Jolinchew, are you saying you want—well, let me rephrase it and you tell me whether it's right:
Quote:
Last edited by BobBridges; 08-04-2013 at 08:41 PM. Reason: Fix a typo |
#7
|
||||
|
||||
![]()
Perhaps =left(A1,len(A1)-4)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#8
|
||||
|
||||
![]()
I was going to correct Pecoflyer's solution ("no, that just removes the last four bytes of string whether or not they're '2013' "), and checked your samples again. I see I got it wrong; it's not the first "2013" that matters, it's the last. And I thought you had at least one where more text appeared after "2013", but in all your examples every string ends that way.
So go over those sample strings again and tell me how you want them treated. That'll tell you whether Pecoflyer's solution will work for you. If it won't, your answers to the samples should enable either of us to define one that will. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Milestones: Display of - turning off the display of the date | Pmacdaddy | Project | 3 | 01-18-2013 05:42 PM |
WORD 2010 Print Layout View display error | cwk | Word | 1 | 06-20-2012 04:38 PM |
![]() |
bennypryde | Office | 1 | 01-05-2012 03:33 PM |
Microsoft Office 2010 programs display error message "Application has failed to start | SamSR | Office | 1 | 02-15-2011 07:15 AM |
Runtime error 5487 - Word cannot complete the save to to file permission error | franferns | Word | 0 | 11-25-2009 05:35 AM |