Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 519
Default To reconise text or number


Hello from Steved

4284 640 "Both worksheets have the same information in both columns

Ok whats my issue
I import A "Oracle file" into my spreadsheet the below formula is not
working, now if I copy "4284 and "640" into the imported worksheet it works.
I know "+0" sees text and treats it as a number, my question is their
something similar please.
=INDEX(Timetables!$F$2:$F$5000,MATCH(1,(Timetables !$E$2:$E$5000=B71)*(Timetables!$D$2:$D$5000=C71),0 ))

Thankyou.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default To reconise text or number


You might need to "scrub" the imported data. After the import you can run
this macro to clean things up a bit, and then formulas should be more
responsive.

Activate the imported-data sheet first...

Sub CleanData()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange.Cells
cell.Value = cell.Value
' Or optionally trim fixed-length strings
' cell.Value = Trim(cell.Value)
Next
End Sub


--
Regards,
Tim Zych
http://www.higherdata.com
Workbook Compare - Excel data comparison utility

"Steved" wrote in message
...
Hello from Steved

4284 640 "Both worksheets have the same information in both columns

Ok whats my issue
I import A "Oracle file" into my spreadsheet the below formula is not
working, now if I copy "4284 and "640" into the imported worksheet it
works.
I know "+0" sees text and treats it as a number, my question is their
something similar please.
=INDEX(Timetables!$F$2:$F$5000,MATCH(1,(Timetables !$E$2:$E$5000=B71)*(Timetables!$D$2:$D$5000=C71),0 ))

Thankyou.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 519
Default To reconise text or number


Hello Tim from Steved

Tim thankyou for your script.

"Tim Zych" wrote:

You might need to "scrub" the imported data. After the import you can run
this macro to clean things up a bit, and then formulas should be more
responsive.

Activate the imported-data sheet first...

Sub CleanData()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange.Cells
cell.Value = cell.Value
' Or optionally trim fixed-length strings
' cell.Value = Trim(cell.Value)
Next
End Sub


--
Regards,
Tim Zych
http://www.higherdata.com
Workbook Compare - Excel data comparison utility

"Steved" wrote in message
...
Hello from Steved

4284 640 "Both worksheets have the same information in both columns

Ok whats my issue
I import A "Oracle file" into my spreadsheet the below formula is not
working, now if I copy "4284 and "640" into the imported worksheet it
works.
I know "+0" sees text and treats it as a number, my question is their
something similar please.
=INDEX(Timetables!$F$2:$F$5000,MATCH(1,(Timetables !$E$2:$E$5000=B71)*(Timetables!$D$2:$D$5000=C71),0 ))

Thankyou.




Reply
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
Formula to change scientific number to regular number or text Compare Values Excel Discussion (Misc queries) 2 August 23rd 07 06:10 PM
Match & Index won't reconise certain numbers [email protected] Excel Discussion (Misc queries) 2 April 2nd 07 12:48 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
to reconise Y or N with a colour ? mooieblue New Users to Excel 3 July 13th 05 03:38 PM
Why does this fail? =TEXT(RC3,Number)&" / "&TEXT(R32C,Number) =TEXT(RC3,Number)& / &TEXT(R32C,Number Excel Worksheet Functions 2 June 23rd 05 01:02 AM


All times are GMT +1. The time now is 04:48 PM.

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

About Us

"It's about Microsoft Excel"