BI 7.0 Workbook excel 2003 formula for comparision

Hello Friends I have a requirement to create a workbook in BI where I have 7 columns on left side of excel workbook and 7 columns on right side of excel workbook in the same sheet of workbook. so Requirement is to put the Code 0, 1, 2, 3,4,5,6
if column 1 on left match with column 1 on right and like that column 2 on left match with column 2 on right
But the below excel formula is not working it always give me 7 which is a false value even though the data in columns 1 & 1 match each other
Can u please suggest me the step by step formula or any VB Code that I can put to get this done. I am not good in VB so please tell me the exact steps. thanks for all sdn help
formula not working
=IF((E15=V15),0,IF((F15=W15),1,IF((G15=X15),2,IF((H15=Y15),3,IF((I15=Z15),4,IF((J15=AA15),5,IF((K15=AB15),6,7)))))))
Thanks
Soniya

I'm afraid I haven't made my question understood clearly.
What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
Please advice.
Thanks in advance,
Shady

Similar Messages

  • What algorithm does Excel 2010 use for Pseudo Random Number Generation (MT19937?)

    Does Excel 2010+ use the Mersenne Twister (MT19937) algorithm for Pseudo Random Number Generation (PRNG), implemented by the RAND() function?
    This has been a nagging question for some time now, with "hints" that it indeed does.  However, a relatively thorough search turns up no definitive documentation.  The most direct indication is perhaps given by Guy Melard [Ref 9] where
    he tests Excel 2010's RAND() function using the Crush battery of tests in TestU01 by L'Ecuyer & Simard.  Melard references a "semi-official" indication that Microsoft did indeed implement MT19937 for the RAND() function in
    Excel 2010, but this reference no longer seems to be available. http://office.microsoft.com/enus/excel-help/about-solver-HP005198368.aspx?pid=CH010004571033.
    The other references below [Ref 1-10] document the history of the statistical suitability of the PRNG and probability distributions in various versions of Excel.  This includes the Wichmann-Hill PRNG implementations supposedly (arguably) used in
    Excel 2003 & 2007 for random number generation.  But still, we have no answer as to which PRNG algorithm is used in
    Excel 2010 (and 2013 for that matter).
    Microsoft indicates that RAND() has been improved in Excel 2010; Microsoft states, "...and the RAND function now uses a new random number algorithm." (see https://support.office.com/en-ca/article/Whats-New-Changes-made-to-Excel-functions-355d08c8-8358-4ecb-b6eb-e2e443e98aac). 
    But no details are given on the actual algorithm.  This is critical for Monte Carlo methods and many other applications.
    Any help would be much appreciated. Thanks.
    [Ref 1] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 97. 
    Computational Statistics & Data Analysis. Vol. 31 No. 1, pp 27-37. July 1999.
    http://users.df.uba.ar/cobelli/LaboratoriosBasicos/excel97.pdf
    [Ref 2]L. Knüsel.  On the accuracy of the statistical distributions in Microsoft Excel 97. Computational Statistics & Data Analysis. Vol. 26 No. 3, pp 375-377. January 1998.
    http://www.sciencedirect.com/science/article/pii/S0167947397817562
    [Ref 3]B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2000 and Excel XP. 
    Computational Statistics & Data Analysis. Vol.40 No. 4, pp 713-721. October 2002.
    https://www.researchgate.net/publication/222672996_On_the_accuracy_of_statistical_procedures_in_Microsoft_Excel_2000_and_Excel_XP/links/00b4951c314aac4702000000.pdf
    [Ref 4] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2003. 
    Computational Statistics & Data Analysis. Vol.49. No. 4, pp 1244-1252. June 2005.
    http://www.pucrs.br/famat/viali/tic_literatura/artigos/planilhas/msexcel.pdf
    [Ref 5] L. Knüsel. On the accuracy of statistical distributions in Microsoft Excel 2003. Computational Statistics & Data Analysis, Vol. 48, No. 3, pp 445-449. March 2005.
    http://www.sciencedirect.com/science/article/pii/S0167947304000337
    [Ref 6]B. McCullough, D.Heiser.  On the Accuracy of Statistical Procedures in Microsoft Excel 2007. 
    Computational Statistics & Data Analysis. Vol.52. No. 10, pp 4570-4578. June 2008.
    http://users.df.uba.ar/mricci/F1ByG2013/excel2007.pdf
    [Ref 7] A. Yalta. The Accuracy of Statistical Distributions in Microsoft<sup>®</sup> Excel 2007. Computational Statistics & Data Anlaysis. Vol. 52 No. 10, pp 4579 – 4586. June 2008.
    http://www.sciencedirect.com/science/article/pii/S0167947308001618
    [Ref 8] B. McCullough.  Microsoft Excel’s ‘Not The Wichmann-Hill’ Random Number Generators. Computational Statistics and Data Analysis. Vol.52. No. 10, pp 4587-4593. June 2008.
    http://www.sciencedirect.com/science/article/pii/S016794730800162X
    [Ref 9] G. Melard.  On the Accuracy of Statistical Procedures in Microsoft Excel 2010. Computational Statistics. Vol.29 No. 5, pp 1095-1128. October 2014.
    http://homepages.ulb.ac.be/~gmelard/rech/gmelard_csda23.pdf
    [Ref 10] L. Knüsel.  On the Accuracy of Statistical Distributions in Microsoft Excel 2010. Department of Statistics - University of Munich, Germany.
    http://www.csdassn.org/software_reports/excel2011.pdf

    I found the same KB article:
    https://support.microsoft.com/en-us/kb/828795
    This was introduced (according to the article) in Excel 2003. Perhaps the references in notes 2 and 3 might help.
    The article describes combining the results of 3 generators, each similar to a Multiply With Carry (MWC) generator, but with zero carry. MWC generators do very well on the Diehard battery of randomness tests (mentioned in your references), and have
    very long periods. But using zero carry makes no sense to me.
    Combining the three generators only helps if the periods of the 3 are relatively prime (despite what the article implies). Then the period of the result will be the product of the 3 periods. But without knowing the theory behind these generators, I have
    no idea what the periods would be. The formulas for MWC generators fail here.
    Richard Mueller - MVP Directory Services

  • ActiveX Save As function for Microsoft Excel 97- Excel 2003 & 5.0/95 Workbook (*.xls)

    Can someone show me how to use Active X - Save As function?
    I want to save it in  Microsoft Excel 97- Excel 2003 & 5.0/95 Workbook (*.xls)
    thanks in advance!
    Best regards,
    Krispiekream
    Solved!
    Go to Solution.

    Oh,
    I thought people stopped reading my other post so I posted another.
    sorry.
    but i found the solution
    FileFormat variant name integer code
    Microsoft Excel Workbook xlWorkbookNormal -4143
    Web Page xlHTML 44
    Template xlTemplate 17
    Text (Tab Delimited) xlCurrentPlatformText -4158
    Unicode Text xlUnicodeText 42
    Microsoft Excel 5.0/95 Workbook xlExcel5, xlExcel7 39
    Microsoft Excel 97-2000 & 5.0/95 Workbook xlExcel9795 43
    CSV (Comma Delimited) xlCSV 6
    Microsoft Excel 4.0 Worksheet xlExcel4 33
    Microsoft Excel 3.0 Worksheet xlExcel3 29
    Microsoft Excel 2.1 Worksheet xlExcel2 16
    Microsoft Excel 4.0 Workbook xlExcel4Workbook 35
    WK4 (1-2-3) xlWK4 38
    WK3, FM3 (1-2-3) xlWK3FM3 32
    WK3 (1-2-3) xlWK3FM3 15
    WK1, FMT (1-2-3) xlWK1FMT 30
    WK1, ALL (1-2-3) xlWK1ALL 31
    WK1 (1-2-3) xlWK1 5
    WKS (1-2-3) xlWKS 4
    WQ1 (Quattro Pro/DOS) xlWQ1 34
    DBF 4 (dBASE IV) xlDBF4 11
    DBF 3 (dBASE III) xlDBF3 8
    DBF 2 (dBASE II) xlDBF2 7
    Formatted Text (Space Delimited) xlTextPrinter 36
    Text (Macintosh) xlTextMac 19
    Text (MS-DOS) xlTextMSDOS 21
    CSV (Macintosh) xlCSVMac 22
    CSV (MS-DOS) xlCSVMSDOS 24
    DIF (Data Interchange Format) xlDIF 9
    SYLK (Symbolic Link) xlSYLK 2
    I know that its saving in the correct format. BUT I don't know why it wouldnt save 2 worksheets, but instead it only have 1.
    Best regards,
    Krispiekream

  • Problems embedding PDF files into Excel 2003 workbooks

    Several of my fellow consultants engaged on a client project were previously able to successfully embed PDF files as objects within Excel 2003 workbooks.  However, most recently, a few of them have been encountering odd icon displays for the embedded object (not the standard Adobe PDF icon), resulting in the user unable to view the object (these colleagues are using desktop PCs running Excel 2003 and Adobe Reader 9.3.2).  Has anyone encountered this and have a remedy?

    Thanks for responding -
    My colleagues report that no error messages appear when adding the object to the Excel spreadsheet - however, the object is created with a non PDF icon being displayed.  Once the icon is double clicked, nothing appears.  The sample of the problem was forwarded to me - where I can see that the object icon is in fact a non Adobe PDF icon (see below).  While I am able to open the PDF file with my PC desktop configuration (Windows XP, Excel 2007, Adobe Reader v9.4.1.), those with Windows XP, Excel 2003 and Adobe Reader v9.3.2 can not.  Any thoughts?

  • Problem opening BEx Analyzer Workbook (saved in Excel 2007) in Excel 2003!!

    Dear all:
    I know there are threads about this issue and numerous support tickets have been provided, but we still can't get any Excel 2007 Query to be opened by Excel 2003.
    I have tried to save Excel 2007 BEx Analyzer Query into 97-2003 XLS format. But when we reopened (by both Excel 03 and 07), it prompted the warning messages and broke down the query workbook into several sheets with scrambled data. What am I missing here...? According to the support ticket, it seemed pretty straightforward just by saving the format to 2003 XLS, but in reality it just doesn't work as "advertised"
    Thank you...!!!
    Brian

    I have the solution for this.
    It works to my environment.
    Follow the steps :
    1. you must open the xlsx workbook from Bex Analyzer.
    2. Save As workbook locally to your PC for excel 97-2003
         (Not "save as" from bex Toolbar but from      excel)
    3. Now save that workbook with Save As->Workbook from Bex Toolbar into your BI database.
    Now go to detail properties of your workbook and there you can see the format xls for your workbook.
    Good Luck

  • Dimension member listings too large for excel 2003

    Hi All,
    I have a design issue, using BPC 7.0.112 on SQL 2005, where I want to hold a large number of dimension members which currently exceeds the excel 2003 65,000 row limit. Moving to 2007 is not an option.
    Aside from the question, why does the client need to hold so many members, does anyone have any suggestions or previously used solutions to this problem?
    In previous software I've used, (Business Objects Planning), my approach would be to detach the front end xls from the backend dimension table. This needed a significant amout of vba code but allowed the application to use the dimension table in the usual way. The downside, however, being that properties and groupings could then not be maintained through the front end.
    Has anyone used this approach? Whats the impact on the application?
    Many thanks
    Phil

    Hi,
    I have successfully saved/processed a dim workbook with multiple sheets, (using relatively few members on each sheet, 8,000 & 50), however, when now loading some high volumes, 20,000 on each sheet, BPC consistently fails to save the dim member sheet.
    "The underlying connection was closed: Could not establish secure channel for SSL/TLS.
    Cannot save member sheet to the server; do you want to save it to the local machine?"
    I am using a VPN connection to the clients servers so am wondering if this a bandwidth problem? The most I have managed to save and process is about 18,000 members.
    Does anyone have any suggestions as what else is causing this failure. Is the reference "could not establish a secure channel for SSL/TLS" pointing at some sort of timeout on the server?
    Many thanks

  • Need help for "Numeric field Overflow" error in excel 2003.

    Hello,
    a friend of mine have a problem exporting Business Objects 5.1.8 to excel 2003 (turning on windows 2000).
    Each time she want to export her reporting in excel format (.XLS), she obtain a "Numeric field Overflow (3349)" error.
    So, she export in .CSV format, but it's not easy to use for her following tasks.
    What could she do ?
    Does she do an "update" to newer version of B.O., or there are a solution at her problem ??
    Thanks in advance.
    Nicolas
    P.S.: I searched for solution on this forum, but found nothing.
    Edited by: Nicolas Kowarski on Sep 28, 2008 10:16 PM

    Hello Nicolas,
    Please post this query to the [Legacy Products|SAP BusinessObjects BI Legacy Products;  forum.
    That forum is dedicated to topics related to legacy products such as Business Objects Enterprise 5.x and 6.x.
    The forum is monitored by qualified technicians and you will get a faster response there.
    Also, all Legacy Product queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • Numbers Equivalent of Excel Formula for Converting HH:MM:SS to DD:HH:MM:SS

    I am not sure if this has been asked before.
    What would be the Numbers formula for converting HH:MM:SS to DD:HH:MM:SS?  The Excel formula is entering 396:59:45 into a cell and then in another cell is the following =TEXT(A2,"dd:hh:mm:ss").  The A2 is the example cell.

    There is no formula to actually do the conversion. It is a matter setting the cell format. After that all you need to do is add a simple =<cell> formula to get the value in (i.e. - see my previous post), or a formula to add the two values (=A2+A5). Use Duration rather then Time for the cell formats.
    A duration in Numbers for iOS will not appear 10:16:25:03, it will display as 10d 16h 25m 03s. If it is the actual display punctuation you are trying to change, it may be possible using a combination of a Duration and TEXT functions but would be quite lengthy, convoluted, and more trouble than it is worth.

  • Project 2010 keeps asking for Excel 2003 or later when trying produce visual reports.

    When I try to produce a visual report on project 2010, I am asked to have Excel 2003 or later installed on my computer.  I have office 2013 installed, and have looked for the Excel.exe file to move it but i was unable to find it. Any help much
    appreciated. 

    In addition to Paul's excellent advice, try this:
    Go into C:/Program Files/Microsoft Office/Office15 and copy the Excel.exe file
    Paste into C:/Program Files/Microsoft Office/Office14
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Best practice for Smartview when upgrading from Excel 2003 to Excel 2007?

    Does anyone know the best pratice for Smartview when upgrading from Excel 2003 to Excel 2007?
    Current users have Microsoft Excel 2003 with Smartview 9.3.1.2.1.003.
    Computers are being upgraded to Microsoft Excel 2007.
    What is the best pratice for Smartview in this situation?
    1. Do nothing with Smartview and just install Excel 2007.
    2. Install Excel 2007 and then uninstall and reinstall Smartview
    3. Uninstall Smartview, Install Excel 2007, and then install Smartview
    4. Somthing else??
    Thanks!

    We went with option 1 and it worked out fine. Be aware that SV processes noticeably slower in Excel 2007 than 2003. Many users were/are unhappy with the switch. We haven't tested SV v11 yet, so I'm not sure if it has improved performance with Excel 2007 or not (hopefully it does).

  • Where can i download Essbase addin 9.3.1 version for Excel-2003???

    H,
    Where can i download Essbase addin 9.3.1 version for Excel-2003???
    Please advise

    Thanks for your reply...i had the client software also...
    In general what procedure do we follow while installing the Essbase into PC?
    I have installed Client software 1st and searched for MS office 2003 and installed...
    when i go to Tools->addins->hypeionanalyticservices->bin->there is no addin ...
    please suggest me...is that right way to install the client software before installing the MSoffice??
    or else
    do i need to follow the below steps??
    In Excel 2003
    * Go to File -> Open….
    * Navigate to <drive>:\Hyperion\AnalyticServices\client\sample.
    * Open Esstoolb.xls file.
    * Now the Essbase toolbar is shown.
    Regards,
    Prabhas..

  • DAQmx VBA for Excel 2003

    Hi,
    I'm trying to control a NI6128 via VBA. I'm using Excel 2003 and tried several of the samples I found in the developer Zone, none of them seem to run. I think there is a fundamental error somewhere.
    But, the VB6 drivers  suppose to run under VBA and that is suppose to work under Excel 2003?
    Peter

    Check out some of these links about programming in VBA.  You might have to make some of your own code, I haven't been able to get those examples to run either.
    http://digital.ni.com/public.nsf/allkb/B22FE2B0F9C8935286256E920073DA07?OpenDocument
    http://digital.ni.com/public.nsf/allkb/735848148B5B4964862571F5004692C7?OpenDocument
    http://digital.ni.com/public.nsf/websearch/B22FE2B0F9C8935286256E920073DA07?OpenDocument
    I hope that this helps.
    Applications Engineer
    National Instruments

  • Excel 2003 to 2013 VBA migration bug

    Hello!
    I need to convert mission critical workbooks with much VBA code from Excel 2003 to Excel 2013, of which some were originally created using Excel 97.
    When running any VBA macro I get 0x80028018 errors. A similar problem is described in KB320369 - BUG: "Old format or invalid type library"
    error when automating Excel - however in my case it's
    VBA, not .NET or VSTO and
    I have installed the proper language packs.
    I need to describe more detailed:
    Even when I open the legacy workbook in 2013, create a new blank sheet, delete all old sheets and all VBA code, forms etc., put a new command button in, calling any new VBA sub, I get that error.
    When I create a new workbook from scratch, put a new command button in, calling any new VBA sub, there is no error!
    It also makes no difference, if I save it in compatibility mode xls or as new xlsm. See the screenshots.
    I believe there is some legacy metadata in vbaProject.bin, which makes Excel 2013 choke.
    Thanks!
    L.
    Run-Time Error Message:
    Comparison of the zipped contents of "Book2", the newly created workbook, and "L_VK_1_min", the converted legacy workbook:

    Hi asklucas,
    Are you installing mutiple version of Excel on the same computer? Can you check the wether the reference is correct in tools-reference?
    >>I believe there is some legacy metadata in vbaProject.bin, which makes Excel 2013 choke.<<
    Is it helpful that conver the XLSM to XLSX, then copy the code in to XLSX and save it to XLSM back?
    If not, I suggest that you create a new workbook and copy the orgial code into the new workbook as a workaround.
    Event if there are many workbook, we can write an application to automate this process. Here are some helpful links for your reference:
    Objects (Visual Basic Add-In Model)
    OfficeTalk: Display a List of All VBA Procedures in a Workbook from the Ribbon
    Hope it is helpful.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BexAnalyser : compatibilty of WB created in Excel 2010 with Excel 2003

    Hi all,
    I'm trying to define the compatibilty of worbook created with BexAnalyser (Excel)  2003 with BexAnalyser 2010.
    When a workbook is created in 2003 version and saved with 2010 version and opened with BexAnalyser 2003, I'm loosing the textelement (available by the Information bouton).
    For displaying this information, I have to turn into creation mode and displaying the information by quoting the radio bouton in properties panel.
    In an other case, when i'm creating a worbook with Bexanalyser 2010, i cannot open it with 2003.
    Do you know if Worbooks that are created in BexAnalyser 2010 have a chance to be compatible (by two ways) with BexAnalyser 2003.
    For information, we installed FEP 200 and FEP 201 and the SAPGUI is 720.
    Thank you in advance.
    Cedric

    As an update...
    I verified the Control ID in Outlook 2003 to be 5621.
    I have also downloaded a handy tool which is a bit more friendly for figuring out all the MS Office 2010 control ID's: http://www.add-in-express.com/downloads/mapi-store-events.php
    However, the tool confirms that the ID for OOF in Outlook 2010 is STILL 5621.
    Just for grins, I disabled the MailBox Cleanup utility on the same page by identifying it's control ID (7092), grey's out no problem. But I can't get the OOF button to go grey.

  • Excel 2003 Export fails with Diadem 8.10

    We still use Diadem 8.10 on some test stands.  These stands were just loaded
    with the Office 2003 suite.
    Since then, Diadem 8.10 cannot export our data to Excel.  Everything seems
    fine in Diadem.  The export assistance appears to work as always.
    When we try to open the exported file in Excel, we get this error:
    >  "The document is corrupt and cannot be opened.  To try and repair it, use the Open and
    >  Repair command in the Open dialog (File menu) and select Extract Data when prompted.
    Then Excel shows "Extracting Data from Export_Data.xls" in the status bar, with a progress control.
    Eventually, Excel shows this error:
    >  Errors where detected in 'Export_Data.xls,' but Microsoft Office Excel was
    >  able to open the file by making the repairs listed below.  Save the file
    >  to these repairs permanent.

    >  Damage to the file was so extensive that repairs were not possible. Excel
    >  attempted to recover your formulas and values, but some data may have
    >  been lost or corrupted.
    The result is an Excel file with the correct name, but all cells are empty.
    I have tried reinstalling Diadem 8.10, but the results are the same.  I can install
    Diadem 9.10, and Excel exports are perfect. 
    Unfortunately, the scripts for our application do not work in 9.10, so we must use
    8.10 for a while yet.
    Any ideas to fix the Excel export function for 8.10?

    Hi jbrandim,
    What happens if you take that Excel file created by DIAdem 8.1 and try to open it in an older version of Excel?  Presumably this used to work fine for you prior to Excel 2003.  Does it still?  If it does still work, what happens if you then resave this imported Excel file with the older version of Excel.  Can this new (resaved) Excel file be opened in Excel 2003?
    The new Excel export code that is working correctly for you in DIAdem 9.1 will likely have trouble running in DIAdem 8.1.  You could try replacing the "...DIAdem\AddInfo\gfsexcel.dll" in the DIAdem 8.1 directory with the new file from the DIAdem 9.1 directory, but there are no guarantees.  You should save a backup version of the dll in case it doesn't work.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for