Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     VLOOKUP using xls created by WebFOCUS
Go
New
Search
Notify
Tools
Reply
  
VLOOKUP using xls created by WebFOCUS
 Login/Join
 
Platinum Member
posted
We have a current Core FOCUS process where people run a fex and save the output into LOTUS format then manually ftp it to their hard drive. They cut and paste the data into a different workbook where one tab performs a VLOOKUP against the tab containing the newly pasted data. If I run this same query in WF in EXL2K format and do the other steps which they perform the vlookup function fails. Both outputs have the data as 'General' format. I'm assuming that even though to the naked eye the LOTUS and EXCEL spreadsheets look the same there is something different that I'm not seeing. If anyone has any insight into using VLOOKUP with EXL2K spreadsheets from WF I'd appreciate any pointers.

WF Reporting Server and Core FOCUS are both on the same HP UX box. WF 7.1.4, Core FOCUS is 6.9

Thanks...


WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
 
Posts: 149 | Location: Dallas, TX | Registered: June 08, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Linus
it depends on the field.
GEneral format doesn't mean much.
If the field (base of vlookup) is numeric,
then compare its value with the VALUE(a1) function, to the field in the lookup table.
If alpha, then compare using a straight compare
=A1=Sheet2!A1, and if you get a FALSE, which i expect you will, you can then investigate why the 2 fields don't match.
Remember, if the field is numeric, excel likes to carry alot of decimal places under the covers, so you need to pay special attn.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
Virtuoso
posted Hide Post
As I recall, lotus format is just a comma delimited file, which means the way it's handled in a spreadsheet would be different from an xls format, would by my guess.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
Linus,

If you are using Excel templates then I think that your real problem is possibly that your lookup reference is made to a sheet range and not a named range within Excel.

As I have mentioned recently, when WF outputs to an Excel template it actual creates a "new" sheet and therefore the name is different to what you'd expect.

When ever I output to Excel, if I want anything other than what WF can supply easily, I rely upon macros to achieve the required result. So essentially I use WF to supply the data extract into Excel (using push rather than pull as in an Excel query).

You can use WF to name a range (I think?) and you could utilise that facility for your VLOOKUP perhaps?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5616 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Actually, what's happening is the end user is re-formatting the spreadsheet used for the vlookup every time they paste the data into the spreadsheet. End user behavior is beyond my control. Wink


WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
 
Posts: 149 | Location: Dallas, TX | Registered: June 08, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Easily solved, chop off their fingers or remove their keyboard - the latter option tends to be less messy though Wink

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5616 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Master
posted Hide Post
Careful Tony, you'll have her thinking about the fingers thing. Winky


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
Platinum Member
posted Hide Post
You know me too well Pat! Big Grin


WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
 
Posts: 149 | Location: Dallas, TX | Registered: June 08, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
I find carrying a nice pair of secateurs in the back pocket keeps the user base honest Wink The anvil variety tend to give a cleaner cut than the shear type.

T
 
Posts: 5616 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Master
posted Hide Post
ROTFLMAO


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     VLOOKUP using xls created by WebFOCUS

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.