Excel Formulas in Workbook
Dear all,
I'm using bex analyzer 7 and I have a workbook which has many sheets.
I need to use some excel formulas on every sheet but in every refresh my calculations has been deleting.
And i also need to use some hidden columns but on every refresh they are showing.
It's not possible to do calculations or use hide property on designer.
Any tips?
Kind Regards
Nil
Hi Nil,
Glad to hear that my suggestion worked for you,
To calculate sum of two differenct row for cumulative result user the following code
Lets take row number 3 , below code will calculate the sum for row 3 till end ( stop if find empty cell) and give the total into the next to last cell,
put this code into a function module and call on change event
Dim icol As Integer ' to calculate column number
Dim isum1 As Double ' to calculate sum of the one row
Dim ctr As Integer ' to find the col last column
icol = 1
isum1 = 0
ctr = 1
Do While Len(Cells(3, icol)) > 0
isum1 = isum1 + Cells(3, icol)
ctr = ctr + 1
icol = icol + 1
Loop
Cells(3, ctr).Value = isum1
you need to specify the Row number ( hard code) and change the value for variable icol ,
icol=1 means , it will start calculating the values from Col A ( change as per your worksheet)
using the same code you can find the sum of another row ( isum2) and
itotal = isum1+isum2
Please let me know if you have any questions.
Hope this helps
Sukhi
Similar Messages
-
How to use Excell formula's within EVDRE
Hi,
we want to built a rather large P&L with time in columns and account and cost center in the rows.
We would like to insert some subtotals within the P&L strucure using simple excel formula's.
So we create the P&L structure and leave some empty rows in between, which are filled up with excell formula's. The row key range is adapted, so it does not reference the excell formula's. If we hit refresh workbook, our P&L is ready and displaying the correct data.
Problem now is if we select 'expand all'. My entire P&L structure is changed and displayes the last section of the row key range several times (as many as we have different row key ranges) ... I've put "noexpand" on all of the dimensions on row and column ...
So normally does one use the functionality of excell formula's within a EVDRE report?
D
solved itHi D
One way is to switch of the expansions and insert the rows and then have the subtotals. to swith of expansion just edit the cell where you have written the evdre function and then remove the formulas pointing to expand range.
EVSUB in after range would not work here as the whole range is related to one dimension and it works if we have two dimensions and need subtotals
Regards
Harish B K -
SAP BPC 10.0 NW - Delete excel formulas
Hello Experts,
I have both "Keep formula on data" chekboxes selected (inside Edit Report and inside Sheet Options) and in my computer when I refresh the workbook the formulas are not deleted, but in other computers, also with the same version of EPM add-in the formulas are deleted.
Any ideas?
Thanks,
NadineHello Guys,
I've tried to put the last 2 options selected as you said Nilanjan but no results.
Rohit, the report is static. I've created the report with Insert new member functionality and so the values of some cells are coming from input forms and others are just excel formulas. When I open the report in my computer everything works, when I try to open it in other computers the Excel formulas are deleted...
Do you have any ideia of what is happening?
Thanks in advance,
Nadine -
Retrieving BEx Query Results Area for use in Excel formulas
Hello,
I run BEx queries in workbooks and then use Excel formulas ( mostly VLOOKUP(LookupValue, ResultsArea, ColumnReturned,) ) to retrieve certain information from the query ResultsArea.
****Problem:
Depending on the query parameters, the query "Results Area" is larger or smaller.
****Non-optimal solution:
One way to define the ever changing Excel range occupied by the Results Area is to create an Excel name as:
QueryRange = OFFSET(QueryFirstCell,,,COUNTA(OFFSET(Sheet1!$A:$A,,COLUMN(QueryFirstCell)-1,,)),COUNTA(OFFSET(Sheet1!$1:$1,ROW(QueryFirstCell)-1,,,)))
Then, the only input required is the top-left cell of the Results Area, which stays the same (unless the query definition changes).
****Question
What is the best way to refer to an ever-changing query Results Area in an Excel formula?
Thank you!
LouisIt is actually much easier than that.
Use a VBA statement like the following:
Set RptRng = ActiveCell.CurrentRegion
This will retrieve the data in the Results Area, no matter what the size is.
Hope this helps...
Bob -
How to convert an Excel Formula to a Custom Calculation Script in a Adobe Acrobat 9 Form?
Hello,
I am not familiar whatsoever with Javascript and need some help in converting the following Excel Formula so that I can enter it into a Custom Calculation Script in a Adobe PDF Form. Here is the formula:
=IF(E15<25.01,9.95,IF(E15<50.01,11.95,IF(E15<75.01,13.95,IF(E15<100.01,16.95,IF(E15<150.01 ,19.95,IF(E15<200.01,24.95,IF(E15>200.00,E15*0.125)))))))
Where "E15" will be the text field named "Subtotal" on my Adobe PDF Form.
Thank you for any help you can provide!Fortunately JavaScript has the 'switch' statement so nested if statements can be avoided.
var E15 = this.getField("Subtotal").value;
switch(true) {
case (E15 < 25.01) :
event.value = 9.95;
break;
case (E15 < 50.01) :
event.value = 11.95;
break;
case (E15 < 75.01) :
event.value = 13.95;13
break;
case (E15 < 100.01) :
event.value = 16.95;
break;
case (E15 < 150.01) :
event.value = 19.95;
break;
case (E15 < 200.01) :
event.value = 24.95;
break;
case (E15 > 200) :
event.value = E15 * 0.125;
break;
default:
event.value = "";
break;
} // end switch; -
Excel 2010 Powerpivot workbook constanly crashing when editting pivot tables
I have a quite large powerpivot work book that I store on dropbox. If I want to add the same field twice I go tot the normal pivot table field list and drop the field into the pivot table again. This used to be fine. I could
then make it show the difference form previous period or similar. Recently after doing a couple of these or changing the number format excel just crashes. I have tried rewinding my workbook version back to older versions and still the
same issue.
I tried just taking a simple single sheet of data and creating a new powerpivot model. i then dropped a couple of measures on to the pivot table and then the same measures again form the regular pivot table field list. I then tried to change on of these
to show values as % column total and crashed. so the problem is excel not my workbook.
I have run the repair through control panel and run sfc /scannow but problem persists. In event viewer the error shows as
Faulting application name: EXCEL.EXE, version: 14.0.7109.5000, time stamp: 0x522a4035
Faulting module name: EXCEL.EXE, version: 14.0.7109.5000, time stamp: 0x522a4035
Exception code: 0xc0000005
Fault offset: 0x00000000006d5a7b
Faulting process id: 0xabc
Faulting application start time: 0x01cf67968e9d437e
Faulting application path: C:\Program Files\Microsoft Office\Office14\EXCEL.EXE
Faulting module path: C:\Program Files\Microsoft Office\Office14\EXCEL.EXE
Report Id: 371233aa-d38a-11e3-b47e-90b11c9a7548
Windows error Reporting
Fault bucket 135635980, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: EXCEL.EXE
P2: 14.0.7109.5000
P3: 522a4035
P4: EXCEL.EXE
P5: 14.0.7109.5000
P6: 522a4035
P7: c0000005
P8: 00000000006d5a7b
P9:
P10:
Attached files:
U:\Users\Mike\AppData\Local\Temp\416382.cvr
U:\Users\Mike\Dropbox\In-n-Out\INO Data Model\INO_Data_Apr14.xlsx
U:\Users\Mike\AppData\Local\Temp\CVRC1C8.tmp.cvr
U:\Users\Mike\AppData\Local\Temp\WER6057.tmp.WERInternalMetadata.xml
These files may be available here:
U:\Users\Mike\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_EXCEL.EXE_6e3f938ed926058ac63c0bf295faed7891c5_150ec792
Analysis symbol:
Rechecking for solution: 0
Report Id: 371233aa-d38a-11e3-b47e-90b11c9a7548
Report Status: 0
Really appreciate any help as its completely unpredictable and having to save my work every few minutes.
Thanks
MikeHi,
We can find the dump file after Excel crashed again. Please see the following steps:
First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
it:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
"DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
00,6d,00,70,00,73,00,00,00
"DumpCount"=dword:00000010
"DumpType"=dword:00000001
"CustomDumpFlags"=dword:00000000
Then, open Excel
to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
To further help you, please upload this file into Skydrive and shared the link here.
Also, you can try to analyze dump by yourself if you would like to:
How to analyze app crash dump file:
http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
Thanks
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]" -
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. -
Use of Excel Formulas in EVDRE reports
Dear Freinds,
I am trying to use excel formulas in EVDER (report).
2011.MAR
Account(Base level member) =SUM(RANGE)
this at somepaces is working and in some places its not working. Kindly share the knowldge how to use them in excelHi Vishwanath,
Whenever we expandan EVDRE report or Input schedule, the formula (if any) in the first cell is applied to the to the other cells as well. Thus in expansion we will loose any formula specified in the other cells.
If you donot want this to happen, it is better to make the evdre static. This should help you use formulae as required.
Hope this helps.
Regards,
Shoba -
EvDRE - SortRange - AfterRange - Copy Excel formula
Hi all,
In BPC NW 7.5 SP04 I have performed the following actions:
I have sorted the EvDRE based on some column and added an AfterRange parameter.
In the AfterRange cells I have entered various Excel formulas as well as evsub.
The system would copy the Excel formulas to the line with the EV_AFTER and the copy was like standard Excel.
e.g. - In the AfterRange I would specify cell B2. in B2 I would write the formula A1B1.
When the EvDRE would run, assume that the after range had to be in cell E16, The value of E16 would be the result of the formula D15+E15.
This year we have upgraded to SP06. This functionality stopped working. I tackle 2 situations:
1. If the cell is defined in general format - the system simply copies the result of the formula. In the example above if A1+B1 is 0, I would simply get 0 all over (copy the value and not the formula).
2. If the cell is defined as TEXT in Excel, the original formula is copied (i.e. in the example above all cells would have the formula A1+B1).
evsub works as it should.
Any idea why did this happen? is there a note? does the system now works as it should and I simply enjoyed a bug in SP04?
Thanks,
AvihayHi Ethan,
I have Accounts in Rows and Time in columns. Range E24:E26 is in AfterRange filed on column expansion. 'E24:E26' range adds prior 2 time columns. I want to display this summation on a particular condition, say only if cell D11 = 1. So I wrote a formula in AfterRange field in Column expansion: =IF(D11=1,"E24:E26","") .
This formula in AfterRage field doesn't work. But if I manually type value 'E24:E26' in that field, it correctly adds up prious 2 time periods. I think the issue is with formatting.
Thanks, John -
How do you display excel formulas?
How do you display EXCEL formulas in Numbers once imported?
select the cell and look at the bottom of the window or doubel click the cell:
after double clicking cell: -
Convert mathematical formulat to excel formula
I have a formula that was generated by excel when using a trendline on a graph. I need to convert this formula into an excel formula I can use again.
the formula is below. Assume that the value for X will be in Cell A1. Any help converting this to an excel formula would be awesome. FYI = for a X value of 20,000, the formula should output something close enough to 20,000 ( +- 5 or 10k).
y = 1.8932x6
- 116.85x5 + 2669.5x4
- 27947x3 + 140531x2
- 298100x + 199955Test the result according to the formular that you provide initially and get the result 16993.54 (B2=1) which it is should be.
=1.8932*B2^6 -116.85*B2^5 +2669.5*B2^4-27947*B2^3+140531*B2^2-298100*B2+199955
(The fomular you provide last time is different from your initial request.)
Cheers,
Tony Chen
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact
[email protected] -
Converting Excel formulas in Numbers
I am new to Numbers and have an Excel Spreadsheet that I've used previously that calculates the best 4 scores from golfers over a 10 week period. In Excel I used =sum(LARGE[e2:n2,{1,2,3,4}]) but when I use it in Numbers I get a Syntax Error message. Is there anyone who can help me convert the Excel formula so that it works in Numbers.
Numbers does not use excels array functions so this will probably work:
=SUM(LARGE(E2:N2, 1), LARGE(E2:N2, 2), LARGE(E2:N2, 3), LARGE(E2:N2, 4)) -
How to apply Excel formula in BPS layout
Hi ,
I need to apply the following logic in my BPS layout.
There are three data columns called C,D,E respectivelt
redord 1 user input data for all the columns,
Record 2 C2 = D1 + E2.
Record 3 C3 = D2 + E3.
Record n Cn = D(n-1) + En.
n is the number of record in teh layout.
1: Can we use Excel formula to achive this?
2: If the anser is yes, how can we configure the BPS layout? I am not sure if we can do it at the last step of change layout.
3: If the answer is no, what is the other choice? I have tried to use user exit, but had some problem in passing the data to xth_data table in the orginal order sequence.
thanks in advance.JW,
please see my answer to your original post "data in BPS layout columns"
Regards,
Marc
SAP NetWeaver RIG -
Converting excel formulas to javascripts
Hello, I am not experience in Excel formulas and creating "if" statements in Adobe Acrobat, so I'm hoping someone can help me with this. I have two problems.
1. Here is an excel formula that I need to convert over to javascripts. Can someone help with this?
=IF(Q13>0,Q13+0,"")
2. Here is the second one,
=IF(N16*Q16>0,((N16*Q16)+U16),"")
In addition to these two formulas I need help with, the owner of the forms does not want the numbers to round up. Is there a way to get the exact answer and not rounding the numbers up in javascript?
Thanks for your assistance.
I have Adobe Acrobat X.Hi George, on the first script
var Q13 = +getField("Q13").value;
event.value = Q13 > 0 ? Q13, "";
It comes up with a SyntaxError: missing : in conditional express 2: at line 3
Do you know what that means and how to correct?
Thanks
Connie -
Hello -
New to the system, but wanted to know if there's a way to keep Excel formulas after refreshing in SmartView. Appears as though we lose the formulas after clicking the refresh icon.
Thanks in advanceWe have this issue as well. It has contributed to our startup with Smartview being very poor and given our implementation a bad name. In our experience, Smartview does not deal well with Formulas. We worked around this by using one tab to feed another with the correct formulas. In our experience, Smartview is OK on raw numbers but do not hope or epect it to output fully formatted excel reports.
In particular, Smartview, at least in our simple implementation, is very poor at mixing Excel formulas into a table.
Maybe you are looking for
-
SSRS expression for grouping minutes
Hi All, Can you please help me to write an SSRS expression to group minutes =SWITCH( Fields!TotalHours.Value = 0 and 240, "0 To 4 hrs", Fields!TotalHours.Value = 241 and480, "5 To 8 hrs", Fields!TotalHours.Value = 481 and720, "9 To 12 hrs", Fields!T
-
How can I get a new iPhone 5?
My iPhone 5 lately has been experieincg lots of battery issues. I hardly get any battery life when on LTE and my phone gets really hot when using LTE or gaming and I turn off most location services and searching services. I also lose wifi connection
-
How to configure mail service in DRM 11.1.2.3.500
How to configure mail service in DRM 11.1.2.3.500. There is a feature in Workflow Models to Notify users by sending mail. Can anyone help me find from where to configure mail service.
-
Selecting records based on a max value of a field?
I want to do a select on a table and only get those records that have the maximum cum order lead time within a supplier_id group. I want to do this within SQL, not a procedure. create table bamb.ta_test ( FO_ID NUMBER(10), CC_ID NUMBER(10), SUPPLIER_
-
New EA3500 with self hosted web server
Let me start off by giving you some background. I was using a wrt54g previously, and host my own webserver, including my own DNS server. I used port forwarding to forward the web traffic to that computer. Well my family got me a new EA3500 as my old