Averaging only visible numbers in a column
I am trying to perform functions only on the visible numbers in a column. I have sorted the column so that only certain numbers are visible. I want to average these visible numbers, but numbers is averaging all of the numbers in the column, even the hidden ones. Any help?
5|=vv,
sum in other programs doesn't work this way either, they tend to use the subtotal function with an argument telling it the function to perform on a filtered list. (Yes, I just double checked myself).
Its not that Numbers doesn't do it correct. It is doing it the same way every other program does it. For consistancy.
We are missing the subtotal function that everyone is used to M$ programs adding for you when a filtered list is detected.
Jason
Similar Messages
-
Paste only visible numbers in Excel
How would I copy and paste "1.41999995708465", which appears on my screen as "1.42", to actually be "1.42"? I am comparing the result of a calculation in one column to a rate table in another column. Both are actually
1.42. In other words, when using two decimals, they agree. But, due to Excel's extra decimals, I cannot express that fact. This challenge extends to many rows of data, naturally.
Doug in York PA
Douglas R. EckertHi,
The Number precision of Excel is 15 digits. If we set the cell format as Number, we may increase decimal (Click Home tab>Number group).
Next, the ROUND function rounds a number to a specified number of digits.
Syntax: ROUND(number, num_digits)
The ROUND function syntax has the following arguments:
number Required. The number that you want to round.
num_digits Required. The number of digits to which you want to round the number argument.
Quote from:
http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010342495.aspx
http://office.microsoft.com/en-gb/excel-help/round-function-HP010062455.aspx
Regards,
George Zhao
TechNet Community Support -
Ok, im new to numbers but i cant work this one out. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column A. When column C is equal or greater then 8 i need column D to equal the sum of A and B.
Hi Lucas,
Try this:
Formula in D2 (and Fill Down) =IF(C2<8, A2,A2+B2)
The IF function follows the logic of if, then, else.
IF(this is true, then do this, else do that)
If it is raining, then stay at home, else hold a picnic .
Regards,
Ian. -
How to Make JTextField Accept Only Specific Numbers?
Hello There
I've made 3 JTexfields That accepts only Numbers
But I Want To Make Them Accpets Numbers only from 1 to 12
and if the number is greater than 12 they don't accept it?
another Thing That I've Set Their Columns To 2 meaning that i want the user to enter only two numbers
but yet the user can enter many numbers how would i restrict entering numbers to only two numbers?
here's my code:
import java.awt.*;
import javax.swing.*;
import javax.swing.text.*;
public class ManyText extends JFrame{
public static void main(String[]args){
JTextField[ ] text = new JTextField[3];
JButton button=new JButton("Press");
for(int i = 0; i < text.length; i++)
text[i] = new JTextField(3);
for(int i = 0; i < text.length; i++){
text.setColumns(2);
text[i].setDocument(new PlainDocument(){
public void insertString(int offs, String str,
AttributeSet a) throws BadLocationException{
if("0123456789".indexOf(str) < 0)
java.awt.Toolkit.getDefaultToolkit().beep();
return;
super.insertString(offs, str, a);
JFrame f=new JFrame();
f.setSize(200,200);
f.setLayout(new FlowLayout());
f.add(text[0]);
f.add(text[1]);
f.add(text[2]);
f.setVisible(true);ejp wrote:
Actually I would suggest you're using the wrong control. I would use a JComboBox or a JSpinner for this.I suggested he use a JSpinner 1-2 threads ago. Maybe if he hears it enough, he'll believe it. -
Technical Info (only visible for developers) ORA-01403:
My Apex was working fine, but now when I create any application, and try to modify any record I face following error....???
Technical Info (only visible for developers)
is_internal_error: false
ora_sqlcode: 100
ora_sqlerrm: ORA-01403: no data found
component.type: APEX_APPLICATION_PAGE_PROCESS
component.id: 3049630242871846
component.name: Fetch Row from SL_AUTONUMBER
error_backtrace:ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_SYS_SQL", line 1815 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1064 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 832 ORA-06512: at "APEX_040200.WWV_FLOW_DML", line 551 ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 333The reason of getting 'No data found' error..
In Table Primary Key is Cust_Code which contain data like ('13/1', '13/2'........ and so on)
If I remove '/' from data and use the flat numbers like 1,2,3......and so on, then there is no error.
But my data consist of with '/' , which is my requirement, how can i handle this type of data.......???? -
Formula or solution to get the range between numbers in on column (KF)
Hello All,
I am in need of a solution (formula) to get the range of numbers in one column of query results.
I have a variable number of sales orders and three keyfigures that show the number of days between when the order was received and when the customer received the order.
I need to get the range of days from each keyfigure column
ex.
Sales Order Days-Order to Box Days-Order to Release Days-Release to Box
SO 11111 10 2 8
SO 11111 13 5 8
SO 11111 12 2 10
SO 11111 16 4 12
The range for the Days-Order to Box Days-Order to Release Days-Release to Box
6 3 4
I have tried using formulas for Min and Max setting the Calculations tab for both Results and Singles Values
than creating a formula using SUMCT, SUMRT and SUMGT but I get the red X for results. I have used NOERR(x) and NODIV(x)
to determine that the formula is seen as having undefined calculations or errors in the logic (I do not get errors when saving the query).
NOERR(SUMRT (OtB-Max - OtB-Min))
OtB-Max is a formula that hides the singles values and displays the results as the Maximum number in the column Days-Order to Box
OtB-Min is the same kind of formula but it displays the Minimum number for the same column.
Thanks in advance for any suggestions.
Btw - I have searched this forum and the How-To forum for BI on the SAP site without finding an answer -
If I have missed one in my search I apologize and would appreciate a link to itHi.
As I think only use of virtual KF and APA code will help you.
Regards. -
Check box only visible when data is entered in two other fields
My form has a table in which one column's cells are check boxes. I would like the check boxes to be only visible when both the quantity and unit price cells are filled out.
If I use the following script to hide the checkbox, it becomes my Amount??? which is the column right next to it.
taxable.presence = "hidden";
I am putting the script in the initialize event of the table.The initialize event only fires once the form is opend, not afterwards when the fields values are changed.
You need another event such as layoutReady.
this.presence = !Quantity.isNull && !UnitPrice.isNull ? "visible" : "hidden"; -
I had to restore my iPhone 4s and now my recent calls show only phone numbers instead of the contact's name. How can I restore the names to my recent calls list?
Are the contact details in your contacts app, the phone app uses the contact app to put names against telephone numbers.
-
How to set the read only property for dynamic ALV column
Hi All,
I have built one dynamiv ALV and I have one name column inside that ALV for which I have to set read only property based on two column fields that exist in the same ALV,say IS_SP and IS_CORP of type boolean.
If any one of the flag is 'X',i have to make that name column as display only and
If both flag are not set,it should be displayed as ediatable column.
I have written one method as INIT_ALV which gets called when ALV is loaded.
Code is as follows:
lr_column_settings ?= wd_this->alv_all_roles.
lt_columns = lr_column_settings->get_columns( ).
LOOP AT lt_columns INTO ls_column.
CASE ls_column-id.
WHEN <NAMECOLUMN>. "name column which should be editable/display
Create Input Field
CREATE OBJECT lr_uie_input_field_ro
EXPORTING
value_fieldname = ls_column-id.
ls_column-r_column->set_cell_editor( lr_uie_input_field_ro ).
After this,I have to set the read only property based on IS_SP and IS_CORP values,
CALL METHOD lr_uie_input_field_ro->set_read_only_fieldname
EXPORTING
*value = 'IS_SP' or 'IS_CORP'
ENDLOOP.
I dont want to use cell variants also.
Help me to achieve this.
Thanks and Regards,
DivyaDivya - I have done it in the past following these documents. Please read it and try it it will work.
Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
thanks!
Jason PV -
Hello All,
What are the steps needed to make the field in the DFF Additional Information for Agent only take numbers, commas & hyphens?
Navigation
Bob Sales manager<Ebiz form<service request tab<SR type<DFF<additional information for agents <cheque number
The field Cheque number Character allowed (, -) in the DFF Additional Information for Agent should only take numbers
Thanks & Regards
AyeshaThanks Sridar
If we use Number we cannot separate the cheque numbers with , or -
We need to enter numbers along with comma and '_' in cheque number field.
Thanks & Regards
Ayesha -
how can i hightlight in excel 3 numbers in a column then skip one, and highlight the next?
Example: Column A
highlight 3
highlight 4
highlight 5
skip 6
highlight 7hold down the cmd (⌘) key while selecting them.
-
Changes in ´Additional tab B´ must only visible to one client
Hello SAP Programmers,
When i create addtional custom fields on ´Additional tab B´, these custom fields must only visible to one client(i am logged in as client 400).
Is there any way please suggest me.
Thanks & Regards,
NarsiReddy CherukuHi Narsireddy,
1. Specify
In PBO you make the below condition. Find the screen fieldsof the two fields you want to hide , otherwise make a fields into a group and try to use the below code in PBO.
IF sy-mandt <> '400'.
LOOP AT SCREEN.
IF screen-name = 'X '.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'Y '.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks & Regards,
S.Rajendranath Raparthi -
Window only visible on maximize, not visible on any other setting
Seemingly at random a FF window will "disappear." It is only visible when I maximize the window. When I click on the restore down button the window "disappears."
I have had to rebuild the window several times, and it is frustrating to have to do this, especially when there are several tabs in the window.Not sure if this is exactly the same as the other reported problems.
But creating a new (via command N or via menu selection) window creates a long thin nearly zero width but full height window. Selecting the window via the window menu and zooming brings it up at full size.
I tried turning off all add-ons and things seemed to work but then stopped working again (sorry can't find a consistent set of symptoms here).
MacOSX 10.6.8 Firefox 6.0.2 -
I have just updated to 3.6.4 and find that my browser web pages only display in a narrow column in the centre of my 16 inch screen.
How can I stretch the web pages to fit my screen ?
== This happened ==
Every time Firefox opened
== After ungrading to Firefox 3.6.4Set the pref <b>browser.tabs.insertRelatedAfterCurrent</b> to <i>false</i> on the <b>about:config</b> page.
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br /> -
Creating a reports folder that's only visible to the Admin role
Hi all,
I want to create a new Shared Custom Analyses folder to contain Admin reports. I need to make this folder only visible to users with the Administator role. But you can't seem to add the Admin role when setting up User Visibility to Shared Report Folders. Help says that it's because the Admin role has visibility to all folders.
I understand this - but how can you resrict access to a reports folder to just the Admin role (ie. it should not be visible to other roles)??
Many thanks.You will need to assign all the other folders to rest of the roles.This would be the only way so that your required folder access is given only to admin and not to other users.
-MR
Maybe you are looking for
-
Hello Experts. I've made a simple custom KM Scheduler task, but am unable to see it under System Configuration -> cm -> global services -> Scheduler Tasks. I've trawled the forum for leads, read blogs but have been unable to resolve what should be a
-
Single Sign-On and Data Visibility Rights
Hello, I was wondering whether anyone has any best practices for implementing single sign on and user identification with Excelsius. More specifically, I need to interrogate user role, and limit certain data visibility based on that role. For example
-
HP Pavilion DV6750er Laptop no longer go into passive cooling
After flashing BIOS version F.58A laptop stopped completely disable the cooler cooling, although the laptop cool and clean heatsink (tested). Can I get an older version of firmware, when the notebook works better for power. Laptop has less to operate
-
Page Created Under a Custom Scope
The create scope code copy from the guide: public String getScopeName() { String scopeName = "MyScope"; ServiceContext sContext = ServiceContext.getContext(); try { Scope scope = sContext.createScope(scopeName); // Creates a new scope this.scopeName
-
Hi all, I've been using the iPhoto app for my iPad and have been loving it. It does really cool things with our pictures. However, I just ran into a huge problem. I was not aware that iPhoto has been drastically reducing the file size / resolution