Is SUMIF broken in Numbers 3.0?

What happened exactly with the SUMIF function in Numbers 3.0? The behavior is different to Numbers 2.3.
In the following table, the difference is obvious:
This is what happens in Numbers 2.3:
A
B
C
1
Month
Value
Formula of Previous Column
2
January
500
3
February
1000
4
March
1500
5
Total
3000
SUM(B2:B4)
6
7
8
January
500
SUMIF($A$2:$A$4, A8, $B$2:$B$4)
9
February
1000
SUMIF($A$2:$A$4, A9, $B$2:$B$4)
10
March
1500
SUMIF($A$2:$A$4, A10, $B$2:$B$4)
This is the same table opened in Numbers 3.0:
A
B
C
1
Month
Value
Formula of Previous Column
2
January
500
3
February
1000
4
March
1500
5
Total
3000
SUM(B2:B4)
6
7
8
January
500
SUMIF($A$2:$A$4, A8, $B$2:$B$4)
9
February
2500
SUMIF($A$2:$A$4, A9, $B$2:$B$4)
10
March
2500
SUMIF($A$2:$A$4, A10, $B$2:$B$4)
According to the Numbers 3.0 manual:
"The SUMIF function returns the sum of a collection of numbers, including only numbers that satisfy a specified condition.
SUMIF(test-values, condition, sum-values)"
So Numbers 2.3 would be correct, summing up the values given in sum-values if the corresponding test-value matches the condition.
What happens in Numbers 3.0?

The bug actually seems to originate not from the regional settings but from the time zone, more specifically, I assume from the daylight saving.
For everyone who is interested, that's how you can reproduce the bug:
- Open template "Budget" in Numbers 2.3 or earlier.
-> Note how the additional income of June and December is added in the Annual Budget per Month
- Save it to a file
- Set the time zone to e.g. Central European Standard Time
- Open the saved file in Numbers 3.0
-> Now the additional income of June is added in June AND July, same for the additional income of December, which is added to November as well.
You can now close the file, switch the time zone to e.g. Greenwich Mean Time, reopen the file again and the bug is gone. It appears again if you switch back to CEST.
When using CEST or any other time zone where the bug appeared, I had a closer look into the format of the cells. Interestingly, if the title row of annual budget by month, where all the months are listed, is selected and the cells' format is changed from Automatic to Date & Time, they are converted completely wrongly to
January
March
March
May
May
July
July
August
October
October
December
December
instead of
January
February
March
April
May
June
July
August
September
October
November
December
Interesting!
Concluding, I'm not sure whether you can call this a bug or just an undefined behaviour caused by a crappy way of doing things. Very unfortunately this way of doing things badly is spread by Apple in its templates.
Nevertheless, I did report it, hopefully I'm not the only one.
After reading https://discussions.apple.com/message/23577383#23577383, it is definitely a bug, please all report it.
@Jerry: thanks for your elaborate answer, I'll give it a try. You are right that it is dangerous to use strings for months. To be honest I probably wouldn't have done it if I wouldn't have blindly used Apple's Budget template. Unfortunately, this template uses a mix of pop-up menus (probably handled as strings) and automatically formated cells for the months.
Edit: I was using system language English throughout all the tests, so it is not a matter of the language, but most probably of the time zone.

Similar Messages

  • Using SUMIFS on iPad Numbers has anyone had trouble using the keypad relational symbols in the "conditions" field?

    The iPad Numbers has a very nice data entry keyboard for expressing conditions.  They have the usual =, <, > but also have the single symbol version of >=, <= and <> (as an equals with a slash through it), however, if you try to use these keypad keys in the conditions field of the SUMIFS, it returns a syntax error.  After seeing some examples of Numbers '09 I discovered I had to express a relation inside double quotes, " ", which means the text keyboard is displayed and the very nice data entry keyboard is gone along with the nice symbols.  Has anyone seen this and am I doing something wrong or is this another bug?  Thanks.

    The xxxIF functions have (for as long as I have used them) required a text string as the argument unless it was equal to a value of a cell, with no logical operators. so it is not something new, its been that way for decades and I personally think Apple might have done it differently if they didnt have to maintain compatiability with older spreadsheet programs.
    i.e. not a bug, ensures backward compatability.
    Jason

  • Nokia 6070 broken screen; numbers stored to phone.

    Hey there,
    I've broken my screen and my numbers are stored to my phone rather than my SIM.
    Can someone please tell me what buttons to press so as to copy my numbers to my SIM so as to retrieve them.
    Many thanks,
    Dave

    The menu structures may be different in some models, for instance regional or network variations, so the best way is to back up to a computer using PC Suite. That way, the only time you need to press a button on the phone is when you first connected it, and you just press the select key to choose PC Suite/Nokia mode on the phone.

  • Numbers sumif formula

    I used the following formula in Excel =SUMIF(I$27:I$105,"=M",H$27:H$105). This formula does not work in Numbers, I have tried a variety searches under help and have looked for books at the bookstores that may add insight to no avail. I anticipate there is a syntax error, anyone with thoughts.
    The formula works in Excel.
    Bill

    When you say it "does not work", what exactly do you mean? If it were a syntax error, you would see an error in the cell. Do you mean the formula displays 0? If so, maybe the numbers you are adding are formatted or evaluated as text somehow. Just playing with a table similar to Yvan's and formatting the number column as text kills the SUMIF formula in Numbers. But, in Excel, the formula appears to live on. Just a guess.

  • Formula for multiple columns in a new table

    Hi,
    I've been using Numbers '08 for a while, but I've only been using rudimentary formulae such as "SUMIF" and "WEEKDAY." Recently I've been trying to put Numbers to better use. One major problem I've run into while writing a formula is this (I'm sure the question has been asked, yet I've searched the forums to no avail):
    I want to have two tables -- the first table is where I want to input my information; the second table I would like to be able to manipulate that information. For instance, in the first table I have (apologies, but I'm not sure how to incorporate a screenshot into my text):
    Table 1
    Date Color Location Minutes
    8/5 Blue Rome 60
    8/7 Green Paris 90
    8/7 Green Rome 45
    8/8 Blue Paris 120
    8/8 Blue Paris 30
    8/9 Blue Rome 90
    8/9 Green Paris 60
    Now, in Table 2, easily enough I am able to write a formula (using "SUMIF") for the number of minutes I've spent in Rome, but how do I write a formula to show how much time I've spent in Paris while Green? Table 2 right now is looking something like:
    Table 2
    ........Time Blue Green
    Paris 300 error error
    Rome 195 error error
    Is this a job for "VLOOKUP"? Do I need to make auxiliary columns? I have many such computations I would like to be able to perform in multiple tables from one source (Table 1). Any guidance would be much appreciated.

    With Numbers '09 you would use SUMIFS() but with Numbers '08 you must use auxikiary columns.
    In Tableau 1
    in column E the used formula is:
    =IF(AND($C=Tableau 2 :: $A$2,$B=Tableau 2 :: $C$1),$D,"")
    in column F it is:
    =IF(AND($C=Tableau 2 :: $A$3,$B=Tableau 2 :: $C$1),$D,"")
    in column G it is:
    =IF(AND($C=Tableau 2 :: $A$2,$B=Tableau 2 :: $D$1),$D,"")
    in column H it is:
    =IF(AND($C=Tableau 2 :: $A$3,$B=Tableau 2 :: $D$1),$D,"")
    In Tableau 2
    in B2 and B3 the formula is:
    =SUMIF(Tableau 1 :: C,"="&$A,Tableau 1 :: D)
    in C2 it is: =SUM(Tableau 1 :: E)
    in D2 it is: =SUM(Tableau 1 :: F)
    in C3 it is: =SUM(Tableau 1 :: G)
    in D3 it is: =SUM(Tableau 1 :: H)
    Yvan KOENIG (VALLAURIS, France) mardi 1 septembre 2009 16:52:31

  • I need my program to fail when it encounters a letter in the employee no..

    to whom..
    I have this cursor below. I need it to FAIL (as in stop the program its part of) when it encounters an employee number that contains a letter in it. I thought by putting the line ..NOT REGEXP_LIKE(per.employee_number, '[[:alpha:]]').. it might work but of course it just doesn't include those ones in the selection. How can I do this?
       CURSOR c_check_employee (p_emp_number VARCHAR2, p_ni_number VARCHAR2)
       IS
          SELECT DISTINCT per.person_id, per.business_group_id, per.last_name,
                          per.start_date, per.date_of_birth, per.email_address,
                         LPAD (per.employee_number, 8, '0') employee_number,
                          per.first_name,
                          per.marital_status, per.middle_names, per.nationality,
                          per.national_identifier, per.sex, per.title,
                          padd.address_id, padd.primary_flag, padd.address_line1,
                          padd.address_line2, padd.address_line3,
                          padd.town_or_city, padd.postal_code,
                          padd.telephone_number_1, paas.assignment_id,
                          paas.assignment_number, paas.object_version_number,
                          paas.effective_start_date, paas.effective_end_date,
                          paas.job_id, paas.position_id, paas.location_id,
                          paas.organization_id, paas.assignment_type,
                          paas.supervisor_id, paas.default_code_comb_id,
                          paas.set_of_books_id, paas.period_of_service_id
                     FROM per_all_people_f per,
                          per_all_assignments_f paas,
                          per_addresses padd
                    WHERE padd.person_id(+) = per.person_id
                      AND paas.person_id(+) = per.person_id
                     AND per.national_identifier = p_ni_number
        --       and NOT REGEXP_LIKE(per.employee_number, '[[:alpha:]]')
              and TRIM (LEADING '0' FROM per.employee_number) = TRIM (LEADING '0' FROM p_emp_number);Many thanks..
    Steven

    JackyWhite wrote:Sven W. wrote:
    You could put a check constraint onto the column. This would prevent wrong values to be entered. Could I? By changing the select statement to add the line..
    REGEXP_INSTR(employee_number, '[[:alpha:]]')>0
    .. it will only select numbers and stop the program when a letter in the employee number is encountered? I'll give it a test now!
    thanks again..If you add this as a restriction to your where clause then you won't get any errors. Those problem records will just be removed from the select.
    However my suggestion had beend slightly different. You can create a check constraint on your table. This check constraint will give an error whenever somebody enters (insert or update) employee_number that have an alpha inside. I'm not sure you you can solve your current problem with that, but it might be the better long term solution. It also requires you to cleanup your data first, e.g. remove or change the "broken" employee-numbers.

  • Require a cell to be numeric

    Is there any way to require a cell to be a number? I'm having a problem where people write comments in number cells and I want it to error starting next year.

    Hi G,
    Building on Wayne's approach.
    can I check for text input on a bloc of cells? Specifically, D3 through J8, and have the error display in the comment cell?
    I am not sure of your aim. Is this to help people [who] write comments in number cells or to help you audit the input? Anyway, here goes.
    Method 1.
    Another table (duplicate Table 1 then edit to add formulas):
    Formula in D3 (then Fill Down and Fill Right to J8
    =IF(T(Table 1::D3)="","",Table 1::D3)
    That will display true number cells (T function returns "") as "" (Null). Non-number cells (T returns a value that is not Null) will display the "illegal" entry as the text value. If the aim is for you to audit, then the 'Not numbers' table could be hidden on another Sheet.
    Method 2.
    If all you need to know is how many "illegal" entries have been made,
    Formula in D3 (Fill to J8) =IF(T(Table 1::D3)="","",1)
    Any true number results in a value of Null, any Non-number results in a value of 1.  Add them up in the Count Table
    A2 =SUMIF(Count not numbers::D3:J8, ">0")
    Neither of these methods are very helpful to alert your users to a wrong entry. I still think Wayne's and Barry's solutions are better.
    Regards,
    Ian.
    P.S. Ignore the # symbol in J5 of the second screen shot. I was trying something out.

  • Refer a Friend

    Do you still have a "Refer a Friend" offer for either the existing customer or the potential new customer?  How do you sign friend up?

    Every time I try to use the Refer a Friend website I get a pop-up with the following message:“Currently, the XFINITY ® Refer-A-Friend program is focusing on the needs of our customers and employees are not eligible. We are working diligently to make the program available to our employees as soon as possible.”  When I click to close the message, the whole page closes and I'm returned to the Comcast home page.  Have spent the past 3 days on 6 different phone calls to Comcast (when I can get through - both toll-free numbers I have frequently report "the number cannot be completed as dialed".)  There are no options in the voice mail tree for "other" or miscellaneous, so I had to guess which line would be least wrong.  On the first call they tried to refer me to the website I had just told them wasn't working.  I was at work, so I had to hang up before the agent figured out that I needed some other solution.  On another call customer service put me on hold for 10 minutes looking for a phone number for the R-a-F program.  The number they finally transferred me to was for the 3rd-party fulfillment company that sends out the gift cards and which has nothing to do with the actual program.  While I was on hold I got a call on my cellphone - it was the survey from a previous call to Comcast.  What a pity there was no way to answer any of their questions with a negative number.  I have a friend who I have all set to quit Uverse and go with Comcast to get the kind of bandwidth I have for almost the same price ($32 a month for 15 Mbps vs my $40/mo 75 Mbps), and I feel like I've earned the $100 as a commission.  So I'd like to get it.  (H*ll, they should give me a $100 credit just for putting up with their broken phone numbers, lack of email addresses, overseas call centers and crappy Interactive Voice Response system.  My Xfinity TV and internet service have been largely trouble-free (I provided my own DVR, router and cable modem, of course) and tech support is fairly decent.  But general customer service is pretty much the worse I've ever encountered - and that's coming from someone who had landline, internert service from dial-up through DSL & Uverse and cell phone from AT&T for going on 30 years.  That should give you an idea of the sheer awfulness of Comcast CS. 

  • How to upgrade the spa122 firwmare to 1.2.1(004) using configurtion file

    Hello, 
    Highly appreciate if anyone can let me know how to define the upgrade rule in configruation file to upgrade the firmware to 1.2.1(004) -
    is it ok if I define it in upgrade rule as below
    <Upgrade_Rule>  (!1.2.1(004))?http://10.1.1.1/SPA112_SPA122_1.2.1_FW.bin  </Upgrade_Rule>
    if not, what is the correct one
    Regards,
    Denning               

    Yes, it's old legacy syntax. The recommended syntax is:
    ...Rule> ($SWVER != 1.2.1(004))?http ...
    Unfortunately, such type of conditional doesn't work reliable most times for me (althougth I didn't tested the particular one from your example).
    I don't know why.
    I suspect, that firmware numbers like 7.4.9c or 7.5.2b may be source of problem - Cisco's Provisioning guide claim that version numbers take form of three  non-negative numbers separated by periods followed by optional  alphanuberic string in parthenses. It's not true for some released versions. May be, the comparsion logic doesn't handle those broken version numbers correctly.

  • Avoiding the color hunt and peck

    when i have a row that is colored i oftentimes have text in one of the cells since i am using this as a sort of colored dividing line between different types of information. when i need to create a new colored row or when i need to change the color of a row that was cut and pasted from another area (say it already has the correct title in it) - i then need to MATCH the color that i was using for the other rows.
    however, when i select the row and click on the color button at the top there is no way for me to know what color is being used by the other rows unless i select /those/ rows and do this. and even then i am oftentimes confused as to whether the orange is two rows over from the right and four rows up or if it is three rows over from the right and four rows up.
    can anyone help me with this?
    is there some kind of operation that lets me select one cell with the color and do a copy formatting and then select the whole row of the destination and do paste formatting that will get me the color without over writing the text?
    TIA

    Hello
    Here's a pair of AppleScript scripts which may help.
    Copy the codes listed below to two new documents (one per each) of AppleScript Editor, save them as compiled scripts, e.g., "fill colour - copy.scpt" and "fill colour - paste.scpt", in  ~/Library/Scripts/Applications/Numbers directory so that they appear in script menu in Numbers.
    Firstly, select source range (cells, rows or columns) with fill colour, call "fill colour - copy" script and it will get the fill colour of the first cell in the selected range and put the colour data in clipboard.
    Secondly, select target range (cells, rows or colums), call "fill colour - paste" script and it will set the fill colour of the selected range to the colour in the clipboard.
    Known limitation is that it cannot copy fill colour 'none' due to a flaw in scripting interface of Numbers 09.
    Tested with Numbers 2.0.5 under OS X 10.5.8.
    Good luck,
    H
    1) fill colour - copy.applescript
        copy background color to clipboard
        * this script will copy the fill colour of the first cell in the selected range.
        * this script cannot copy the fill colour 'none', which is denoted by / in fill colour grid.
    tell application "Numbers"
        tell my _selection(document 1)'s range
            if it is missing value then return
            set c to background color
        end tell
    end tell
    try
        set the clipboard to c as RGB color
    on error number -2753 -- variable c is not defined, in case background color is none
        display dialog "Fill colour is none" with icon 2 giving up after 10
        return
    end try
    on _selection(doc)
            reference doc : target document
            return record : {range:_range, table:_table, sheet:_sheet}
                _range = reference to named range in selection
                _table = table object to which selection range belongs
                _sheet = sheet object to which selection range belongs
            Limitation
                Numbers allows to select uncontinuous regions
                but its scripting interface does not provide decent method to retrieve them.
                If uncontinuous regions are selected, 'selection range' returns the minimum continuous region
                which includes all the regions in selection.
        script o
            property parent : {}
            property pp : {}
            local q, r, s, _range, _table, _sheet
            tell application "Numbers"
                set pp to doc's every sheet's every table's selection range as list
                repeat with p in my pp -- per sheet
                    set q to p's every reference -- retrieve object (filtering out missing value)
                    if q ≠ {} then
                        set q to q's item 1 -- selection range object [1]
                        set r to q as record -- selection range object specifier record [2]
                        set _table to r's every reference's item 1 -- container table reference [3]
                        set s to (a reference to _table's selection range) -- selection range reference [4]
                        set _range to (a reference to _table's range (s's name)) -- named range reference [5]
                        set _sheet to (_table as record)'s every reference's item 1 -- container sheet reference [3]
                        return {range:_range, table:_table, sheet:_sheet}
                    end if
                end repeat
                return {range:missing value, table:missing value, sheet:missing value}
            end tell
                [1] class specifier for 'range' is broken in Numbers 09
                [2] «class want» value is broken in Numbers 09
                [3] simple method to get «class from» value without asking for «class from» key which causes trouble in recompilation of the token 'from'.
                [4] proper reference of selection range object
                [5] proper reference of named range object
        end script
        tell o to run
    end _selection
    2) fill colour - paste.applescript
        paste background color from clipboard
        * this script expects the clipboard contains RGB color data.
    try
        set c to the clipboard as RGB color
    on error number -1700
        display dialog "Colour not found in clipboard" with icon 2 giving up after 10
        return
    end try
    tell application "Numbers"
        tell my _selection(document 1)'s range
            if it is missing value then return
            set background color to c
        end tell
    end tell
    on _selection(doc)
            reference doc : target document
            return record : {range:_range, table:_table, sheet:_sheet}
                _range = reference to named range in selection
                _table = table object to which selection range belongs
                _sheet = sheet object to which selection range belongs
            Limitation
                Numbers allows to select uncontinuous regions
                but its scripting interface does not provide decent method to retrieve them.
                If uncontinuous regions are selected, 'selection range' returns the minimum continuous region
                which includes all the regions in selection.
        script o
            property parent : {}
            property pp : {}
            local q, r, s, _range, _table, _sheet
            tell application "Numbers"
                set pp to doc's every sheet's every table's selection range as list
                repeat with p in my pp -- per sheet
                    set q to p's every reference -- retrieve object (filtering out missing value)
                    if q ≠ {} then
                        set q to q's item 1 -- selection range object [1]
                        set r to q as record -- selection range object specifier record [2]
                        set _table to r's every reference's item 1 -- container table reference [3]
                        set s to (a reference to _table's selection range) -- selection range reference [4]
                        set _range to (a reference to _table's range (s's name)) -- named range reference [5]
                        set _sheet to (_table as record)'s every reference's item 1 -- container sheet reference [3]
                        return {range:_range, table:_table, sheet:_sheet}
                    end if
                end repeat
                return {range:missing value, table:missing value, sheet:missing value}
            end tell
                [1] class specifier for 'range' is broken in Numbers 09
                [2] «class want» value is broken in Numbers 09
                [3] simple method to get «class from» value without asking for «class from» key which causes trouble in recompilation of the token 'from'.
                [4] proper reference of selection range object
                [5] proper reference of named range object
        end script
        tell o to run
    end _selection

  • Numbers seems to have broken

    I was using Numbers this morning -- no major problem except that it didn't properly recover from page view (leaving junk on the right of the table).
    This afternoon it seems to have broken. ALL my files, including the one from this morning have mostly blank cells. The contents seem to be there - if I click a cell the contents show up in the formula bar (or whatever it's called). And if I double-click to edit the contents reappear. But then go away again as soon as I finish with the cell.
    Some (but not all) of the header cells in Gray Headers style show up, and some are simply a pair of faint white squares at the end of the text string. Check boxes show up OK.
    Oh, and if I double click on a date it shows up for editing with the year as 00002010.
    This is very distressing. I have a lot of data locked up in Numbers and as of now, all is unusable.
    What's going on?

    Thanks for the help. Actually I should have mentioned that I tried that (I've been using Macs since my Mac IIfx in 1990 so I picked up a few tricks) as well as restarting. The problem remains.
    In the meantime I've tried opening my files (remotely) with another machine. No problems. It's local.
    Next I'll try reinstalling Numbers, if I can find the disks
    Richard

  • Is the page numbering broken?

    Whenever I add a blank page no page numbering comes with it.  The default page has numbering.  No matter what selections I make in the Inspector window no pages numbers come up.  If I turn the page numbering to none page numbers still appear.  Am I missing some kind of formatting per page issue?

    Sounds like it's broken.
    Send feedback and try to reinstall iBA.
    Good luck in any case.

  • Can you give me a paper or document related to this phone was changed since it was broken down? I need IMEI numbers of two Iphones on the same page. Because I don't wanna save this Iphone again in my country. I paid one time for my old Iphone.

    My Iphone was changed because of broken down thanks to its warranty. I am from Turkey and I paid one time for my old Iphone to save. Can you give me a paper or document related to this phone was changed since it was broken down? I need IMEI numbers of two Iphones on the same page. Because I don't wanna save this Iphone again in my country. I paid one time for my old Iphone. If you give me a document, I don't need to save my Iphone5 and also I don't need to pay again to save in my country.

    this forum is made up of users like you, not apple employees.  We can not help you with that kind of request.

  • Nokia 6060 - Broken Screen, Need Numbers

    Hi,
    The screen of my 6060 is broken, however the phone itself (menus etc) are still ok - I just can't see the display. I'm about to get a new phone, and need to transfer my numbers from the phone to my SIM.
    I was wondering if another 6060 owner would be able to list the step-by-step button commands that are required so that I can transfer all contacts to my SIM card.
    I really appreciate any help you can provide.
    Thanks!

    take your phone to your local nokia care centre and they'll be able to recover your phone numbers
    If you found this or someone's comments helpful or like what that person has to say, please give some Kudos to their post!

  • Retreveing numbers off a phone with a broken scree...

    i have the nokia 6070 but the screen broken and all my numbers are on the phone.the phone is perfect except i cant see what im doing because of the screen.does anybody know how to get the numbers off the phone and onto the sim
    thanks, conor

    connect the data cable to your phone and pc download pc suite goto contacts on your pc suite there is your contacts copy to im and disconnect simple and contact to nearest nokia service centre where do u live in euro then goto park evu other wise visit the globle site of nokia www.nokia.co.uk
    silvi

Maybe you are looking for

  • Why does the iPad AppStore not show sub categories ?

    I always search around on my iPhone and come across a new app but on the iPad you can only see featured apps, is there a reason why it is like this, why we can't browse apps like on the iPhone.

  • Clarification Regarding SOAP adapter

    Hi,    When we use webservice. do we need to go for BUSINESS SERVICE or Third Party BUSINESS SYSTEM. Please anybody can me help me regarding this. Thanks, dhanush.

  • SAP Web Application Server Java 6.40 download is not working

    SAP Web Application Server Java 6.40 is not working. There seems to be an issue with the server hosting the binaries. Antoine Voiry

  • Export £ = £

    Hi Enhancing an APEX v3 App. The Report export to CSV link on a number formatted with FML999G999G999G999G990D00 format produces output prefixed with £ instead of £ Any suggestions? Ade

  • Urgeent:  Web Service Invokation Error form BPM studi

    Hi I'm using BPM Studio 10.3. I have a Web service and i want to call it form my process. But whenever I invoke it a problem occures. I can invoke it from my code out of studio. The complete exception message is: fuego.lang.ComponentExecutionExceptio