Formula's in Numbers

Hi
I have a large spreadsheet which includes the date of the job in column B and the number of hours completed in a number of different categories from columns K to AD. The most recent job is in row 24 through to the oldest in row 404. I need a formula to return the most recent date of the job that any hours were completed in one of the different categories (K to AD). The formula I have written so far in K16 is:
=IF(K24>0,B24,IF(K25>0,B25,IF(K26>0,B26,IF(K27>0,B27,IF(K28>0,B28,IF(K29>0,B29,I F(K30>0,B30,)))))))
This will be a very long formula to complete for the 380 rows I have so far and it is growing every day. Does anyone know of a better way to do this??
Thanks in advance for any help.

=INDIRECT(ADDRESS(23+COUNT(K$24:K$404),2))
would do the trick if there is no hole in the set of time values.
Yvan KOENIG (from FRANCE samedi 4 juillet 2009 11:38:42)

Similar Messages

  • I want to create a formula for telephone numbers in the formula editor

    Is there a way to create a formula for telephone numbers in the "custom" editor in the inspector
    IE if I enter 2123456789 into a cell it automatically formats it to look like this (212) 345-6789

    You can create a new format by opening the Cells Inspector, then selecting "Custom" from the format menu:
    You can add the ### fields and click the menu on the left of the field:

  • Google Spreadsheet Formula Supportable in Numbers?

    Hey Folks,
    Am hoping someone might be able to support me here.
    I have a spreadsheet I originally created in Google Spreadsheets that I'd like to move to Numbers and am trying to sort out if a formula I've got running in GS works in Numbers.
    Basically, each row of one of my spreadsheets contains the information for a financial transaction -- a check register, for all intensive purposes.
    COLUMN A: Date
    COLUMN B: Item name
    COLUMN C: Amount
    COLUMN D: BALANCE
    COLUMN E: (Blank column)
    COLUMN F: CATEGORY
    I then have a separate part of the spreadsheet that lists each category and the total amount for each category.
    This was achieved by using a formula in Google Spreadsheet like this:
    =SUMIF( F:F ; "Groceries", C:C)
    In the example above, any line item with the category "Groceries" in F would have its amount (from Column C) taken and added to the current total automatically. I can then reference this Category Total in other spreadsheets, which ends up being very handy.
    Have not yet found out if there's a similar formula available in Numbers.
    Anyone have any idea what something like this would look like? Would love to be able to replicate it.
    Thanks,
    Anthony

    In fact, the original formula
    =SUMIF( F:F ; "Groceries", C:C)
    is accepted by Numbers if you remove the embedded typo.
    Between F:F and "Groceries", you typed a semi-colon which must be replaced by a comma.
    On my French system, I entered:
    =SOMME.SI(F:F;"Groceries";C:C)
    =SUMIF(F:F,"Groceries",C:C)
    and Numbers automatically translated to:
    =SOMME.SI(F;"Groceries";C)
    =SUMIF(F,"Groceries",C)
    Yvan KOENIG (from FRANCE samedi 26 juillet 2008 11:19:30)

  • Formula expression in Numbers

    Hi,
    I'm very new to Numbers so can anybody help me express the formula -
    Anchor Load=Load divided by Cosine half angle over 2
    The "Anchor Load will be 2 x cells, the "Load" would be a cell, the "angle" would be a cell.
    Any help much appreciated.
    Mike

    "What are M and A in image 2?"
    M & A represent the Magnitude and Phase of an FFT (i.e. The real part of a complex FFT and the Phase).
    "Could it be you are looking for the "least absolute residual" instead of "least squares"?"
    I'm not really sure about this.
    In image 2, what are constants and what are the fitting paramters?
    The fitting parameters are "n" and "k" on image 1, representing refractive index and absorption coefficient respectevly, basically, image 3 shows the Real part of an FFT. Image 1 is a trasnfer function that explains image 3 in IDEAL situation, so, I am trying to recreate Image 3 from an Ideal function by replacing the "n" and "k" values constantly untill image 2 is satisfied.  Image 2 basically gives the difference between the actual parameters (i.e. image 3) that were practically measured, and the recreated parameters (estimated from Lev-Med) algorithm.
    "Can you point to a website that describes the theory behind it?"
    Attached is a paper where they describe this process. It has some physics involved but it should be a light read. They use the "Nelder-Mead algorithm" (i.e. the Downhill Simplex nD VI ), but I find it even more difficult to implement this formula on this VI.
    "Simply create a subVI that matches the model template and incorporates your model as a function of [X] and your model parameters"
    Is it possible to give just a simple example VI that includes a "summation and an exponential" form, maybe I can built on that the more complex formula from image 1.
    Overall:
    Even that image 1 contains alot of letters, the only variables are "ns - as seen on image" and "k", all others are defined descrete values. I can perhaps replace all the letters in image 1 with numbers and only leave "n" and "k" as variables to make it easier, and make that as the starting point in building the VI.
    Thanks
    Attachments:
    Highly accurate optical material parameter determination with THz time tomain spectroscopy.pdf ‏426 KB

  • Formula limits in numbers

    Hi, I have just uploaded an excel spreadsheet to iCloud and then downloaded to my iPad. When I attempt to open on iPad I get an error message that says "Spreadsheet cannot be imported....to many formula in spreadsheet to be imported..."
    What are the formulae limits...is it the # or is it the type. The spreadsheet I am importing is complex.
    Thanks

    The limit is variable depending on the number of formulas, datas, cell references, volatile functions, or even the number of blank cells used.
    Here are some of my testings I've done for iOS Numbers. After using the following amount of cells in one sheet to the following description, I measured the following amount of delay before being able to do any further action. 
    12 seconds - 150,000 blank cells
    40 seconds - 150,000 cells containing a number
    100 seconds - 150,000 cells containing a formula referencing one other cell.
    App froze - 150,000 cells each containing long complex formulas with multiple cell referencing, vlookups, and other non-volatile functions.  When origination from excel or '09 Numbers, this file would say, "Spreadsheet couldn't be imported"

  • COMO ESCRIBIR UNA FORMULA PERSONALIZADA EN NUMBERS, ESPAÑOL

    Estoy intentando poner una formula tipo:
    (constante 1 * columna) + constante 2
    Como se escribiría con numbers?

    I wish to add :
    Spanish versions are available from :
    http://support.apple.com/es_ES/manuals/#macosandsoftware
    and are named :
    Numbers ’09 Manual del usuario
    http://manuals.info.apple.com/es_ES/Numbers09_Manual_del_usuario.pdf
    iWork Manual del usuario de fórmulas y funciones
    http://manuals.info.apple.com/es_ES/Manual_del_usuario_de_formulas_y_funciones.p df
    Yvan KOENIG (VALLAURIS, France) samedi 5 novembre 2011 14:25:14
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Question on Formula Creation in Numbers

    I am creating a form that involves two columns, both of which involve the same formulation. On the first I start with $200,000.00, which increases in increments of $50,000 up to $2,000,000. Is there a way to set up a stepper that would accomplish this, or...? Thanks in advance for any help!

    Column A shows equation method:
    Column B shows create series and drag method:
    Regards,

  • Formula help in Numbers

    First of all, thanks in advance.  This forum has been a great asset to all of us novice users.
    I have a spreadsheet with many sheets within.  What I am trying to do is pull info from all sheets into a table so that it makes for a more automated system at the end of the month for billing.
    I have a main sheet showing info already gathered from each individual sheet.  Each individual sheet is a customer.  What I need to do is grab all the info from each sheet, but only if it falls within a selected date window.  Not every customer has info entered each month.  Some might go several months with no data entered.  Right now I have to click each sheet and see if there are any entries for the month, then print that sheet.  This wasn't a big deal with 10-15 customers.  But now that I have almost 30+ sheets, it has become a tricky task.  And I only want to show the selected date window,  it keep all the other data totals that come from that sheet.  Basically, I need to see if I showed up and did something at that customers property during the month.
    I will get more detailed and post up a shared link if this is a possibility.
    Thanks
    Jeff

    Hi Jeff,
    A disclaimer of sorts: I am giving you small picture answers here because I don't really know how all the data is getting used specifically. I imagine there are ways of streamlining your workflow that would surprise you. ok.
    Everytime you add a customer you will need to adjust the formula in your report table. As you add rows to the Table I am now calling "Print Bills"  the formula in column B will fill with the link to the last customer table. You will need to manually link to their new table- what you are calling sheets. In my example there are no formulas in the customer tables.
    A nested IF means testing one IF statement and then testing another. So we want to test both year and month we might start with:
    IF(YEAR($B$1)=YEAR(Bob::A),if-true,"N") this tests the year and returns N if they don't match. In place of if-true we insert our original formula:
    IF(MONTH($A$1)=MONTH(Bob::A),"Y","N")
    to get:
    IF(YEAR($B$1)=YEAR(Bob::A),IF(MONTH($A$1)=MONTH(Bob::A),"Y","N"),"N")
    If the year doesn't match return "N", if it does check if the month matches- "Y" or "N"
    You can see why too many nested IFs can make you crazy.
    The table looks different and B1 needs to be formatted as Date/Time.
    Here's a bonus so you can check if every bill was printed. The formula is in C1.
    And congrats on your booming biz!
    quinn

  • How do I create a formula to convert words to numbers?

    Hi,
    Basically my spreadsheet is almost entirely words and as numbers (or excel for that matter) work with words (although this I have suggested as an improvement), I need to convert all the words to numerics.
    For example. I have a question with a drop down asking for male or female (I've done drop down lists as I want to cross analyse the results at a later date). I need to create a formula so that numbers automatically counts up all the males and females and puts them in another overall table. I guess I do this by creating a formula for numbers to turn all 'males' into 1 and all 'females' into 2, then ask numbers to count up all the 1's and 2's and put them in a table?
    Here are a couple of images which may or may not explain it further:
    Raw form:
    Second table:
    Message was edited by: lawero
    Message was edited by: lawero

    lawero wrote:
    For example. I have a question with a drop down asking for male or female (I've done drop down lists as I want to cross analyse the results at a later date). I need to create a formula so that numbers automatically counts up all the males and females and puts them in another overall table. I guess I do this by creating a formula for numbers to turn all 'males' into 1 and all 'females' into 2, then ask numbers to count up all the 1's and 2's and put them in a table?
    Wasn't how to "automatically count up all the males and females" already answered in my first post to your question How do I create a graph in numbers? The coloured text is a link to that thread.
    Regards,
    Barry

  • Viewing formulas in Numbers '08?

    Does anyone know how to toggle formulas in a Numbers document on and off? Have to deliver some homework in math, and they have to have two versions of each document; one regular with the answers and one wich shows the formulas. Only problem is that I dont know have to toggle it on and off
    I know in Excel in Windows its ctrl+J to toggle it, but how do you do this in Numbers?
    Thanks in advance!

    Just mark the cell format as "text".
    Message was edited by: schubladenschrank
    Message was edited by: schubladenschrank

  • Numbers for iPad (iOS 5): formula entry problem

    Whenever I attempt to work with a formula-cell in Numbers, the large, on-screen number-pad pops-up, overlapping the text-entry bar. I undersand that the normal opperation is for the num-pad to "push" the text-entry bar upwards, so that the text-entry bar remains visible, above the num-pad. In my case, the num-pad is simply opening above the text-bar.
    Of course, this makes it impossible to see the formula as I type. I have tried formatting the cell as "text", and then selecting the "equal sign" button. The result is the same: the num-pad pops-up, overlapping the text-bar.
    I am using an Apple Wireless Keyboard, but the problem persists whether I am using the touch-screen or the physical keyboard. Pressing the eject button on the keyboard has no effect: the enourmous keypad remains, obstructing my view of the text-entry field.
    How do I hide the number pad?
    Can I force the text-entry bar to re-align itself with the num-pad?

    I have found that the 'split keyboard', which I've been using lately, was causing this behavior. Switching back to the standard keyboard arrangement has eliminated the problem.

  • Custom formulas for Numbers Spreadsheets

    Where do I go to get instructions for custom formula writing in Numbers.  My product is iMAC OS X Yosemite.  I am more confident with EXCEL and having difficulty with flexibility in the Numbers Spreadsheets.

    A good place to start is to select the menu item  in Numbers "Help > Numbers Help"
    Also... type the "=" sign in any cell then use the "Function Browser" to get familiar with the functions-- many are the same as excel.:
    Finally, post direct and focused questions here in the forums.  Good questions are formulated with "I am trying to do X.  When I do this and that I get something and expected something else"
    Post screenshots using by using the camera icon in the tool bar after using the built-in screenshot feature in mac os X (command + **** + 4, then select the area of the screen, the file will appear on the desktop)

  • Crystal Report formula with datediff not working as expected

    We need a Crystal Report formula to display the number of seconds the oldest arriving call has been waiting.  Across multiple resources that can each have an "oldest call".  The database stores a datetime value for the time the oldest call arrived.  If there are no waiting calls, then this field is NULL.  (MSSQL database).  It seemed reasonable to implement this in a formula that 1) discovers the minimum of "oldest call" timestamps in the selected records, and 2) to use "datediff" to produce the difference (in seconds) between the "oldest call" timestamp and current time.
    The first attempt at this relied on "implied" iteration that could be done within a formula.  Something like:
    data: OLDESTARRIVALTIME
           null
           '2014-06-14 08:08:08.000'
           null
          '2014-06-14 08:07:55.000'
           null
    whilereadingrecords;
    datetimevar minArrival;
    if isNull({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME}) = False
                   and minArrival < {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME} then
         minArrival := {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME};
    DateDiff("s", minArrival, {SVCCLASSMEASURES_VW.UTCDATE})
    We tried storing the values of OLDESTARRIVALTIME in an array.  We could see it iterating, but the values in the array only contained
    the column value from the first record.
    This was to solve the problem of screening null values and producing the minimum of the set.
    Since that didn't work (and the web articles seemed to imply this would iterate over all the records, we tried another approach.  This
    time we set NULL timestamps in the table to a timestamp far in the future, so that we could directly apply "minimum" to produce
    the correct "begin" for datediff.
    data: OLDESTARRIVALTIME
              '2030-01-01 00:00:00.000'
              '2014-06-14 08:08:08.000'
              '2030-01-01 00:00:00.000'
              '2014-06-14 08:07:55.000'
              '2030-01-01 00:00:00.000'
    datetimevar minArrival = minimum({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME});
    datetimevar minUTC = minimum({SVCCLASSMEASURES_VW.UTCDATE});
    if minArrival < minUTC then
         DateDiff("s", minArrival, minUTC)
    else
         0
    (minUTC would be current time in UTC)
    So, to start things off, the last formula produces negative numbers!  They hover in negative seconds within a negative minute (-33, -45, etc.).
    That's inconceivable, considering the test for minArrival < minUTC.  Both of the fields are "datetime".
    As it turns out, in the near term, it's most important to get the second formula working.  And, of course, insights into getting the first
    formula to work are welcome as well!
    Have we run into some weird behavior of the "DateDiff" function?
    Thanks!

    If DateDiff is always returning a negative number you could try swapping the dates around in the call to DateDiff - it should look like this:
         DateDiff("s", minUTC, minArrival)    
    Or you could use the Absolute Value of the calculation:
         Abs(DateDiff("s", minUTC, minArrival) )
    As for your first formula, you need to initialize the variable to a value prior to using it in the comparison.  If you don't, its value is null and comparing it against a value won't work.  (See What is Null and Why is it Important for Crystal Reports | SAP BI BLOG for a blog that I wrote about working with nulls in Crystal.)
    You should change your existing formula to something like this:
    whilereadingrecords;
    datetimevar minArrival;
    if OnFirstRecord then minArrival := DateTime(2013, 1, 1, 0, 0, 0);
    if not isNull({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME})
                   and minArrival > {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME} then
         minArrival := {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME};
    Note how I changed the If statement.  Also, you want to replace minArrival with the field value if the field is less than the current value of minArrival - so you need to use ">" instead of "<" in the comparison.  Place this formula in the details section.  It will now show anything because of the semi-colon on the end.  This will ensure that it gets evaluated for every record.
    Now, create a second formula that looks like this:
    whileReadingRecords;
    datetimevar minArrival;
    DateDiff("s", minArrival, {SVCCLASSMEASURES_VW.UTCDATE})
    Place this formula in a footer section - it will not work in a header section.  If you need it in a header section you might be able to take the "whilereadingrecords" off of both formulas and use the "Maximum()" summary function to get the correct value.
    -Dell

  • How do I select a field and between selected rows insert auto-incremented numbers?

    I have a spreadsheet in Numbers '09 and I want to number the rows so that I can sort by the original order after I've already sorted by different items. In Excel this is fairly easy, but how do you do this in Numbers? How do I select a series of rows in a column and tell it to automatically insert numbers incremented from one to the total number of rows?
    Thanks,
    Philip

    Hi Philip,
    As an alternative to the method Yvan pointed out, you could use a formula.
    (NOTE: This takes longer to write than to do.
    (CAUTION: Make sure you use Copy/Paste Values to replace the formulas with the calculated numbers before sorting.))
    Choose a column in which to place the numbers.
    In the first non-header cell in the column enter the formula:
       =ROW()
    Select the whole column by clicking its column reference tab.
    Then use command-click to deselect the header cells above the one where you placed the formula.
    With the cell containing the formula and all of the column below it selected, go:
       Insert (menu) > Fill > Fill Down
    The formula will be filled into the rest of the column and the numbers calculated.
    With the cells still selected, COPY, then go Edit > Paste Values.
    This replaces the 'live' formulas with the numbers themselves, and prevents the numbers being recalculated when the rows are sorted.
    Regards,
    Barry

  • How do I add to "=COUNTIF(Indicator,1)" formula in Workout Tracker Template

    I'm using the Workout Tracker template to create a chart that counts each time I've selected different items in a pop-up menu. When you pull up the Workout Tracker template there are four sheets. I'm concentrating on the 1st sheet called Summary. I changed the pop-up menu in the "Workouts" table to a choice of colours (instead of the different workout choices) and then changed the "Workout Summary" table accordingly.
    The original template only had an option of 4 items to count in the workout summary, so I added 2 more lines and copied the formula, adjusting the numbers.
    So, the formulas that work are as follows:
    Blue =COUNTIF(Indicator,1)
    Red =COUNTIF(Indicator,2)
    Yellow =COUNTIF(Indicator,3)
    Purple =COUNTIF(Indicator,4)
    My 2 new rows of formulas that aren't working look like this:
    Orange =COUNTIF(Indicator,5)
    Green =COUNTIF(Indicator,6)
    I don't understand where this "indicator" thing is pulling information from so that I can assign 2 more values (5 & 6). It seems that whatever value I put into the 1st column in rows 2-5 it'll adjust itself and read the new count. But nothing happens when I try anything in rows 6 and 7, nothing happens.
    Please help!
    Modified Workout Tracker: !http://i288.photobucket.com/albums/ll196/vvlopez/Screenshot2010-05-01at23904PM .png!

    Select the table "Workout" and unhide its 4th column.
    It's the one entitled "Indicator".
    Useful tip :
    When you must work on a document using the headers to name rows and columns, disable the function allowing that so you will see the standard references. Here, Indicator means : *_Workout :: D_*
    Yvan KOENIG (VALLAURIS, France) samedi 1 mai 2010 22:56:51

Maybe you are looking for

  • ITunes updates songs, playlists, etc., but will not update iPod options

    When I plug in my iPod (4G, 40GB), everything syncs as it should --songs, playlists, podcasts, etc. The same is true when I manually choose to update the pod. (i.e. from a context menu or somewhere else in the UI) However, I am unable to change any o

  • ThePrevious button, a choice, and a Next button in the tabel dont work (new

    Im writing the code like that for adf faces earlly access 13 but The Previous button, a choice, and a Next button in the tabel select one dont work i dont know why , they were working properly in the early access9 with the HR employees tabel with the

  • Blackberry Desktop Manager says Disconnected

    Blackberry 8330 Curve Blackberry Desktop Manager 4.3.0.17 XP Professional Microsoft Outlook 2007 Blackberry Enterprise Server Sync Installed USB and Modem Drivers (DM4.5_B13) Tried: Uninstalling / reinstalling desktop manager many times Tried 3 diffe

  • Hide cursor in text field

    I am using developer 6i. There are many text fields in a form. When user start feeding, cursor hides in some text fields during feeding and user may in dout where is the current focus. Plz help me. I will be thankful. Edited by: Saif-ur-Rehman on May

  • Program with update capabilities

    I'm in the analysis stages of developing a system and i decided i want users to have an update function to patch an bugs that may arise in the final version. Everything i have ever made is one big jar file but i dont want people to have to download t