Excel / VB -  numeric member

I have a report workbook that runs a report script (vb) to return ranked and sorted members. These members are then placed on separate worksheets an additional retrieval is done. The account member is a variable in the workbook. Using the list function and v lookup. The user can pick the report name and the appropriate essbase member is returned.The problem I am running into is the member names in the account dimension are numeric and alpa. When selected the alpha members run and give the correct result. However when the numeric members are selected the report script does not run correctly. If I use a ' before the member name or "membername" in quotes i can get the the report script to work and return the correct members but the data values are incorrect.Does anyone have any suggestions on how to handle these exceptions? Appreciate any ideas.Thanks,S.

When I've had to do this I found that sorting your vlookup table alphabetically should take care of it.I found when using just alpha, or combining alpha and numeric - that the vlookup range needed to be sorted alphabetical and then everything worked fine.Hope this helpsMark

Similar Messages

  • How to create rtf template to view report in Word and Excel, with numeric f

    Hi,
    Please help me!
    How to create rtf template to view report in Word and Excel, with numeric formatted fields (like this 999 999 999,99 with spaces between numbers) and then end user be able to process those fields with Excel tools (sum, etc).
    Thank you.

    From what I have seen Excel can not handle 999 999 999.00. You can use 999999999.00 and then format it as you want in the xls bt you can not have values like 999 999 999.00 coming from publisher output and have functions on the values in Excel
    Tim

  • Excel converts numeric values to date

    Hi,
    I have a JSP page which is sending data to excel.
    response.setContentType("application/vnd.ms-excel");
    response.addHeader("Content-Disposition", "attachment;filename=\"a.xls\"");
    I am using codes above. But excel converts numeric values to date. for example I send "18.5" but excel convert it to "18.May". But when I add " " before the value there is no problem. But I dont want to use this
    how can I fix it. Thanks in advance.

    hi,
    the problem is not with your jsp encoding but with excel settings
    enter the mathe-statistics block in your excel program change setting from date to numbers
    that is all

  • Alv output to Excel with numeric fields as numeric fields only and not char

    Hi,
    When we download the alv output to excel format in the locat file using the toolbar button provided in the ALV, the numeric fields get converted to character format. Is there any other way or settings in ALV so that the numeric fields will be get saved as numeric fields only and not character?
    Rgds,
    MAdhuri

    any idea for above problem is welcome

  • Excel Download-Numeric columns getting repeated

    Hi
    I am trying to download context data into excel file using WD binary cache. I am using Office XP suite for this case. The text data is getting downloaded properly but all numeric data (though there actual data type is string) is getting repeated in adjacent column with "agg" getting concatenated in actual column heading.
    Any clue why is it so? and how to resolve this issue??
    Thanks
    Yashodhan Mujumdar

    Hi..
    any resolution for this issue?? I am still stuck with the same problem!!
    Thanks
    Yashodhan

  • Excel Storing Numeric values as String when send via Email in SAP

    I am using Function Module SO_NEW_DOCUMENT_ATT_SEND_API1 to send an EXCEL file via email.  Everything is working fine but when I open the spreadsheet I'm unable to use EXCEL Autosum command on my numbers.  It looks like my numbers may be in string format.  I tried numerous things in EXCEL to convert the numbers to string with no luck.  If I re-enter the number then the autosum works but I don't want to do that on a large report.  Has anybody encountered this problem and be willing to give me some help on resolving this issue if it can be resolved?

    Hi,
    Have a look at program Y_R_EITAN_TEST_10_02 .
    It is also sending CSV using cl_bcs (using the rules of CSV http://en.wikipedia.org/wiki/Comma-separated_values)
    see form FORM mail_1_prep_3
    Regards.

  • XML Report Excel Output Numeric & Character value left aligned

    Hi,
    I want the XML Report Excel ouput both numberic and character values to be left aligned in the report ouput. Currently my report excel ouput prints the number value right aligned and character value left aligned.
    I have tried to concat a space to the value to make that as a character value, but this gives a extra space in the report output, which shld not happen..
    Please could anyone help me with a solution.
    Thanks

    Hi Uday,
    You are making number as a string, by adding a character :) , so it will be displayed as string with space and not as number.

  • Essbase error msg while using Excel add-in: data item found before member

    We're encountering an Essbase error message "data item found before member" on 2 of 4 cubes. Has anyone else encountered this msg, and does anyone have an idea how to resolve it. It occurs on multiple machines in development and testing environments.

    As dougadams said, some members can be converted by Excel so that essbase no longer treats them as labels. Typically this includes numeric member names (i.e. accounts) and dates. I find the dates to be more of an issue than numeric member names, because it typically changes the date format as well. Either way, using a single quote as a prefix to the member name will tell Excel to treat it as a text entry, and hence a member/label to Essbase.The above is almost always the reason for the error you got. Of course, it's also possible that you really do have a numeric entry somewhere before your first 'data cell' in the template, especially if you did some manipulation of the template.

  • Exporting SQL data to Excel 2010 files - Excel sets all columns to DT_WSTR, ignores numeric or currency

    It looks like this has been a problem since forever, but I'm hoping someone has a solution.  I'm exporting SQL data to an .xlsx file.  I have the columns in my query set to the appropriate values, e.g. SELECT Cast(column1 AS nvarchar()) 'column1',
    Cast(column2 as currency) 'column2'.  I have a spreadsheet and I've set the data type for each column.  I have an OLEDB connection manager with the connection string of
    Data Source=C:\MyFile.xlsx;Provider=Microsoft.ACE.OLEDB.12.0;Extended Properties="Excel 12.0;";  When I look at the Advanced Editor of my OLE DB Destination Component, I see that all the Input Columns are of the correct datatype, but
    all the External Columns are of datatype DT_WSTR.  
    How can I get my numeric, currency, date fields to be written to Excel as numeric, currency, date?  Right now they all get written as text, any numbers get single quotes put in front of them so they are treated as text.  
    I'm using SSIS 2008 R2.
    I don't get it, SQL and Excel are both Microsoft, why is it so hard to get them to work together?!

    Hi,
    converting to DT_WSTR because you are converting this into nvarachar in your select statement in oledb source.
    are you looking into the oledb destination or Excel destination for data types.
    please remove the casting from your select and create the new table as showing in the following snapshot:
    http://zaimraza.wordpress.com/

  • Problem with numeric columns when ADF table exported to Excel

    Hi,
    We have a ADF table on a page which can be exported to excel spreadsheet using the <Af:ExportCollectionActionListener>. The adf table is within panel collection.
    There are many numeric columns in this table and there is <af:convertnumber> used on these columns. No other properties are changed on the <af:convertnumber> tag, everything is default. And no formatting is applied on the view object attributes as well. When a user from US is exporting the table to excel everything works well no issues. But a Netherlands or French user exports the excel, the numeric values which have decimal point are shown as left aligned and the whole numbers in the same column are right aligned. As a result when the user is trying to sum the entire column only the right aligned numbers are getting added.
    I am not sure what is the issue here ?
    HAs someone seen this scenario before ?
    Am I missing anything here - any property setting ?
    The numbers are shown like this in the excel exported from table.
    4,077.78
    3,555,34.12
                        1,234
                        19,219
    3,4445,33.22
    Jdev - 11.1.2.3
    Thanks

    Add a decimal to the whole number columns to make all columns left-aligned. Do all left-aligned columns get added?
    4,077.78
    3,555,34.12
    1,234.00
    19,219.00
    3,4445,33.22

  • Left alignment issue with XML report having Excel as output..

    Hello
    I am using XML Publisher report and the output format as Excel. When my output opens in Excel all numeric values are right justified and all characters values are left justified. I want numeric values also left justified.. How to achieve this?

    did you create dimension and put levels in the fact and dim sources? did you specify the number of element at each level?
    Edited by: mma1709 on Sep 30, 2009 6:21 AM
    Edited by: mma1709 on Sep 30, 2009 6:22 AM

  • Issue with Varchar2 field conversion for report output generated in EXCEL

    Hello All,
    I have an unique problem with one of my new reports for the User. The user wants the report output generated in excel data only(delimited data) format *(reports builder 10g)* .
    Everything was fine until i encountered this problem, there was this field which has unique ID's(alphanumeric and numeric), when i tried to run the report and generate output in Excel the numeric ID's say for example *(41593497999679354429)* is converted in excel and displayed like *(2.5881E+19)* and after format cells in excel it displays *(41593497999679300000).*
    The issue is only with 20 digits numeric ID's , if i append any special character to the end say '#' or '..' it shows the exact value along with the appended character. But the user insist they need only the value that is in the table. I am finding it hard to figure out, if any one of you have encountered the same issue or if any of you have any suggestions to overcome this excel conversion thing please do advice me.
    Thanks in advance :)

    Thanks for you response, but i already tried what you suggested, instead of appending single quote in front of ID, i did at the end prior with '#', it preserves the value if i add any character to the id but the appended value shows up too :(.
    Well, i just got the solution and it did work, thanks to [Brian Hill|https://forums.oracle.com/forums/thread.jspa?threadID=651632] for the post, i did what exactly he said and it worked. I was so very happy and wanted to share with everyone.

  • Append time stamp as a column in an excel file

    Hi
    i want to add timestamp to the last column  of my excel file
    my data is this 
    columnA   columnB  column C  columnD
    temp10     temp11    temp12     timestamp       these are header name
    74.212     73.122     73.222      11AM:23:59.012
    73.444     73.223     74.322      11AM:24:02.083
    73.445     73.478     75.555       11AM.24:03.833
      and continue
    I can use write spreadsheet to have the three numeric tempdata but the last column formatted as time stamp and string 
    how do I add time stamp to my data and call the spreadsheet write VI to append to the excel file ?
    help
    Solved!
    Go to Solution.

    You have at least two possibilities:  One is to do the formatting yourself with string functions and write the data as a text file or an array of strings.
    Another is to convert the timestamp to a Double and save it as numeric data.  This is only useful if your are going to read the data back into LV and analyze it there, because Excel's numeric representation of date and time is different from that used by LV.
    Lynn 

  • Format-number not working for me with preview to excel

    Hi,
    I have a report with 8 fields across within a table.
    Each field is formatted in the same way, with format-number like this (there are 8):
    <?format-number:total-year-remaining;’PT999G999D99’?>
    (that's the type-your-own form-field help text in the word template).
    When I preview the PDF, the data looks fine (8 cells shown below):
    .00 (.10) (.10) .00 (.50) (.50) (.60) (.60)
    But when previewing to Excel, there are two problems:
    1. Only the data in the last field (the 8th one) is formatted with the oracle mask:
    (.60)
    But upon closer inspection, there are two blank spaces after the number in that cell, and the value itself is treated like a string, e.g. '(.60) '. In fact if I ask excel to format this cell like a number with currency and two decimal places, in won't do it because of trailing spaces. Its just not a number to excel at that point. Probably the ('s don't help things either.
    2. The data in the first seven fields in excel are numeric, and I can format them in excel as currency, but I wanted XMLP to handle this, not the excel user.
    The bottom line is this: I want both PDF and excel output. I want both forms to have the fomat mask applied correctly. And I want excel to treat each cell as a number. Is this possible?
    Thanks
    Adam

    Anatoli,
    Hello!
    I don't know if my situation is the same as yours, but after a lot of head-scratching, forum searching and template rebuilding, I finally figured out my problem.
    I had one column that no matter what I did kept appearing in Excel as text. I'd format it to Number in Excel and nothing. When trying to sum the column, Excel would not recognize any of the values as numbers. I even did the reformatting on the XML Word template to number, and the currency format that Adam mentions. Still no go. The $ and ',' appeared, but column still formatted as string.
    I just finally noticed Adam's mention of the 2 extra spaces at the end of the numbers and sure enough mine was doing the same thing. Take out the 2 spaces and voila! Number!
    Every time I redid my template in Word (07 and 03), I used the wizard. (Add-ins>Insert>Table>Wizard) walked through the steps, not really changing anything. Then I would preview and the spaces would be there. The column that I was having problems with was the last column of the table, which would get the text 'end G_ASSIGNED_CC' inserted in after the field name - separated by 2 spaces. Once I took out these two spaces, so the column now shows 'COSTend G_ASSIGNED_CC', it worked fine in Excel - all numbers.
    Hope that helps someone out there as I was having a heck of a time finding anything (solutions anyway) on this.
    Thanks,
    Janel

  • Save Input Data to Excel in Siena

    Guys,
    Quick (and hopefully) easy question regarding Project Siena and Excel:
    I have a single screen (Screen1) and an Input Text Field (Input1) and a Gallery (Gallery1):
    I am wanting to have a user enter a numeric value into Input1, say 100,000.
    Once that value is entered, I would like to save it in Excel, conduct numerous calculations on the Excel value (Input1)  and then present the new numbers to the user in Gallery1.
    My question: Is there a way to save inputted data into an Excel data source?
    Thanks,
    Chris

    Chris,
       You can save data in Siena, you just can't write that data to a file such as Excel right now.   If I understand you correctly, you should try the following:
    Change the OnChange property of Input1 to:
    UpdateContext({MyValue: Value(Input1!Text)/2})
    Explanation:
    This creates and updates a variable called MyValue.   The name is unimportant, and you can call it whatever you want, as long as you use the same name when you reference it elsewhere.
    It sets the value of MyValue to whatever the user inputs in Input1 divided by 2.   The actual math doesn't have to be what I wrote, this is just an easy example.  
    Create a Label and set its Text to:
    MyValue
    This will display the value.  
    To get this to display on another page, you need to pass the context.  To do this, create a button, and set its OnSelect property to:
    Navigate(Screen2,"",{MyValue: MyValue})
    This Navigates to the page called Screen2, and sets MyValue (for Screen2) to MyValue (from Screen1).
    This is assuming you only want one number stored, you can also do all of the above using collect().   If you use a collection, you won't have to pass the context between screens.   A list of Functional References can be found
    HERE:
    -Bruton
    Just let us know if you also want an example of using this in a collection.

Maybe you are looking for

  • Is there any way to change Previews default save location?

    I prefer to store all my files locally and have no wish to use iCloud.  Every time I invoke Preview this wretched screen for iCloud pops up asking me to drag my files to it. I don't to do that. I am usually grabbing a selection of the screen and so t

  • Java.lang.ClassFormatError: EDU/oswego/cs/dl/util/concurrent/ConcurrentRead

    Hi, I try to load an XML-File into my Applet with jdom4. But when reading in the Document with the SAX-Reader I get this Error: java.lang.ClassFormatError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap (Bad magic number) at java.lang.Class

  • Forms and Reports Feature/Benefit Demo

    Hi, I downloaded a sample code, Forms and Reports Feature/Benefit Demo, from OTN sample code site. During the installation it says that my system (NT 4.0 Workstation with Oracle8 Server Release 8.0.6) does not have Oracle WebDB Listener. Where can I

  • Watching videos through Safari on You Tube etc

    I can't seem to watch any videos through Safari for instance on You Tube. They begin loading but never play. Please help I'm getting desperate!! And please use basic English I'm not at all technically minded, thank you!

  • "Mostly Dead" iMac

    My early  2010 27" iMac froze while playing video in Netflix and now will not start. I get a start up tone and the grey screen with logo, then it goes to a blue screen and then it goes to a grey pixelated screen.  i was able to open in safe mode a co