Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello group,
Anyone have experience working with mac addresses in Excel 2002 either with VBA or worksheet functions? Here's my problem, I import text and csv files with hundreds of mac addresses in to spreadsheets and run reports on them doing VLOOKUPs and so on. The problem is when a mac starting with 000 and has all numbers in it the first two or three zeros get cut off, ie mac 000123456789 ends up 123456789 after import. Also sometimes Excel will format the mac as scientific notation if the mac ends with zeros, ie mac 000123456700 ends up 1.23E+08. I've tried formating the mac column I'm importing as text in the import wizard but it still formats some macs as above. I've tried to format the column as text in my spreadsheet before I import the macs but still I get some macs that don't import correctly. Any ideas or web links would be greatly appreciated. Jim Scheffler |
#3
![]() |
|||
|
|||
![]()
In the text file, put quotes, or single quotes around the number "000... or
'000... or, try a single quote inside a quote, like " ' 000... |
#4
![]() |
|||
|
|||
![]()
If you rename the *CSV files to *TXT they will open in the text import
wizard, if you click next twice to go to step 3 you can set the import as text under column data format, then click finish Regards, Peo Sjoblom "Jim Scheffler" wrote: Hello group, Anyone have experience working with mac addresses in Excel 2002 either with VBA or worksheet functions? Here's my problem, I import text and csv files with hundreds of mac addresses in to spreadsheets and run reports on them doing VLOOKUPs and so on. The problem is when a mac starting with 000 and has all numbers in it the first two or three zeros get cut off, ie mac 000123456789 ends up 123456789 after import. Also sometimes Excel will format the mac as scientific notation if the mac ends with zeros, ie mac 000123456700 ends up 1.23E+08. I've tried formating the mac column I'm importing as text in the import wizard but it still formats some macs as above. I've tried to format the column as text in my spreadsheet before I import the macs but still I get some macs that don't import correctly. Any ideas or web links would be greatly appreciated. Jim Scheffler |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I adjust working calendar (6 day work week) in excel that . | Excel Worksheet Functions | |||
Using CONCATENATE function to create email addresses from a list | Excel Worksheet Functions | |||
Problem Working with Named Ranges | Excel Discussion (Misc queries) | |||
HOW TO COPY 480 ACTIVE E-MAIL ADDRESSES CLM "G" ON AN ACTIVE EXCE. | Excel Discussion (Misc queries) | |||
Editing Multiple E-Mail Addresses... | Excel Worksheet Functions |