LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 74
Default Import data from Access and doesnt recognize numbers in left func.

I have a database that is sorted and imported into excel for charting
purposes. I have all the data there but need to pull out the first 2 numbers
of a field to create a year. Here is an example of the data I am importing:

93h00151615 (would be 1993)
10j56465665 (would be 2010)

I am using this function to accomplish this in another colume:

if(left(b2,2)<11,20&left(b2,2),19&left(b2,2)

This always uses the default because it doesn't reconize the first two
characters as letters. I have reformated the cells but it doesn't work.

Thank you for your help.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
import access data into excel George Applegate[_2_] Excel Discussion (Misc queries) 1 April 18th 08 10:13 PM
import data from access to excel George Applegate[_2_] Excel Worksheet Functions 1 April 18th 08 02:13 PM
Dynamic Data Import From Access Achilleas Charts and Charting in Excel 1 February 19th 07 07:26 PM
Data import issue from Access Ken New Users to Excel 0 August 10th 06 04:37 PM
Import Charts and data to Access Kyriaki Charts and Charting in Excel 1 January 31st 06 07:37 PM


All times are GMT +1. The time now is 11:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"