#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Oracle import

Hello from Steved

If I have a 4 Digit the below "Formula" works as it should.

Excel shows "141" as 141 in Formula Bar but the Oracle Import shows it as
0141 in the Formula Bar

"Oracle import" is in sheet named "Duties Mon-Fri"

Please What do I Need to do for the Formula below to accept either to
function Thankyou.

{=INDEX('Duties Mon-Fri '!$F$2:$F$60000,MATCH(B6 &CHAR(1) &C6,'Duties
Mon-Fri '!$B$2:$B$60000 & CHAR(1) &'Duties Mon-Fri '!$G$2:$G$60000,))}



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Oracle import

Hello from Steved

from this $B$2:$B$60000
to this $B$2:$B$60000+0

Yes it was treating it as text.

Thankyou.

"Steved" wrote:

Hello from Steved

If I have a 4 Digit the below "Formula" works as it should.

Excel shows "141" as 141 in Formula Bar but the Oracle Import shows it as
0141 in the Formula Bar

"Oracle import" is in sheet named "Duties Mon-Fri"

Please What do I Need to do for the Formula below to accept either to
function Thankyou.

{=INDEX('Duties Mon-Fri '!$F$2:$F$60000,MATCH(B6 &CHAR(1) &C6,'Duties
Mon-Fri '!$B$2:$B$60000 & CHAR(1) &'Duties Mon-Fri '!$G$2:$G$60000,))}



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Oracle import

Instead of eg: =match(a1,..)
Try it like this: =match(text(a1,"0000"),..)
which will pad a leading zero to the number in A1 as required, besides
converting it to text as well, for consistency in matching
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Steved" wrote:
If I have a 4 Digit the below "Formula" works as it should.

Excel shows "141" as 141 in Formula Bar but the Oracle Import shows it as
0141 in the Formula Bar

"Oracle import" is in sheet named "Duties Mon-Fri"

Please What do I Need to do for the Formula below to accept either to
function Thankyou.

{=INDEX('Duties Mon-Fri '!$F$2:$F$60000,MATCH(B6 &CHAR(1) &C6,'Duties
Mon-Fri '!$B$2:$B$60000 & CHAR(1) &'Duties Mon-Fri '!$G$2:$G$60000,))}



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Oracle import

Hello Max

Thankyou for your solution "Yes much Better"

Steved

"Max" wrote:

Instead of eg: =match(a1,..)
Try it like this: =match(text(a1,"0000"),..)
which will pad a leading zero to the number in A1 as required, besides
converting it to text as well, for consistency in matching
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Steved" wrote:
If I have a 4 Digit the below "Formula" works as it should.

Excel shows "141" as 141 in Formula Bar but the Oracle Import shows it as
0141 in the Formula Bar

"Oracle import" is in sheet named "Duties Mon-Fri"

Please What do I Need to do for the Formula below to accept either to
function Thankyou.

{=INDEX('Duties Mon-Fri '!$F$2:$F$60000,MATCH(B6 &CHAR(1) &C6,'Duties
Mon-Fri '!$B$2:$B$60000 & CHAR(1) &'Duties Mon-Fri '!$G$2:$G$60000,))}



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
Import Data from Oracle to Excel ram_guru Excel Discussion (Misc queries) 1 June 5th 08 04:41 PM
Excel VBA against Oracle Johnson Shine Excel Discussion (Misc queries) 3 January 14th 07 02:05 PM
SQL for Oracle David Excel Discussion (Misc queries) 4 September 26th 06 06:22 PM
SQL for Oracle David Excel Discussion (Misc queries) 2 September 26th 06 04:28 PM
how do I import data from oracle version 7 to excel 2002 donhicks Excel Discussion (Misc queries) 0 May 12th 06 09:22 PM


All times are GMT +1. The time now is 03:25 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"