Help creating a formula

I could use help creating a formula.
I have a excel file that I want to move to numbers.  In it, I track the date last put in a column.
Each Column is for a date, and each row for an item.   When I put a date in a the column, I am trying to create a forula that woudl return the date last input.
That is probably all confusing....but here is the excel formula that works, that does not work in numbers.
=IF(B80>0, INDEX(G80:FH80,MATCH(9.99999999999999E+307,G80:FH80)), "Not Played")
Or a second one I have also used
=INDEX(C5:JZ5,MATCH(9.99999999999999E+307,C5:JZ5))
Honestly - I don't understand the forumla, I got it from someone - I just know it works in Excell, but not in numbers.
Below is a picture of what it comes out like in Excell.  The column that is not working is the "Last played"
Does that make sense?  Any Numbers experts out there that can help me create a forumla in Numbers for this?

Hi Jim,
If I'm reading your table correctly, it appears that all dates a particular song has been played are listed in the same row as the song title.
If that's the case, your formula in G3 would be:
=MAX(H3:XX3)
With the letter identification of the last column in the table replacing XX.
The formula would then be filled down from G3 to the last row containing a song title.
Two other suggestions:
Numbers does not really perform well with large tables. The underlying model for a Numbers spreadsheet is a number of small, single purpose tables using no extra rows or columns.
As a first order revision to this table, I would suggest splitting the table after column G, then adding a single header column before what was column H. The seven column table consisting of columns A to G would then becone a summary table. The only entered data in this table would be the labels "Worship song (Wed)" through to "Last Played" in row 1. Row 2 would be empty to match the position of the song titles on this table with the positions on the larger table, and both row 1 and row 2 would be set as Header Rows to permit their being frozen in place, allowing other roll to scroll behind these two.
Everything else on that table, including the song titles, would be formula generated from data on the larger table.
The larger table would become a data collection table, containing only one or two formulas—the formula in row 2 that counts the number of songs used on each day, and possibly one to generate the weekly dates in row 1. All other data on that table would be directly entered by typing from the keyboard, pasting after copying from an outside source, or by inserting usng a script or menu item.
The main advantage here is that this arrangement would lessen th liklihood of accidently altering formulas during data entry by moving all data entry to a separate table, and by making it possible to lock the summary table, where no data entry takes place.
A second suggestion would be to limit the number of columns in the Data table to one for the song titles plus enough to collect the data for a period of either one or two years.
The main question to determine whether this would be a useful step is 'Do you have a use for the actual dates on which a song was played over two years ago, or is the number of times it was played in each year sufficient at that temporal distance?'
Making this change would involve some additional annual maintenance, with a couple of hitches that I haven't yet looked at, so unless the ie=dea interests you, I'll let the second 'sleeping dog' lie.
Regards,
Barry

Similar Messages

  • Help creating a formula which returns current date last year

    I need help creating a formula which returns the current date last year. I also need it to work during leap years.
    Any ideas?

    Hi Dagros,
    I'm lucky to be a universe designer, I have to do this only once
    The easiest way would probably be to use
    =RelativeDate(CurrentDate();-365)
    So subtractiing 365 to get the same date last year,
    but you would need some extra logic for the years with a feb 29 in those 365 days.
    =If FormatDate(RelativeDate(CurrentDate();-365);"dd") = FormatDate(CurrentDate();"dd")
    Then RelativeDate(CurrentDate();-365)
    Else RelativeDate(CurrentDate();-366)
    Another question to ask is if you really want the same date last year, or if you also want a really 'same day' so monday compared to monday etc. in this case you would just subtract 364 days and get the day 52 weeks back...
    Good luck,
    Marianne

  • I need help creating a formula that looksup cell data and give a value.

    I want to have the table "At a glance"  show the total days a driver has worked, there total in sales and there total in milage. The table shown is a example of what I want to have happen. I want to input any name into cell B2,C2,D2,ect. that is found in the row C2:C17 of Checkpoint (Truck 1) and Checkpoint (Truck 2) and return the total amount of day the driver has driven both trucks, The total in sales the driver has collected (Truck 1 and 2) and How many miles the driver has driven (Truck 1 and 2). I realize that these tables are not labeled correct. If I enter a name into B2 and the driver associated with that name hasnt driven then I want "N/A' to show in cell B2 and so one. I assume that the formula that is created for cell B2 will be copied and pasted into cell C2, D2, ect..
    If someone could help me with this problem I'd really appreciate it.
    Thanks.

    Hi br,
    To show the number of days worked by a driver, you need to COUNT the number of times that driver's name appears in row 2 of both tables.
    To calculate his total sales and total mileage, you need to SUM the amounts he brought in each day and the distances he drove each day.
    Your functions for this are COUNTIF and SUMIF.
    Formulas in At a Glance:
    B2: =COUNTIF(Truck 1 :: $3:$3,B$1)+COUNTIF(Truck 2 :: 3:3,B$1)
    B3: =SUMIF(Truck 1 :: $3:$3,B$1,Truck 1 :: $5:$5)+SUMIF(Truck 2 :: $3:$3,B$1,Truck 2 :: $5:$5)
    B4: =SUMIF(Truck 1 :: $3:$3,B$1,Truck 1 :: $12:$12)+SUMIF(Truck 2 :: $3:$3,B$1,Truck 2 :: $12:$12)
    Fill all three formulas right to the last column of At a Glance.
    To put N/A in place of the 0 in Roger's column and the empty columns, wrap each of the formulas in an IF statement:
    Bn: =IF(AND(ISERROR(MATCH(B$1,Truck 1 :: $3:$3,0)),ISERROR(MATCH(B$1,Truck 2 :: $3:$3,0))),"N/A",formula)
    Where formula is the formula used in column B above.
    Regards,
    Barry

  • I need help with creating some formulas

    I'm not sure if anyone around here can help me, but I'm trying to create a Numbers document and need some help with creating a formula/function.
    I have a column of amounts and I would like to create a formula which deducts a percentage (11.9%) and puts the result in another column.
    If anyone can help me, it would be greatly appreciated.

    Here is an example that shows one way to do this:
    The original data is in column A.  In column B we will store formulas to adjust the amounts:
    1) select the cell where you want to formula (in this case cell B2)
    2) Type the "=" (equal sign):
    3) click cell A2:
    4) now type the rest of the formula which is: "*(100-11.9)/100"  that is asterisk, then open parenthesis, 100 minus eleven point nine close parenthesis forward slash  one hundred
    The Asterisk is the multiply operator  (times) and the forward slash is the division operator (divide)
    now hit return.  select cell B2 and hover the cursor over the bottom edge of the cell:
    drag the little yellow dot down to "fill" the formula down as needed.

  • Creating a formula for the Header to evaluate each record in Detail

    I want to create a formula that notifies the user in the Header if there is a certain value in the report detail.  I was able to create the formula but it only gave me the correct message when the 1st record in the detail had the value.  Is there a way for it to read ALL records and if any of them have the value, to display the message?
    Example:
    Formula in Header:  if ({@Total}>1) then "ERROR"
    There are about 500 {@Total} fields in the detail and my formula only looks at the 1st one in the list.

    Hi Shannyn,
    There is this in-built faility provided by Crystal Reports called as 'Alerts'.
    This will help you meet your requirment.
    For more information on functionality / Creation of Alerts, please go to Crystal Reports Help and search for 'Alert'. You will find it very helpful.
    Hope this helps.
    Regards,
    Jay.

  • How to create a formula to get the month name based on userresponse

    Hi,
    I have created a report using E-Fashion - Actually i need  a report like  -  For ex i need 4 months data from 12 months
    My report should display the 4 months data along with starting & end month data in the next 2 columns
    I have used the prompt to fetch the data & i have created a formula in the cloumn like below:
    For the column haader i have given = Tonumber(userresponse("Enter start:")) - I am getting the Month number in the header But i need the month name in the header.Please guide me
    Regards
    Karthika

    Hi Ram,
      Thanks for your Help.I tried in an another way like I created 2 Variable -
    Start Date  =UserResponse("Enter Month(Start):"
    End Date = =UserResponse("Enter Month(End):"
    I have created the column header for
    start date:
    =If([start Date] = "1";"January";If( [start Date] = "2"; "February";If([start Date] = "3";"March";If([start Date] = "4";"April";If([start Date] = "5";"May";If([start Date] = "6";"June";If([start Date] = "7";"July";If([start Date] = "8";"August";If([start Date] = "9";"September";If([start Date] = "10";"October";If([start Date] = "11";"November";If([start Date] = "12";"December"))))))))))))
    End Date:
    =If([End Date] = "1";"January";If( [End Date] = "2"; "February";If([End Date] = "3";"March";If([End Date] = "4";"April";If([End Date] = "5";"May";If([End Date] = "6";"June";If([End Date] = "7";"July";If([End Date] = "8";"August";If([End Date] = "9";"September";If([End Date] = "10";"October";If([End Date] = "11";"November";If([End Date] = "12";"December"))))))))))))
    For the Datas in the column:
    Start Date:
    =[Sales revenue] Where([Month]=ToNumber(UserResponse("Enter Month(Start):")))
    End Date:
    =[Sales revenue] Where([Month]=ToNumber(UserResponse("Enter Month(End):")))
    I got the Report format as i required
    Thanks
    Karthika

  • Creating a formula using a alphabetic drop down list?

    I am creating a work sheet using formulas and drop down list. I have one drop down list that has a list of name and the second list is a list of letter that correspond to those names. (ex: column "J" on line "4 - 29" there is the letter
    "A-Z" and then continues , in column "K" line "4" starts the list of names. In Cell B4 is the drop down list of names in column "K" to choose from, I would like the letter that corresponds to that name automatically
    be put into cell A4, how do I create the formula in cell A4?

    Hi Tina,
    According to your description, please following these steps:
    With your sample as shown in the following figure, select range “J4:K29”, and click
    FORMULAS-Defined Names-Create from Selection, and check
    Right column.
    Then, use the enter formula in A4 “=INDIRECT(B4)”.
    And I upload a TEXT.xlsx file on OneDrive, you can download this file via this link:
    https://microsoft-my.sharepoint.com/personal/v-lzng_microsoft_com/Documents/Shared with Everyone
    Hope it’s helpful.
    Regards,
    Emi

  • Is it possible to create a formula that converts a resource hours into full time units in project server 2010

    Hi
    Is it possible to create a formula that converts a resource available hours into full time equivalent units in project server 2010? Say a resource has 160 available hours for any given month this will translate into 1 FTE for this month. If it is 80 hours
    for that month then it will be 0.5 FTE and so on and so forth.
    Thanks,
    -Maurizio

    Maurizio,
    It's a bit late, but there are two OLAP cubes that can provide you with this information in a pivot table in Project Server 2010.
    "MSP_Portfolio_Analyzer" and "Resource Timephased" contains capacity measures that be used to provide calculated measures when the cube database is generated. You change OLAP cube configuration in "Server Settings -> Database Administration -> OLAP
    Database Management". In either of the aforementioned cubes, use "Calculated Measures" to create two measures:
    Member Name
    MDX Expression
    Available (FTE)
    ([capacity]-[work])/[capacity]
    Work (FTE)
    [Work]/[Capacity]
    These two fields will appear in the pivot table field list as "Values", and when combined with a "Time" column, can give you a picture of FTE usage and availability.
    I prefer the portfolio version since it contains project/assignment data and resource data, letting you see just  how resources are being utilized.
    One thing I have not been able to get around is getting ""Maximum Units" for a resource factored into the measure. A common practice is to allocate more that "100%" to generic resources to represent teams for planning purposes. The OLAP measures will show
    only 0.0 to 1.0 FTE for any resource, even if a resource represents more than one body.
    If you have an SSRS query you could share, I would appreciated it!
    Hope this helps!
    JTC
    JAckson T. Cole, PMP, MCITP

  • Creating a formula

    I need to create a formula in a field that will give a reply between 1 and 5 depending on the measurement contained in another field example number in field 1200mm I need to return the answer 2. Can any one help with that?

    virginnumbers wrote:
    In one Field I wish to place a measurement and the answer in a seperate field ranges are:-
    from 0 to 2133 mm answer =2
    from 2144 mm to 3352 mm answer =3
    from 3353 mm to 4267 mm answer =4
    from 4268 mm to 5600 mm answer =5
    Thank you for taking the time to look at this problem with me.
    LOOKUP should do it.
    I've assumed you meant "from 2134 mm to 3352 mm answer =3" in the second line.
    The formula for C2 is =LOOKUP(B6,$F$2:$F$6,$G$2:$G$6)
    Regards,
    Barry

  • How to create characterstic formula variable in reporting

    how to create characterstic formula variable in reporting
    tell me any one in steps
    thanks

    HI
    Query Designer -- Select your Char -- Create Char Variable -- Processing type should be Replacment path =In the Replace Variable with drop down box, choose Attribute Value. In the Attribute drop down, select Characteristic Reference
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/6ba03cc24efd1de10000000a114084/frameset.htm
    Hope it helps

  • Help Regarding the Formula Variable

    Hi,
    We have a scenario where  "CKF = RKF/Formula Variable". When we execute a Query in BEx Analyzer, for this particular CKF values are displaying as 'X'. (i.e Numeric values are not displaying)
    When we check in the backend data is available for the RKF.
    Can someone please guide on how to validate whether the Formula Variable is working fine or not?
    Thanks in advance
    Regards,
    Seshendra Reddy

    Hello,
    This post caught my attention because I am facing a similar problem.
    I created a Formula Variable with replacement path on Posting Date (0DATE Char), with exception aggregation = MAX and results calc = MAX.  The purpose is to return the last posting date for a set of documents.  However, it seems that if Posting Date is not in the drilldown, then the formula formula returns 'X'. 
    This limitation is not mentioned in SAP help... and seems to be a pretty big constraint if the reference char on the replacement path formula variables must be in the drilldown.
    Does anyone know how to work around this?
    Thanks!
    Jenni.

  • Create a formula variable using replacement path for current date

    Hi All,
    I created a formula variable using replacement path for current date.
    But when i used this variable am getting an error message saying .
    " This Variable cannot be used in this query".
    Could you please let me know the reason?
    Thanks,
    Zehra

    Hi All,
    Thanks for all your help...
    I just found a solution via the below link
    in Bex Formula variabel, Current calander day(sap exit) missing.
    Here he is trying to use the existing formula variable.
    My doubt here is, Even i could not find this varaible in BEX formula variable, But could see this in BI Content path as mentioned in the above link.  DO i have to transport this varaible , or i simply can activate it in production?
    I just could find this in BI Content but not in MetaData Repository.
    Thanks,
    Zehra

  • How do I display decimal hour as time? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60

    How do I display decimal hour as time in Numbers for iPhone5 ? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60. The result can be in either b8 or a different cell.
      Thanks for helping this novice

    B1=DURATION(0,0,A1,0,0,0)
    The DURATION function combines separate values for weeks, days, hours, minutes, seconds, and milliseconds and returns a duration value.
    DURATION(weeks, days, hours, minutes, seconds, milliseconds)

  • I want to create a formula showing me the days in a certain time period and multiplying that by a price.

    I am creating a spreadsheet with renting prices for each month. and need help on the formula below.
    Basically, I want to add up a total base rate for the nights people are staying. Can you please help me out with this?

    Hi Caleb
    Well, to begin with, if John checked out on December 1, he didn't stay any nights in November.
    The formula is is bit involved due to the rate change. The version below handles this with a pair of IF statements that check to see if check in and check out occur in the same month.
    If not, the first calculates the charges for the number of nights stayed in the check in month, and the second calculates the charges for the number of days stayed in the check out month. (E2)
    If check in and check out occur in the same month, then the first calculates the charges for that month, and the second returns a null string ( "" ). (F2)
    The results of these calculations, and the fixed booking fee (included in the formula, not gathered from Table 1), are summed in the next cell. (G2)
    Formulas:
    All are in Table 2, and are filled down their respective columns after being entered in the indicated cell.
    E2: =IF(MOD(MONTH(D2)-MONTH(C2),12)=0,DATEDIF(C2,D2,"D")*VLOOKUP("unit "&B2,Table 1 :: $A:$N,MONTH(C2)+2,),DATEDIF(C2,EOMONTH(C2,0)+1,"D")*VLOOKUP("unit "&B2,Table 1 :: $A:$N,MONTH(C2)+2,))
    F2: =IF(MOD(MONTH(D2)-MONTH(C2),12)=0,"",DATEDIF(EOMONTH(C2,0)+1,D2,"D")*VLOOKUP("u nit "&B2,Table 1 :: $A:$N,MONTH(D2)+2,))
    G2: =SUM(E2,F2,60)
    Note:In the present form, the formulas will correctly handle checkin/checkout dates in the same month or in two consecutive months (eg. November/December, December/January, etc.) but are not capable of determining the correct date for the rate change where the stay extends across two month ends.
    The formulas could be combined by substituting the first and second (without their = signs) into the third, replacing "E2" and "F2" respectively. Writing them in that form originally makes for more chances to make an error, and makes the whole formula more difficult to read.
    Details on each of the functions used may be found in the iWork Formulas and Functions User Guide, which you may download via the Help menu in Numbers '09.
    Regards,
    Barry

  • Service desk error creating support message "help- create support message"

    Hi
    I'm customizing SM 7.0 SP Stack 15 service desk scenario. I'm in a VAR SAP, so It's a mandatory scenario.
    I've done all basic settings from General Settings, Connection to SAP, Online Documentation, ...,
    Business Partners, iBase, Basic BC-Sets for Configuration, Number Ranges. After them , for Scenario-Specific Settings-> Service Desk->Service Provider I've done all these steps. At SAP System Solution Manager, I've created solutions at dswp transaction and EW Alert are centralized these steps works. Transaction notif_create works and iBase are well mantained.
    The problem is when I try create a support message from satellite SAP system. I logged With a SAP user which is BP, key user and has authorizations in a satellite system and I choose help->create support message, so a pop-up appears and I fill the fields, and I press button (Save/Send). An error appears:
    Error in Local Message System: Access via 'NULL' object reference not possible. Message was Not Created
    In order solve the error I review:
    - The satellite SAP system is at the iBase installed components.
    - I've Assign Number Range for ABA notifications at SLF1 transaction.
    - I've Checked number range for Service Desk Message at SLFN transaction.
    - I've configured ABA Message transaction DNO_CUST01, transaction DNO_CUST04
    - (satellite system) Transaction sm30, table BCOS_CUST:
       Appl.            +       Dest.                                  +                     +
       OSS_MSG   W     SM_SMGCLNT010_BACK    CUST620          1.0
       TST_CUS                                                        0120009939
       RFC SM_SMGCLNT010_BACK works, SM recollects EW Alert from this satellite system
    - (satellite system) I logged with a SAP user with these roles:
      SAP_SUPPDESK_CREATE
      SAP_BC_CUS_CUSTOMIZER  according SAP NOTE 834534
      SAP_BC_CUS_ADMIN       according SAP NOTE 834534
      SAP_SV_FDB_NOTIF_BC_CREATE
      SAP_SV_FDB_NOTIF_BC_ADMIN
      All these roles are mantained.
    - I've review SAP Notes 834534, 864195, 621927(I haven't applied this SAP Note because it's older)
    Please could you help me?
    Thanks and Regards
    Raul

    Hi,
    When I try create a SAP message via help->create suuport message, I get the same error so I run help->create support message in a satellite system so I run help->create support message in Solution Manager
    system. Also, a dump is generated in Solution Manager when I try create support message or from satellite or from solution manager.
    ========================================================================
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Date and Time          10.07.2008 10:17:26
    Short text
        Access via 'NULL' object reference not possible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_BOR_SERVICE_PPF============CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: " ").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "OBJECTS_OBJREF_NOT_ASSIGNED" " "
        "CL_BOR_SERVICE_PPF============CP" or "CL_BOR_SERVICE_PPF============CM004"
        "PROFILE_CONTAINS_PARTNERDEP"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    Information on where terminated
        Termination occurred in the ABAP program "CL_BOR_SERVICE_PPF============CP" -
         in "PROFILE_CONTAINS_PARTNERDEP".
        The main program was "SAPMSSY1 ".
        In the source code you have the termination point in line 41
        of the (Include) program "CL_BOR_SERVICE_PPF============CM004".
    =========================================================================
    Thanks and Regards
    Raul

Maybe you are looking for

  • Variable for Fiscal Year Period in cube "0ECCS_C01" - Urgent

    Hi all, I have created a query based on cube "0ECCS_C01". I have restriced the characterstic " Fiscal Year Period" on  "Period/Fiscal Year (Single Value Entry, Required)" variable. Output of the query are just 2 numbers : sum of "cumulative value GC"

  • File Download from Server location - JSP

    Hi SDN, I have a txt file in a folder created in server location under the path /usr/sap/EPD/JC00/j2ee/cluster/server0. On click of the link correspondin to the file name in JSP, i have to open the file with the pop up to save, open or cancel. I have

  • Significance of Long and short text Objects

    Hi all, I want to know the difference between Long and short texts and scenarios in which long texts are better to use than short texts.

  • Replace clips in PPro? WONT WORK

    So, I had a nicely edited sequence in Premiere. However, I needed to edit all of the clips that were used in the sequence (literally, the files of the clips) in AE. Then I rendered and exported those updated clips from AE into a new folder. Once that

  • Apps not showing correct icon.

    I am having a problem with some apps that I download. When I download them to my iphone, I am getting the wrong icon for the app I downloaded. Does anyone know a fix for this? I have tried erasing all of the apps, I've tried restoring my iphone throu