Need Help From a Formula Expert

If you are a brave formula expert looking for a challenge, then please read on! I'm stumped!
I use Numbers to keep track of my reading. I have a sheet for books, where one row is used for one book. I have one column to record the author, one for the title, one for the genre, one for the number of pages etc. The column on the far left is devoted to checkboxes to tell me which books I have finished. I also have one column for the start date and one for the end date. This means that, using formulas, I have set up a column to show me how many pages per day I have read of each book, by figuring out how many days it took me to read a book and then dividing the number of pages by that number of days.
What I want to do now is very complicated:
On a separate sheet, I have set up another table, which I want to tell me my average reading speed (in pages per day) for each genre. I have used the SUMIF function to do this - this function adds up all the 'Pages Per Day' values in rows where the 'Genre' values equal a certain thing (eg 'Fantasy'). I have then used the COUNTIF function to count how many fantasy books there are, so that the sum of the values will be divided by this number. This gives me the average number of pages per day, but only for the Fantasy books.
At this point, I was feeling very pleased with myself - but there is one more problem.
The sheet contains books that I have finished AND books that I have not finished yet. The books which I have finished are marked by a tick in the checkbox. I do not want books I haven't finished yet to be counted in my averages. So what I want to do is modify my formula so that it only counts values in rows where the box in the first column is ticked. I can't figure out how to do this, because the SUMIF and COUNTIF functions only allow you to put one condition in, and I need to put two conditions in - the genre and the checkbox.
In summary - I need a formula to calculate the average of the 'Pages Per Day' values, but only from rows where the genre is fantasy AND the box is ticked!
HELP!!!

There are many ways to think of this, but I think all of them require the introduction of an additional column in the first table. One way is for this new column to have 1's for the books you've finished and 0's for the books you haven't. This can be done with a formula like:
=IF(ISBLANK(EndDate),0,1)
Then, instead of using COUNTIF() in your averaging formulas, you can use SUMIF() on this new column. As such, perhaps you don't need the checkbox column any longer. This sounds redundant with the existence of an EndDate, and would save you the problem of checking and entering a date when you finished a book (and the potential for an inconsistency).
Another, perhaps more general approach, would be to have the new column have a formula like:
=IF(ISBLANK(EndDate),"", Genre)
Then SUMIF()s and COUNTIF()s can be made conditional on this new column.
In any case, if you find this artificial new column unsightly, you can hide it.

Similar Messages

  • Would like to trace my ipod touch because I was robbed. I would find it please. need help from you guys. Not because I am able to get another. Thank you.

    would like to trace my ipod touch because I was robbed. I would find it please. need help from you guys. Not because I am able to get another. Thank you.

    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    iCloud: Find My iPhone
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • I need help from Customer Support. Whatever this charge is on my credit card,

     He recibido un cargo de su tienda, que curiosamente he visto que se han hecho muchos cargos a diferentes personas bajo el mismo copncepto y tienda.Favor acreditarme dicho monto porque no he comprado nada con ustedes y ni tengo idea donde está Minesota.Este es mi cargo. 23/07/15323343GEEKSQUAD RENE00015826 RICHFIELD UUSRD$1,428.010.00 Y veo en Internet que otros clientes han hecho reclamos del mismo concepto.   Subject Author PostedGEEKSQUAD RENE00015826Care‎03-09-2015 06:30 PMGEEKSQUAD RENE00015826 Unknown ChargePriscillaQ‎12-29-2014 10:08 PMrandom 10 dollar charge from richfield MN to my ac...ChrisBurns‎07-01-2015 12:50 PMUnknown Geeksquad charge on my Credit CardHardingR‎12-01-2014 05:57 PMGeekSquad protection terms changed without being i... Lo que me hace pensar que algo anda muy mal en ese Best Buy.  Como es posible que no hayan corregido e identificado quienes están detrás de este fraude que lleva años. I need help from Customer Support.  Whatever this charge is on my credit card,jesmann‎10-05-2014 04:52 PM  

    Hola scj2000-
    Muchas gracias por visitar nuestro foro en búsqueda de una explicación al cargo que recién apareció en tu tarjeta de crédito.
    Entiendo su preocupación, ya que cualquier cargo extraño que aparece en un estado de cuenta puede ser alarmante. En este caso, el último cargo que puede recuperar usando el correo electrónico que usaste para registrarte al foro, refleja que se renovó un antivirus Kaspersky. Esta autorización nos diste cuando realizaste la compra de tu Lenovo, desde entonces se renueva automáticamente la licencia de antivirus.
    Las otras publicaciones que has leído, indican lo mismo. Un cargo que se ha hecho a la tarjeta de crédito que se presentó durante la compra con la autorización del cliente.
    Lamento mucho la confusión y espero esto aclare tu duda.
    Atentamente,

  • I need help from chile and use a language translator to write and not turn my iphone4

    I need help from chile and use a language translator to write and not turn my iphone4

    http://support.apple.com/kb/TS3281       
    Not turn on

  • TS1717 This article is vague and unhelpful. My iTunes needs help from a pro. I have over 120,000 songs -- NO movies, TV, radio, or books... I have other programs which efficiently run things which are not audio-based. So why can I not get iTunes working w

    This article is vague and unhelpful. My iTunes needs help from a pro.
    I have over 120,000 songs -- NO movies, TV, radio, or books...
    I have other programs which efficiently run things which are not audio-based.
    So why can I not get iTunes working well?? It now takes at least 10 secs for any operation to be completed!
    That is just plain evil. But I am sure I could do something to help.
    All the music is on an 2T external drive.

    TS1717 as noted in the thread title...
    Brigancook, is the library database on the external or just the media? iTunes reevaluates smart playlists and rewrites its database after every action on the library. I've found this can make a library half that size, with a lot of smart playlists, quite sluggish. That said I'm aware part of my problem is aging hardware. Having the database on the internal drive may improve performance if it is currently on the external.
    I'd expect to see an exponential relationship between size and response time which may explain what you see. Cutting down on the number of smart playlists might help. If we're really lucky the long awaited iTunes 11 might have streamlined some of the background processes as well as cleaning up the front end.
    tt2

  • Need help in member formula

    Hi All,
    i need a help in memberformula
    i've two sparce dimenions as below:
    Dim1:
    A
    --B
    --C
    Dim2:
    a
    ---b
    ---c
    d
    ---e
    ---f
    i need to write member formula on C from Dim1 if member is parent level member from dim2 then its to sum up with its childen values against B from dim1.
    If member is parent level memer from dim2 ex:d
    C->d = B->e + B->f
    Thanks in advance,
    Kiran
    Edited by: kirannch on Oct 16, 2012 4:16 PM

    Hi Tim,
    Thanks for your response.
    I'm using all HFM dimensions in Essbase Except Cust2 and Cust4.
    In my outline Account, Period and Year are dense dimensions and rest are Sparse.
    i'm comparing the data at parenttot with usdtot, contr as we are using flat members.
    Below script is not updating any parent level value of USDTOT combination. i'm running the aggregation with exclude elim data before executing this calc script.
    USDTOT,Contr are sparse dimension members and Entity also sparse.
    Please can you help on the below scripts.
    SET CALCPARALLEL 3;
    SET AGGMISSG OFF;
    SET FRMLBOTTOMUP OFF;
    SET CACHE HIGH;
    SET LOCKBLOCK HIGH;
    EXCLUDE ( "Elim")
    /Calculation "USDTOT" at Parent level of Entity Dimension with sum of children same parent entity with Contr member */
    SET UPDATECALC OFF;
    FIX("ACT","FY12")
    "USDTOT"(
    IF(NOT @ISLEV("ENTITY", 0));
    "USDTOT" = @SUM(@CHILDREN(@CURRMBR("ENTITY"->"Contr")));
    ENDIF;);
    ENDFIX;
    ENDEXCLUDE;
    Thanks in advance,
    Kiran
    Edited by: kirannch on Oct 24, 2012 7:38 PM

  • Need help with MDX formula to sum months

    I was able to use Gary C's suggestion to sum daily data for 90 days with the following formula.
    SUM( TAIL( TUPLERANGE(
    ([FY_2006], [01/01]), ([Scenario].CurrentMember,
    [Time].CurrentMember) ), 90 ))
    This formula works great - even when crossing different years in the Scenario dimension.
    I'm now trying to sum the prior 3 months using a similar TupleRange command:
    SUM( TAIL( TUPLERANGE(
    ([FY_2006], [JAN]), ([Scenario].CurrentMember,
    [Time].CurrentMember) ), 3 ))
    I'm running into an issue due to additional parents in the time dimension. January and February of the current year are pulling data from the children of another parent in the Time dimension as opposed to Nov and Dec from prior year.
    My Time dimension is setup as follows:
    Time
    |
    |-Total Year
    | |-Jan
    | | |-01/01
    | | |-01/02...
    | |.
    | |-Feb... Dec (each month has days as children)
    |.
    |.
    |-QTDs
    | |- Various parents and shared children
    |.
    |-Weeks
    | |-FY08_Weeks
    | |.
    | |-FY09_Weeks
    Using the previous TupleRange command, when I retrieve data for Jan it retrieves data from the following members:
    Jan
    FY08_Weeks
    FY09_Weeks
    Any suggestions on how I can write the MDX formula so my 3 Month formula pulls in the correct members? (That is, it should only pull in members from the 'Total Year' parent.)

    In ASO architecture, if you want to aggregate these multiplied values you probably want to do the multiplication prior to loading so the sum of the products rolls up. Right now, you can't have the multiplication done in MDX and then have ASO aggregate. It's mostly a performance concern; you can do the multiplication and aggregation in one formula if you want.<BR><BR>The basic multiplication is just<BR> [Standard Material Per Unit] * [Units Sold]<BR><BR>To aggregate, you need to wrap in additional clauses. I've attached code here so you can see it with indenting- I believe that consistent indenting helps catch a lot of syntax errors.<BR><BR>You will also need to assign the formula to a new member (account or otherwise).<BR><BR>If you only want to see the values at level-0 and you don't want them aggregated, it's very easy:<BR><BR>iif (<BR> [Product].CurrentMember.[LEVEL_NUM] = 0,<BR> [Standard Material Per Unit] * [Units Sold],<BR> MISSING<BR>)<BR><BR><BR>

  • Hi I am receiving thousands, yes thousands of eMails from APPLE Support Communities, In My inBox there is more than 26.000 eMails from these communities, and i Need Help from you, i will appreciate.I am not panicking but i've ever seen this !

    Apple Support Communities
    HI
    I am receiving THOUSANDS, YES THOUSANDS of eMails from ALL Apple Support Communities.I deleted some one thousand but still more than Normal.
    Please i need your Help.This is Enormous!!! I've never seen this happening! It should be a huge mistake that everybody from All Apple Support Communities
    sending me their complains? I think it is a big Mistake, or Something bigger, i don't Know! I just need Help in this moment. it's been more than three or four days
    i saw a number of eMails from Apple Support communities landing in my eMail address, should this be normal? I don't think so.
    I appreciate any Help
    Kind Regards
    & a Happy New Year

    Click Your Stuff in the upper right and select Profile. In your profile there is a link to the right to manage email notifications.

  • How to (make best) use external js library from html object (need help from dev)

    Ok, on another discussion about rotating full screen backgrounds slideshows, i was orientated to try a small lib named "backstrech"
    I throw myself in, and i really like what we can do with it.
    To use it simply, just make an html object and paste this in :
    <script src="http://musecdn2.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="assets/jquery.backstretch.min.js" type="text/javascript"></script>
    <script>
      $.backstretch([
          "http://dl.dropbox.com/u/515046/www/outside.jpg"
        , "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
        , "http://dl.dropbox.com/u/515046/www/cheers.jpg"
      ], {duration: 3000, fade: 750});
    </script>
    then add the jquery.backstretch.min.js to your "downloaded files" (file menu > files to download)
    And you’re done.
    Now, i need some help from better developers.
    As you can see, my first line is a call to jquery, the same that we find later in Muse exported code.
    Reason 1 : without this line, jquery is not defined and the plugin won’t work.
    This raises 2 issues :
    - We load twice the same ressource which is useless (100k)
    - loading js is all about having the page hangs while it loads, hence, they are put at the end of the body.
    Does anybody know a way to load this particular html script AFTER we are sure the muse scripts (esp. jquery) have been loaded ?
    (in the Edge Animate world, i’d go for the yepnope, and put it at the right place in the code, though, here i have no access to page load structure except head)
    PS : in addition to that, i made an exported page/excluded from navigation where i put all the images i wanted for the background, i could then simply change the images lines :
    , "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
    to
    , "images/my_image_name_as_in_ressources.jpg"

    Got it, there was a bug in my code. Here is what you do:
    1. Download the js file https://raw.github.com/srobbin/jquery-backstretch/master/jquery.backstretch.min.js
    2. In Muse: Go to File -> Add Files for Upload and add the script file
    3. Open Page Properties -> Metadata -> HTML for <Head>
    Paste this code in:
    <script>
    window.onload = function() {
    var loaded = function() {
      $.backstretch([
          "http://dl.dropbox.com/u/515046/www/outside.jpg"
        , "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
        , "http://dl.dropbox.com/u/515046/www/cheers.jpg"
      ], {duration: 3000, fade: 750});
    //Load the plugin:
    var head= document.getElementsByTagName('head')[0];
    var script= document.createElement('script');
    script.type= 'text/javascript';
    script.onreadystatechange = loaded;
    script.onload = loaded;
    script.src= 'assets/jquery.backstretch.min.js';
    head.appendChild(script);
    }; //Window OnLoad
    </script>
    4. Preview or Publish = Done!
    Example: http://musebackstretch.businesscatalyst.com/index.html

  • Need help in TCP/IP expert

    as the attachment , the blinkblink.vi is the main function i want to do .
    how do i connect using the TCP/IP ?using the testserver.vi and the testclient.vi
    need help. any expert here?
    Attachments:
    blink blink.vi ‏10 KB
    testserver.vi ‏11 KB
    testclient.vi ‏11 KB

    LOL! wrote:
    as the attachment , the blinkblink.vi is the main function i want to do .
    define "do"!
    Do you want to send the new LED state whenever the two booleans change? What is the server supposed to do with the data?
    (Your blinker code makes little sense, for example [i] is always less than 3 so at least one operation is meaningless. Also, the VI consumes all CPU resources when the switch is off. It is often easier if you make a clean diagram layout, not with wires going in all directions or often nowhere. Have you done any tutorials or classes?)
    LabVIEW Champion . Do more with less code and in less time .

  • Need help from Jeff in getting CC desktop application

    Jeff, I was unable to find my previous question to you from the other day. To start over, my CC desktop application is gone missing after 10 months of CC usage.  I need to  download a LR update so I can use my camera with raw files. How can I get this back? Apparently Adobe doesn't allow reinstalling of individual programs even though I actually own LR. Please redirect me accordingly. I need help. I have win 7 64.
    GeneC

    Genec2 locking this discussion and will respond in CC desktop app icon missing.

  • Need help from Blackberry - Can't register 9860 in BB network.

    Yesterday I have bought a 9860 torch from an online auction site in Romania. The phone is looking great, working great, except I cannot register it on the blackberry network, in order to use an internet data plan. As soon as I turned the phone on, the yesOPTUS carrier logo appeared on the screen, indicating that this device once belonged to someone in Australia. My carrier is Orange Romania and I am using it on a pre-paid SIM card with the "blackberry unlimited 4" internet option that Orange offers in Romania. When I try to go to Host Routing Table in the phone's menu, there is nothing displayed there. I tried to send the registration message and remove the battery (while the decice is ON) and put it back in, with no result. I have spent a day on the phone with the data plans support team at Orange Romania, virtually troubleshooting every possibility to connect the device to the bb network - they even created a bb access point specifically for my phone number - everything without result. When I tried to create a blackberry account on blackberry.orange.ro with my PIN and IMEI, the page replied that my account is disabled and that I should contact my carrier. Which I did. And they said that I should either talk to Blackberry or yesOPTUS, as there is a possibility that my device is already registered with the BB network on the yesOPTUS, from it's first owner back in Australia, and that my PIN may need to be erased from a database in order to be re-synced with my carrier. The way I see it, it's either that, or Orange does not carry the 9860 in their network (yet?). The certain fact is that I ended up with a beautiful device that I can't use to it's fully potential. Any help from Blackberry is fully appreciated. Thanks.

    irelative wrote:
    When I tried to create a blackberry account on blackberry.orange.ro with my PIN and IMEI, the page replied that my account is disabled and that I should contact my carrier. 
    Optus is in the only one that can remove the PIN/IMEI from their system. You need to contact them.
    If the device has been reported lost or stolen, they won't remove it.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need help from somebody with the "MSI KT6 Delta-FIS2R" motherboard

    Hi everybody!
    I really need some help from somebody with the MSI KT6 Delta-FIS2R motherboard (the one with onboard LAN, Audio, RAID, S-ATA and IEEE1394 firewire). You see. I've got this board myself but it's been destroyd. Some values for the onboard devices in my board has been overwritten so that windows no longer recognizes the onboard LAN and Audio controller anymore. I really need some help from somebody with this board.
    I need to see what the values for the onboard devices should be. I hope someone can help me by sending me a repport from the Everest home edition: http://www.lavalys.com/products/overview.php?pid=1&lang=en
    If anyone could do me this favour, I would be VERRY thankfull

    Quote from: HYSTERIAH on 12-November-05, 06:24:20
    I really need some help from somebody with the MSI KT6 Delta-FIS2R motherboard
    HYSTERIAH,
    With 76 Replies and 277 Views on your original thread, it looks to me like people have been trying to help you.
    So there is no confusion, I am locking this thread so all your help and advice you receive will be in the same place, so people do not need to jump between threads to keep track of what has already been suggested for this mobo of yours.
    Richard

  • I Need Help From Anyone!!!ASAP!!!

    my ipod is showing an unhappy face it wont let me restore it and it isnt recognised on my pc and makes a high pitched dropping sound im going away on saterday so need help fast!!!thanks
    Dell latitiude D610   Windows XP Pro  

    See these troubleshooting articles.
    My iPod is sad.
    What does this picture on my iPod mean?
    PC doesn't recognize the iPod is connected.
    Folder and ! error.
    When restoring the iPod, it's useful to put into disk mode first.
    Putting iPod into disk mode.
    This icon is usually indicative of a hard drive problem, and if none of the above help, it will need service.
    You can arrange online service here.
    Service request.

  • I need help from muse pro's

    I have a client wanting a site similar to this link.
    http://www.charliegerken.com/
    I can do most everything layout and content wise but where I need help is with the complex searches and the integrated maps. Any input would be very much appreciated. Thank you.

    Hi JtB!
    Here are some example websites which have been produced with Business Catalyst.
    - http://www.rentersguide.com/ (made by SimpleFlame - http://simpleflame.com/)
    - http://uguru-realestate-us.businesscatalyst.com/ (ready template - BCgurus - http://www.bcgurus.com/templates)
    Ask consulting offers these two companies. I know for sure that they are reliable and they can help you.
    Best Regards
    TaikaJim

Maybe you are looking for

  • Free goods determination in variant article

    Hi ALL!!!! The issue is regarding IS-Retail. In case of order processing with variant article free goods is not getting active. The item category of the parent article is TAG and for the variants is TAN. When I am maintaining freegoods for the varian

  • Photoshop CS3 crashing when I go to save, and no option to send report.  What to do?

    This is the first part of the report.  Any ideas?  How can I directly email this to Adobe? [email protected] Process: Adobe Photoshop CS3 [2065] Path: /Applications/Adobe Photoshop CS3.app/Contents/MacOS/Adobe Photoshop CS3 Identifier: com.adobe.Phot

  • Using a BlackBerry as an External Keyboard

    Is there a way that I can use my BlackBerry as an external usb keyboard?  I'd like to connect the micro-usb cable to the BlackBerry and the USB connector to another device (like my PC, PlayStation, etc.)  Any idea if this is possible?

  • Random loss of cursor

    Occasionally, about twice/day, I lose my cursor... I can only tell where it is by what is "highlighted"... for example, on the tabs of firefox ...  It is not restricted to any particular application.

  • Log4J on Weblogic vs Log4J on JBoss

    I am working on migrating from JBoss to WebLogic 10. I am able to successfully setup Log4J on WL with a small problem. What I did to configure Log4J was the following. . Change the Logging implementation from the WL console to use Log4J . Replace the