SUMPRODUCT in any of columns of numbers 3.6.1?

Hi all

What I've read, SUMPRODUCT does not work in numbers the way it does in Excel and so will probably have to re - write the formula. Do not know if something has changed in 3.6.1 numbers but here's what I'm looking to replicate:

SUMPRODUCT ((A$ 2: A$9) × (B$ 2:B$9="Dave")×(G$2:G$9="RRSP")))

The table looks like:

Amount

Nobody

Account

10 h 00

Dave

RRSP

20 h 00

Dave

RRSP

15 h 00

Dave

TFSA

25.00

Dave

TFSA

10 h 00

Jane

RRSP

20 h 00

Jane

RRSP

15 h 00

Jane

TFSA

25.00

Jane

TFSA

The values at the bottom of the table would look like this:

Dave RRSP $30.00

Dave TFSA $40.00

etc.

The error I get:

The formula uses a Boolean instead of a number

Suggestions for the best way to fix this?

Thank you.

Hi Southpaw,

Not a user of excel, but the results you are after look as you want the sum of the parts with common attributes. i.e. 'add values that have "Dave" and "RRSP". SUMIFS() will do.

Quinn

Tags: iWork

Similar Questions

  • I want to is a column of numbers in my spreadsheet Numbers.

    I want to is a column of numbers in my spreadsheet Numbers. I know that the method formula easier, but some of my cells contain 2 numbers (13 + 5 or 8-3). I could use some help in the setting up of a formula. Would appreciate any help or suggestions.

    Feeling a little stupid!


    < re-titled by host >

    You will have to manually clean the cells that contain expressions. Number reads these text and SUM() ignore them all simply.

    You can clean them in doing the calculations yourself and by replacing the phrase with the result of the calculation, or you can add an = sign before the first number in each of those cells, conversion of the expression of the text in a formula and let the numbers to do the calculations.

    Once you have all the cells showing numbers, you can use SUM() to determine the amount.

    After you spent all this trouble, it will be time to think about what you could change on your data entry to avoid having to do it all again in the future.

    Kind regards

    Barry

  • [8i &amp; 10g XE] How to compare a column with the text of a column with numbers

    This is probably a simple question, but I can't seem to find the answer. I tried variations on use to_number to_char and interpreters, all nothing will do.

    The real problem is that I have a table with a column of numbers in a database 8i (datatype = NUMBER (3)) and a column with the text (datatype = CHAR (3)), and I need to compare two values.

    This table has thousands of lines, but here's an example of the data in these two columns:
    TXT     CHR
    -----------
    001     1
    001     2
    002     2
    XXX     1
    003     3
    What I want to do is select the lines where the TXT and CHR VALUES do not match, then it would be (given my example):
    TXT     CHR
    -----------
    001     2
    XXX     1
    But, I'm having difficulties in comparing two columns, because they are not the same type of data.

    I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:
    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    But this also returns any line, and it isn't even the "XXX" in the text column to treat in this example.

    Can someone help me understand what it is that I'm missing?

    Thank you!

    Hello

    user11033437 wrote:
    This is probably a simple question...

    Simple if you know the secret; maddening if you do not have.

    ... I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:

    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    

    Try:

    TO_CHAR (1.000, 'FM000')
    

    By default, TO_CHAR leaves place the beginning of the string to a sign less, in which case he should ever one, TO_CHAR (1,000, '000') returns makes 4 characters, not 3. "FM" in the format said TO_CHAR do not add a space.

    If it does not, after the release of DUMP (txt) for the few lines that you can't match, so that we can see exactly what is in them.

  • Column with numbers filling

    Hello

    I want to fill a column with numbers from 1 to the end of the table. I need to create a function for him?


    THX in advance

    2890953 wrote:

    Hello

    I want to fill a column with numbers from 1 to the end of the table. I need to create a function for this?

    THX in advance

    What of it?

    SQL > create table mytable

    (

    number of N1

    number of n2

    )

    Table created.

    SQL > insert into mytable (n1)

    Select the level of + 1000 - number + 1000

    of the double

    connect by level<=>

    10 rows created.

    SQL > update mytable

    the value of n2 = rownum

    10 lines to date.

    SQL > select * from myTable

    N1 N2

    ---------- ----------

    1001 1

    1002 2

    1003 3

    1004 4

    5-1005

    1006 6

    1007 7

    8 1008

    1009 9

    10 1010

    10 selected lines.

    Kind regards.

    Alberto

  • Sort alphabetical column of numbers

    Hello

    I have a table that looks like this:

    I am trying to sort each column in alphabetical order (i.e. a separate for the column B, C etc.), but everything seems to be able to do is sort the entire table.

    Any help would be appreciated gratefully.

    Thank you very much

    Stophen.

    Hi Stophen,

    Numbers treats each line as a related data and keep lines together when you sort. If you had each column in a separate table you could sort independently.

    Quinn

  • Cannot sort a row or column of numbers

    Using the numbers 3.6.1.  When I select a row or a column of cells the Crescent/descending sort options are grayed out.

    I created several test table and the results are the same.

    Any suggestions would be greatly appreciated.

    Thank you!

    Here is a shot of the pane out.

  • reminder of column of numbers

    Hello

    I use v3.6.1 numbers.

    We have a database of all the equipment that we have lines indicating the brand, model number, serial number, description price per day and so on.

    What I want to be able to do is to create an invoice on a separate sheet and enter the model number in the appropriate column on the invoice, then carry the numbers automatically complete the rest of the information.

    Is this possible?

    I hope that makes sense.

    This may work for you:

    The table below is your database of equipment for rent AND is called "Equipment"

    The table on the right is an example of invoice that pulls its information from the database.

    For the table on the right...

    A2 = if (counta(B2:C2) > 1, LINE (−1), ' ')

    It's shorthand dethrone select cell A2, and then type (or copy and paste it here) the formula:

    = IF (counta(B2:C2) > 1, LINE (−1), ' ')

    columns B and C are when you enter the information (in this example the columns are white shaded where you enter information)

    D2 = if (A2≠"", OFFSET (Equipment::A$ 1, MATCH (C2, Equipment::B, correspondent-method) −1, 0, rows, columns), ' ')

    E2 = if (A2≠"", VLOOKUP ($D2, equipment: $A:$ F, GAME (E$ 1, equipment: $1: $1, method of correspondence), 0), "")

    Select cell E2, copy

    Select cells E2 through H2, dough

    I2 = IF (A2≠"", H2 × B2, "")

    Select cells A2 to I2, copy

    Select cells A2 at the end of the column I, dough

    You can add a footer for the total bill amount and calculate the tax and other things.  If you need assistance with this.

  • How to return the highest value in a column of numbers less than a given number

    I am a beginner using formulas in number.  I have an inventory in a Numbers spreadsheet (v3.6.2).  Inventory numbers are in a column.  I need to view the last number used or the highest number less than a given value.  In my case, it is 9000.

    I can put a cell to return MAX and it's cool, but I need to know the number < 9000, MAX.

    Hi JS.

    SEARCH is your friend here. One of the properties of the LOOKUP function is that it accepts a 'close-match', which is defined as the largest value less than or equal to the search value.

    Formulas:

    A2: LOOKUP (8999.9999999, D)

    B2: LOOKUP(9000,D)

    C2: MAX (D)

    Kind regards

    Barry

  • ORA-01722: invalid number - when the last column has numbers that have a decimal separator

    Here are examples of data-

    FRT, 1.64, VAT, 23,36

    FRT, 1.64, VAT, 23,36

    When I try to convert 1.64 to_number everything is good, but when I do the same thing with 23,36 I get the following error

    ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-01722: invalid number

    ORA-06512: at "SYS." ORACLE_LOADER', line 52

    I tried this query example

    Select to_number (CONSIGNMENT_NET_VALUE) as Col1 of DUMP_EXT

    Select to_number (CONSIGNMENT_NET_VALUE, '9999999999D' 99999', NLS_NUMERIC_CHARACTERS = ",". ") as Col1 DUMP_EXT-> 268906.1

    make the same mistake - any help greatly appreciated.

    T.

    Srini

    Try using:

    RECORDS DELIMITED BY newline

    Instead of:

    RECORDS DELIMITED BY '\n'


    on your table to create, in addition to just help to_number or to_number return with ' NLS_NUMERIC_CHARACTERS = ".," ' in your query, in the period before the comma as decimal separator comes before the grouping separator.

    What is probably happening is that your return to the line of the system data come from different East of your new line on the system that you load in.  You may need to experiment and

    Select dump (consignment_net_value) in the dump_ext;

    to determine what additional invisible characters, such as Chr (10) and Chr (13) can be added at the end of the number that you have to cut, so just using line feed does not work.  This is why it only happens with the numbers at the end of the line.

    Post edited by: BarbaraBoehmer

  • Select the five digits (or more) column varchar2 numbers

    Hi all

    I've got varchar2 column, it consists of different text, numbers, spaces, commas, etc.
    My need is to choose only five-digit numbers (or more).

    For example: 251 or 2512 is not what I need.
    25123 or 251234 or 2512345... is what I need.

    How can I make it?

    Something like...

    select regexp_substr(txt, '[0-9]{5,}') as fivedigs
    from tablename
    
  • How to fill a column with numbers and maintain when adding or deleting lines?

    So far, I've discovered two ways to fill a column with the number:

    1. Enter '1' in a single cell, '2' in the one below, select both, and then use the yellow dot to drag down - it will do the rest.

    2 create a formula such as 'A2 + 1' and drag also.

    However, in both cases it will work if I manually this continues to do for each newly added line at the bottom. Now, that alone would not be that big of a problem if it wasn't for the fact that I'm working with a table where the lines can be added among other rows in the future.

    Having said that, could someone please tell me how to create a column with a number that will increase automatically? I mean - if I add a new line between line 56 and 57, I want the new line to have a '57"in it, and the" old 57 "would now be"58"and so on." " I don't want to drag the whole column, which can be hundreds if not more than a thousand lines.

    Try to put this in the cells in the column:

    = ROW()

    In the formula, you can add or subtract a number if necessary to get the starting number that you need.

    SG

  • Lines of text, not even in any of columns

    I can't seem to find info on what it's called or how to solve, so I appreciate the input. I have InDesign CC for Windows. I created two columns of text and cannot for the life of get me the lines to be even across the two columns. I have an image with a light text wrapping, but that shouldn't be causing the uneven balance.

    If you look at #2, I thought maybe select lines which are even would work, but it throws just my text in overflow. Don't know what other information you need.

    InD-Help.jpg

    You are on the right track: the lines are "Align to baseline grid", and that's what you want. In addition, what you need to do is change your baseline grid is equal to the line spacing of your text. You can change this just the box (in the options of text block), or for the entire document (in preferences).

  • Index work only with a column of numbers?

    I created a table with a column of data type such as varchar2

    with index I executed the query
    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 2608167055

    ----------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ----------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 8. 2896 | 2 (0) | 00:00:01 |
    |* 1 | TABLE ACCESS FULL | BOPS_1 | 8. 2896 | 2 (0) | 00:00:01 |
    ----------------------------------------------------------------------------


    After creating Btree index on this column I executed the same query


    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 2608167055

    ----------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ----------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 8. 2896 | 2 (0) | 00:00:01 |
    |* 1 | TABLE ACCESS FULL | BOPS_1 | 8. 2896 | 2 (0) | 00:00:01 |
    ----------------------------------------------------------------------------



    There is no change between these to explain plans, no performance difference?



    is that B-TREE index works well with number data types?



    Thank you
    REDA

    There could be several reasons. After you create the index statistics gather e.g. also maybe your query returns a huge part of table index will be useless. I mean if you ask him % of 80 percent of one table, optimizer will probably not use index. Another reason, perhaps your table is too small, so oracle read both so the whole table, it is not necessary use index. etc...

    It is not on the varchar2 data type, if one of these conditions is tru that whatever your index of data type will not be used.

    Published by: Mustafa KALAYCI on 20.Eki.2010 10:14

  • generate the table with a column of numbers from 1 to 999999999

    Hi all, I'm about to generate the table like this:

    Select 1 double t
    Union of all the
    Select 2 double t
    Union of all the
    Select 3 t double

    But I need up to 999999999. Could you please find more simple decision?

    858774 wrote:
    But I need up to 999999999. Could you please find more simple decision?

    Don't know exactly what you are looking for, but if you want to just set the number from 1 to 999999999, query below would:

    select level from dual  connect by level <999999999;
    

    Vivek L

  • Any method to create a total SUM of a column whose values based on LAG?

    I have a question here, and the challenge is to explain my situation well. I am developing a workbook that shows by project and month, the cost of this period and the change in the cost of the previous period. I want a total SUM on the columns of this period cost and cost change in prerequisite Mth. So what I want to do resembles something like this--

    Months of project cost this time Chg prior Mth cost

    ABCDE Jan $50,000 NULL (since no line before)
    ABCDE February $ $75,000 25 000
    Mar $60,000 ABCDE - 15 000
    ------------------------ ----------------------------------------------
    Total of $ $185,000 10 000

    I do the Chg of cost of prior Mth as a new calculation and use the formula insert model process to use the model of the difference f (x) to create my calculation. Who is working just great. If you look at the underlying code for this new section, you can see the LAG function used in the calculation of this value. I'm late to a single line, as you can see in the example above.

    I can create a new total and take a NAP in the cost column this time and get the right answer (the $185 000).

    The problem that I am running is that I get nothing when I try to summarize my prior Mth column cost Chg. The result is just empty (prints the text of the total, but no amount).

    My thought is that the NULL row in this column was to spoil the AMOUNT of work. So, I created a new calculation and said CASES WHERE prior cost Chg of Mth IS NULL THEN 0.00 ELSE cost Chg of Mth prior. So I get a new column with the same numbers, except for the first line, where I now have a 0 instead of NULL. Then, I created a new total (SUM function) on this new column. Heck. Same result with regard to the other column. I do not receive an amount.

    Everybody run on an issue to try to sum a column of numbers being calculated from a SHIFT function in discoverer? Any suggestions on how I could get a SUM to calculate correctly to this column cost Chg prior Mth? Or have I met one of those irritating questions "cannot manage in discoverer?

    Of course I can export the workbook results run to Excel and create the calculation in there, and that works fine.

    John Dickey

    Hi John
    Thanks for the question and great information. That really helped. I love this kind of questions. They make me think :-)

    Just a thought but have you tried to change the AMOUNT for a sum of CELL?

    The SUM will try to assess the LAG on the total that would be invalid as, at least in theory, the SUM of the CELL must literally add the values.

    Best wishes
    Michael

Maybe you are looking for

  • StateMachine Eventlist

    Hi Forum, I'm using a machine to States with Labview (States: start, recording, record, report, stop) I wish I had a report to a text file with the changes of the State, date and time.What would be a great way to do this? Example: Time 00:00:00 start

  • Failed loading of Msgina.dll

    Tried to turn on my computer and got the message: failed to load DLL msgina.dll of the connection UI.  Contact the system administrator to replace or restore the DLL. Tried to get in using the last good configuration and got the same message.  Tried

  • HP Compaq dc5800 small: help the PILOTS NEED dc5800

    Please help I need serioulsly pilots following PCI\VEN_8086 & DEV_10BD & SUBSYS_281E103C & REV_02\3 & B1BFB68 & 0 & C8 HDAUDIO\FUNC_01 & VEN_11D4 & DEV_1884 & SUBSYS_103C281E & REV_1001\4 & 2D9F5967 & 0 & 0001 PCI\VEN_8086 & DEV_29D4 & SUBSYS_281E103

  • Alienware X 51 R2 CPU &amp; GPU Upgrade

    I have an Alienware X 51 R2 with a motherboard 0PGRP5. I currently have a processor Intel Core i3-4130 @ 3.4 GHz and a GeForce GTX 645. I'm looking to upgrade my CPU & GPU this holiday. What CPU and GPU is compatible with my system? Thank you

  • Requests for closure of blackBerry Smartphones

    OK, so I'm new to BB and have read in this forum that you should always close all applications and screens using the BB button and then close. I have done this but wanted to know if he had no way of knowing what that running applications so I can mak