Adding numbers in rows
I'm new to Numbers and spreadsheets. I can't figure out how to add the numbers in the various rows and get totals in the furthest right-hand column. (I have been able to get totals in the columns using the Function key, however). Is there a simple way to get everything in the spreadsheet all added up both at the bottom of the columns AND at the right side of the rows?? Thanks very much for any help.
Simple mouse method:
1. Select the row of numbers to be added.
2. click on the 'Function' button on the toolbar.
3. Select 'Sum.'
One reason you may be frustrated is that this method only works on one row at a time. If you select a rectangular range of cells, using the 'Function' button sums the columns. There are two workrounds.
Work Around #1:
4. Fill the "sum" column with the formula created in step 3. With the cell selected, click on the small circle in the lower right of the cell outline and drag down as far as necessary to fill in the sums.
Work Around #2:
Forget steps 1-4. If your table has a 'Header Column', select the rows in the Header Column (and only the Header Column) that need to be summed, click on the 'Function' button and choose 'Sum.'
CAUTION: This method puts the some in the furthest blank column to the right. If there is no blank column, it creates one. It also sums the ENTIRE row. So if you only want to sum the values in the first five columns, make sure there are no values in the columns to the right. (Text is okay, since it doesn't Sum.) Or remove unneeded rows.
Also the the Help topic "Performing a Basic Calculation Using Row Values"
Good luck,
Terry
Similar Messages
-
Problems with adding a new row in my table
Im an ADF beginner but I thought it would be simple to to do some basic CRUD stuff in ADF. Im now even struggling when i try to add a new row to my table.
Seems that the primary key id is not set correctly...
could someone help?Hi,
Have a look to this page CREATE SEQUENCE
Regards,
Sébastien
Creating a Sequence: Example
The following statement creates the sequence customers_seq in the sample schema oe. This sequence could be used to provide customer ID numbers when rows are added to the customers table.
CREATE SEQUENCE customers_seq START WITH 1000 INCREMENT BY 1 NOCACHE NOCYCLE; -
How do you set the number of rows you want in a spreadsheet, so that even when you drag data in, in writes over those rows instead of adding a new row?
After the discovery reported above, I filed this report :
Bug ID# 10073038
Summary:
When Numbers is used on a system with decimal comma a csv file may be good AND wrong
Steps to Reproduce:
With Numbers v2, you introduced an interesting enhancement.
In system using the comma as decimal separator, Numbers requires csv files using the semi-colon as values delimiter.
In fact it’s true if we OPEN the document dragging its icon on Numbers one or thru the open dialog.
This said.
(1) Drag and drop a csv built with the 'semi-colon' standard on a table or on a sheet
(2) Drag and drop a csv built with the 'comma' standard on a table or on a sheet
Expected Results:
Every normally constituted user assume that in
case (1) he will get a perfectly built table
case (2) he will get every cells of a row in a single cell
Actual Results:
In fact you forgot the drag and drop way of use and in
case (1) every values separated by semi-colon are inserted in a single cell
case (2) values separated by comma are correctly spread in a table
isn’t it ridiculous ?
Regression:
Except looking in QuickView to see which is exactly the structure of the file to decide the way we will insert it in a Numbers document, we may use an applescript fair enough to replace the semi-colons by TAB characters
or
to replace the commas by TABs and the decimal periods by commas
Notes:
While I am on this subject, I wish to make two proposals:
(1) It would be fine to format the date according to the ISO format year-mm-dd when you export a Numbers doc to csv.
Doing that, dates would be imported correctly in every countries.
At this time, on an English system, you export as mm/dd/year.
If the doc is open on a system using the format dd/mm/year, the results will be odd.
On a system using the format dd/mm/year, you export this way and so, if the doc is open on a system using the format mm/dd/year the results are odd too.
As every localized versions accept the ISO format (at least on entry), using it in the export scheme would give a correct behavior everywhere.
(2) It would be fine to add the format Tab Separated Values in the Export pane.
TSV + ISO date format would give documents opening flawlessly everywhere.
Yvan KOENIG (VALLAURIS, France) dimanche 4 septembre 2011 21:27:41
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
Multiple users can add Comments to a table, once added, the comments should be read only. How would I go about creating a region that will add just one row at a time, clear the region and then allow the adding of another row and not allow access to existing data rows?
JeffThis example is doing exactly that:
http://apex.oracle.com/pls/otn/f?p=31517:170
Once added, the row can not be changed any more.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Problem in adding a new row in a table.. plsss hlppp
Hi Friends,
I have a table defaulted to 4 rows. I have a add button to add a new row in the table.
When i have already 4 rows in table, and when i click add its adding that 5th row correctly( and i used set_lead_selection for this new row ).
But i want to automatically make a next page once i hit the ADD button here. Each time now i m hitting next page then only able to see hte 5th row. I need once ADD is clicked, i want to see the 5th row visible..
Can someone tell me how to code or do this
thanks friends,,,
Nirajahi niraja,
Plz refer to the following code:
method onactiononadd .
node_material type ref to if_wd_context_node.
elem_material type ref to if_wd_context_element.
stru_material type sflight.
node_material = wd_context->get_child_node( name = 'ANNA' ).
elem_material = node_material->get_element( ).
if ( elem_material is initial ).
call method node_material->create_element
receiving
element = elem_material.
endif.
call method elem_material->get_static_attributes
importing
static_attributes = stru_material .
call method node_material->bind_structure
exporting
new_item = stru_material
set_initial_elements = abap_false.
endmethod.
i hope it helps
regards
arjun -
Finding missed sequence numbers and rows from a fact table
Finding missed sequence numbers and rows from a fact table
Hi
I am working on an OLAP date cube with the following schema:
As you can see there is a fact transaction with two dimensions called cardNumber and Sequence. Card dimension contains about three million card numbers.
Sequence dimension contains a sequence number from 0 to 255. Fact transaction contains about 400 million transactions of those cards.
Each transaction has a sequence number in 0 to 255 ranges. If sequence number of transactions of a card reaches to 255 the next transaction would get 0 as a sequence number.
For example if a card has 1000 transactions then sequence numbers are as follows;
Transaction 1 to transaction 256 with sequences from 0 to 255
Transaction 257 to transaction 512 with sequences from 0 to 255
Transaction 513 to transaction 768 with sequences from 0 to 255
Transaction 769 to transaction 1000 with sequences from 0 to 231
The problem is that:
Sometimes there are several missed transactions. For example instead of sequence from 0 to 255, sequences are from 0 to 150 and then from 160 to 255. Here 10 transactions have been missed.
How can I find all missed transactions of all cards with a MDX QUERY?
I really appreciate for helpsThank you Liao
I need to find missed numbers, In this scenario I want the query to tell the missed numbers are: 151,152,153,154,155,156,157,158,159
Relative transactions are also missed, so I think it is impossible to get them by your MDX query
Suppose this:
date
time
sequence
20140701
23:22:00
149
20140701
23:44:00
150
20140702
8:30:00
160
20140702
9:30:00
161
20140702
11:30:00
162
20140702
11:45:00
163
As you can see the sequence number of the last transaction at the 20140701 is 150
We expecting that the first transaction of the next day should be 151 but it is 160. Those 10 transactions are totally missed and we just need to
find missed sequence numbers -
Adding an editable row in an non editable table.
Hi,
My requirement is to add an Editable row in a table which is in display mode only, i mean i cannot edit the data that is present in the table.
But if the user presses the Add Row button on the Table Toolbar, a new editable row should be added in the end, so that he can save the new data entered.
methods tried:
1: I have used Inputfield as Cell Editors, with their Read only Property check marked, thougt that with the new element created, it would not be Read Only.
2: Binded the read only property with a context attribute, but still was not able to achieve this functionality.
3: Tried the above two steps with the "Enabled" property of the Table Coloumn Cell Editors as well, but no result.
Please give me some pointers on this.
Regards,
AshishHi Ashish,
The approach you were following was correct, but I am not sure where you have placed the Enabled property attribute in the context.
Please follow these steps:
1. The table you are creating should have the enabled property set.
2. The context with you are binding the table should have an additional attribute say ISENABLED of type boolean.
3. Bind this attribute with the ENABLED property of all the input enabled fields in your table.
4. When binding the non-editable data into the table, set this property to ABAP_FALSE for each record. This will make the existing data non editable.
5. Use the below code for adding a new row and set the ISENABLE property of the added row to ABAP_TRUE.
elem_table = node_table->create_element( ).
node_table->bind_element( new_item = elem_table set_initial_elements = abap_false ).
stru_table-isenable = abap_true .
elem_new_row->set_static_attributes( static_attributes = stru_table ).
Let me know how you go about it.
Cheers,
Pratibha -
How to limit numbers of rows in a sortable table
Hi,
I created a table that shows the first 25 of over 200.000 rows. This table is sortable. That means that I cant use the topN function to restrict the total numbers of rows.
Is there any chance mabe by using the advanced tab to limit the rows.
Regards,
FrankHy,
Take a look here :
http://gerardnico.com/wiki/dat/obiee/obiee_limit_clause
I had the same problem but unfortunately I don't have find how to limit the sql performed in a answer. You can only force your users to limit the number of rows returned by applying a filter.
Regards
Nico -
Adding one additional row to table control of VA01
HI all,
I am working on free goods N:N senario which is not supported by sap standard.
so we have decided to club all the material on the basis of material group and PSTYV = 'tann' in the table control of va01 and at the end of tann we have to display the free goods .The user exit is USEREXIT_MOVE_FIELD_TO_KOMP.
Please help in in adding the additional row in table control of va01 (TCTRL_U_ERF_AUFTRAG).
Even i have gone through all the thread in sdn and tried all the solution but none of the solution is working .
plz quote solutions....
thanks..
Kundal.The user exit is USEREXIT_MOVE_FIELD_TO_KOMP
Are you adding condition records, or adding free materials to VBAP? If free materials to VBAP, you're in the wrong exit, I think....look for routines that allow you to add to internal table XVBAP in includes named like MV45AFZ*, and remember to set you UPDKZ to 'I'-insert if you're adding new rows.
Not sure what you mean by not supported by SAP standard; SAP does support free goods, via config!
Edited by: BreakPoint on Mar 14, 2011 4:11 PM -
CreateTempFile(String prefix, String sufix) is adding numbers to the prefix
Hi folks,
When I call createTempFile("filename", ".dat") it is adding numbers to the prefix. In my temporal directory I get a file called "filename34486.dat" instead a file called "filename.dat"! Do you know why ?
Thanks in advance.bifiado wrote:
Hi folks,
When I call createTempFile("filename", ".dat") it is adding numbers to the prefix. In my temporal directory I get a file called "filename34486.dat" instead a file called "filename.dat"! Do you know why ?
Thanks in advance.If you wanted a file named explicitly "filename.dat", then don't use createTempFile - that's for creating, well, temporary files with a (hopefully) unique name so as to not collide with other processes who might also be trying to create temporary files of the same name pattern. -
Hi people, i would like to list our numbers 1 to 100, 10 numbers per row. If a number has a 7 in it, it will show 2 asterisks. How could i go about doing it??? Sorry as i'm new to Java. I'd tried but only manged to get all the numbers appearing in 1 column. Thanks.
public class SevenUp
static boolean SevenUp(int num)
if(num==100)
return false;
else
if(num>9)
if (num/10==7)
return true;
else if(num%10==7)
return true;
else
return false;
else
if(num==7)
return true;
else
return false;
public static void main(String[]args)
int num=1;
for(int row=0; row<=10; row++)
for(int i=1; i<=10; i++)
num=i+(row*9);
if(SevenUp(num)==true)
System.out.println("**\t");
else
System.out.println(num+"\t");
}Maybe your game isn't what I think it is, but we always played this as "if the number has a 7, or is divisible by 7, then say, 'Buzz'" [where Buzz would be the equivalent of your "**". You can always modified your SevenUp to add more rules later.
By the way, using a method named SevenUp in a class named SevenUp is a terrible idea. Too confusing! :)
Besides, the convention is that methods should have names that start with a lowercase letter (e.g., "sevenUp"). -
Hi,
i m having difficulties numbering the rows returned..
im using rownum function, but it returns me duplicate records even after i distinct it.
and also it doesnt start from 0
ANy other way to number the row ?
EDIT: using oracle function : ROW_NUMBER() also give me the same issue
Edited by: Sosys on Dec 17, 2008 11:50 AMTHE query is big..
it's difficult to post and impossible to test by you..
just assume this :
NAME PHONE LOCATIOn
JOHN 111 NY
JOHN 111 NY
MARK 112 NJ
MARK 112 NJ
CAT 113 WA
and i want to put number from 1,2,3,4,5 in front..
NO NAME PHONE LOCATIOn
1 JOHN 111 NY
2 JOHN 111 NY
3 MARK 112 NJ
4 MARK 112 NJ
5 CAT 113 WA
How u do this ?
i used this :rank() over( order by NAME desc) NO,
and it will give me:
NO NAME PHONE LOCATIOn
1 JOHN 111 NY
1 JOHN 111 NY
2 MARK 112 NJ
2 MARK 112 NJ
3 CAT 113 WA
How to make it number from 1 to 5 ?
Thans. -
Bizarre error adding Numbers in Flex 4
I'm having a bizarre error adding numbers in Flex 4. In all cases, I'm getting the correct result, but sometimes I'm getting extra precision with a 5 at the end.
For example,
If I try to add 5 and 1.56, I get 6.5600000000000005
a lot of numbers add correctly, it's just certain combinations that have the problem.
Here is a small app that demonstrates the issue:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<fx:Script>
<![CDATA[
protected function button1_clickHandler(event:MouseEvent):void
var num1:Number = Number(number1.text);
var num2:Number = Number(number2.text);
var result:Number = num1 + num2;
// result = 1.56 + 5;
// result = Number(1.56) + Number(5);
resultLabel.text = String(result);
]]>
</fx:Script>
<s:TextInput id="number1"/>
<s:TextInput id="number2"/>
<s:Button label="Add Values" click="button1_clickHandler(event)"/>
<s:Label id="resultLabel"/>
</s:Application>
Any assistance would be appreciated!
Thanks!
Jon Keener
[email protected]This question comes up all the time. It's a Fact Of life of modern microprocessors and computer languages, which implement floating-point arithmetic using binary fractions (1/2, 1/4, 1/8, etc.), not decimal fractions (1/10, 1/100, 1/1000, etc.), according to the IEEE-754 spec. Many decimal fractions, such as 1.56, cannot be exactly represented as a finite binary fraction. (Or the exact representation in binary might be finite but require more fractional digits that the spec allows.) Although your source program says "1.56", it gets compiled and executed as the IEEE-754 binary-fraction that is closest to 1.56, but it isn't exactly equal to 1.56, and then this slight error gets propogated through calculations, and the conversion back to decimal is again inexact.
Generally, people just use methods like toPrecision() to round things off a bit and hide this problem. Or they go write or find a (much slower) ActionScript library that does true decimal floating-point arithmetic by storing decimal fractions rather than binary fractions.
Gordon Smith
Adobe Flex SDK Team -
Adding 2 more rows to a select without inserting rows to base table
hello all,
i have a below simple select statement which is querying a table.
select * from STUDY_SCHED_INTERVAL_TEMP
where STUDY_KEY = 1063;
but here is the situations. As you can see its returning 7 rows. But i need to add
2 more rows..with everything else default value or what exist... except adding 2 more rows.
i cannot insert into base table. I want my end results to increment by 2 days in
measurement_date_Taken to 01-apr-09....so basically measurement_date_taken should
end at study_end_Date...
IS THAT EVEN POSSIBLE WITHOUT INSERTING ROWS INTO THE TABLE AND JUST PLAYIHY AROUND WITH
THE SELECT STATEMENT??
sorry if this is confusing...i am on 10.2.0.3
Edited by: S2K on Aug 13, 2009 2:19 PMWell, I'm not sure if this query looks as good as my lawn, but seems to work anyway ;)
I've used the 'simplified version', but the principle should work for your table to, S2K.
As Frank already pointed out (and I stumbled upon it while clunging): you just select your already existing rows and union them with the 'missing records', you calculate the number of days you're 'missing' based on the study_end_date:
MHO%xe> alter session set nls_date_language='AMERICAN';
Sessie is gewijzigd.
Verstreken: 00:00:00.01
MHO%xe> with t as ( -- generating your data here, simplified by me due to cat and lawn
2 select 1063 study_key
3 , to_date('01-MAR-09', 'dd-mon-rr') phase_start_date
4 , to_date('02-MAR-09', 'dd-mon-rr') measurement_date_taken
5 , to_date('01-APR-09', 'dd-mon-rr') study_end_date
6 from dual union all
7 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('04-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
8 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('09-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
9 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('14-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
10 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('19-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
11 select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('23-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
12 select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('30-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual
13 ) -- actual query:
14 select study_key
15 , phase_start_date
16 , measurement_date_taken
17 , study_end_date
18 from t
19 union all
20 select study_key
21 , phase_start_date
22 , measurement_date_taken + level -- or rownum
23 , study_end_date
24 from ( select study_key
25 , phase_start_date
26 , measurement_date_taken
27 , study_end_date
28 , add_up
29 from (
30 select study_key
31 , phase_start_date
32 , measurement_date_taken
33 , study_end_date
34 , study_end_date - max(measurement_date_taken) over (partition by study_key
35 order by measurement_date_taken ) add_up
36 , lead(measurement_date_taken) over (partition by study_key
37 order by measurement_date_taken ) last_rec
38 from t
39 )
40 where last_rec is null
41 )
42 where rownum <= add_up
43 connect by level <= add_up;
STUDY_KEY PHASE_START_DATE MEASUREMENT_DATE_TA STUDY_END_DATE
1063 01-03-2009 00:00:00 02-03-2009 00:00:00 01-04-2009 00:00:00
1063 03-03-2009 00:00:00 04-03-2009 00:00:00 01-04-2009 00:00:00
1063 03-03-2009 00:00:00 09-03-2009 00:00:00 01-04-2009 00:00:00
1063 03-03-2009 00:00:00 14-03-2009 00:00:00 01-04-2009 00:00:00
1063 03-03-2009 00:00:00 19-03-2009 00:00:00 01-04-2009 00:00:00
1063 22-03-2009 00:00:00 23-03-2009 00:00:00 01-04-2009 00:00:00
1063 22-03-2009 00:00:00 30-03-2009 00:00:00 01-04-2009 00:00:00
1063 22-03-2009 00:00:00 31-03-2009 00:00:00 01-04-2009 00:00:00
1063 22-03-2009 00:00:00 01-04-2009 00:00:00 01-04-2009 00:00:00
9 rijen zijn geselecteerd.If there's a simpler way (in SQL), I hope others will join and share their example/ideas/thoughts.
I have a feeling that this is using more resources than needed.
But I've got to cut the daisies first now, they interfere my 'lawn-green-ess' ;) -
Why is IE 10 adding a white row under my Edge Animation?
Can anyone help me solve my coding issue with IE 10 on my client's website below:
http://www.procoresolutions.com/
IE is adding a white row under my Edge Animation on the home page that is protruding out on the right side as well. I also built another site for the same client which this is not an issue at http://www.donnellycommunications.com
Sites are similar, so I'm not sure why it's happening on one site and not the other.
If anyone can help, I'd sure appreciate it.Link #1 code errors
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.procoresolutions.com%2F
Lin#2 code errors
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.donnellycommunications.com%2F
IE10 is much less forgiving of code errors than older ver of IE.
Nancy O.
Maybe you are looking for
-
Using PDF form as a sales order form on Android device
Hi, I'm working on a digital sales order form solution, and found Adobe Reader for Android looking to be usefull. However I'm stuck with some questions and hoping to find answers here on the forums. I don't have a lot of experience with creating PDF'
-
My wife and I have different Apple ID's and passwords but I want to share our music library which is on iCloud under my Apple ID. How do I set her up to share the music library that resides on the iCloud under my Apple ID?
-
Mail 2.1.3 on Tiger: mutiples of everything is driving me crazy!
Hi, I recently had to reformat my hard drive and thus have been trying to reinstall all my email accounts (which I had backed up). I am using MAIL 2.1.3. I have several questions (this is driving me crazy!!): When I imported the archived files, it cr
-
When I delete music from my iphone, it's just synced back when I connect to itunes
I'm running out of space on my iphone. So when I delete songs directly on my iphone to free up space, they are just synced back again when I connect my iphone to itunes. Doesn't this kind of defeat the purpose of being able to delete music on your ip
-
160149]Error while processing library references. Unresolved application
hi am having this error when running my application am in jdeveloper 11.1.1.6.0 <07 Mar 2013 9:17:19 AM> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1362640639128' for task '1'. Error is: 'weblogi