![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 13
|
I need to get data from a cell and perform an if statement on it. For example, the data would be "May19 01008Z". I want to take the May19 and put it into date format and perform an if statement on it and also the same for the "Z" at the end of the data.
ANY HELP WOULD BE GREAT! |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Apr 2002
Posts: 112
|
Quote:
[ This Message was edited by: bergy on 2002-05-17 12:07 ] |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 13
|
Yes there ALWAYS is!!!
|
|
|
|
|
|
#4 | |
|
Board Regular
Join Date: Apr 2002
Posts: 112
|
Quote:
=LEFT(A2,FIND(" ",A2)-1) that will give you just the date. Place the following formula in C2. =RIGHT(A2) That should give you the very last character. Hope that works! [ This Message was edited by: bergy on 2002-05-17 13:45 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|