Help with Formula

Hey, I'm trying to figure out a forumla that I don't know if it's even possible to do. In column C I am posting the current days date (ex. May 20, 2009). In column D I am wanting to post another date X amount of days from column C. So for example my posting date is May 20, 2009, I want to set column D to display the date that would be 10 days from May 20th so that all I would see in column D is May 30, 2009.
Can anyone help me out?

I figured it out myself... I set column C and D to both be Date formatted the forumla is =C2+10 and it returned the date 10 days from the original
I guess pretty simple

Similar Messages

  • Help with formula script

    Hi guys,
    I need some scripting help with a formula I am trying to create. Basically, the RWDerived property should replace the Spaces in the descrption of a node with an underscore "_". The description property is the system description property. Thanks.
    -- Adi

    From the user guide:
    "The ReplaceStr function, which requires parameters for the old and new pattern, can take
    comma, space, tab, crlf, cr, lf, openparen, or closeparen, in square brackets ([]), in
    addition to normal text strings."
    It's much better to use "[space]" in your formula so that it won't break if someone edits it and changes the way whitespace is handled down the road. That checkbox is such an annoyance!

  • Need Help with Formula

    I am fairly new to Crystal Reports and could use some assistance.  I have built two subreports with formulas to pull information into the main report.  Now I would like to create a total per line based on the two values pulled from subreports, plus another column in the main report (the information is already pulled in).  How can this be done?
    Edited by: JmeAbiday on Jun 4, 2009 3:51 PM

    Sastry,
    The formula is placed in the subreport.
    About the formula being placed in the main report.  I am a little confused. 
    You said place it after the sub report section.  The sub report section on the report includes two columns in the main report (each column coming from a different subreport).  I am trying to make a column to the right of these columns with a line total of the three columns to the left.  So on the design of the main page, I have a formula from the main page in one column, and then the other two columns come from the subreports.
    I guess I don't understand what you mean by placing it after the sub report section, when I am trying to create a line total of the items in the columns.  Can you please elaborate?
    I apologize, I am still new to this!  What I am trying to do:
    Column A (Main Report)  /  Column B (From Subreport1) / Column C (From Subreport 2) /  Total: ABC
    Assume each column has hundreds of rows.
    Thanks again for your assistance!
    JmeAbiday

  • Crystal Reports 2008 - help with formula to retrieve lastfullmonth

    Hi, I'm new to this forum.  First post.  I have a SQL query where
    :month(CAST(a.LAST_MOD_DT / 86400 AS datetime) + CAST('01/ 01/1970' AS datetime)) = (MONTH(getdate())- 1)
    I need to create a CR formula that will pull in data from last month as this report will be run on a monthly basis.  If I use 'getdate() -31' there will be a problem with the months that don't have 31 days.
    I'm also very new with creating formulas so including an explaination would be helpful.  Thanks,
    Joyce

    Sorry for the slow repsonse in getting back to you.
    I wasn't able to get the SQL query to work.  I did find one that does work except I need to find out how to pull in the minimum date and the maximum date of the records into the report.
    Here's the SQL query:
    --to query for the prior month,  if January then month = 12 else month = (current month - 1 month).
    and
    month(CAST(a.LAST_MOD_DT / 86400 AS datetime) + CAST('01/ 01/1970' AS datetime)) =
    CASE WHEN cast(DATEPART(Month,GETDATE()) as datetime) = 01
                          THEN month(cast((str(12)+'/'+ str(01) +'/'+STR(YEAR(Getdate())-1)) as datetime))
                          ELSE MONTH(cast((str(DATEPART(Month,GETDATE())-1)+'/'+ str(01) +'/'+STR(YEAR(Getdate()))) as datetime)) END
    --to query for the proper year, if January then year = (current year - 1 year) else year = current year.
    and
    year(CAST(a.LAST_MOD_DT / 86400 AS datetime) + CAST('01/ 01/1970' AS datetime)) =
    CASE WHEN cast(DATEPART(Month,GETDATE()) as datetime) = 01
                          THEN year(cast((str(12)+'/'+ str(01) +'/'+STR(YEAR(Getdate())-1)) as datetime))
                          ELSE year(cast((str(DATEPART(Month,GETDATE())-1)+'/'+ str(01) +'/'+STR(YEAR(Getdate()))) as datetime)) END

  • Need help with formula in Numbers for iPad 2

    I have a spreadsheet with a formula such as b2 x c2  very simple.  However, if the formula cells (b2 and 2) are blank then the destination cell contains a zero. How can I make my destination cell b blank while the formula cells are blank? I got thsvresponse from a person working with Mac os x, if this helps...
    I can't seem to make this work in my formula bar on ipad2!
    =if(isblank(<source cell>), "", <What ever your formula is>)
    Thanks for any suggestions!
    iPad 2

    Your friend was close, but forgot one thing. If you want it to be blank if either cell is MT, then you need an OR as well o test if either one or the other is blank...
    =IF(OR(ISBLANK(a1),ISBLANK(b1)),"",a1xb1)
    The isblank can also be represetned by ="" in many cases, usually accompanied with a trim to make sure there are no spaces were entered...
    =IF(OR(TRIM(a1)="",TRIM(b1)="")),"",a1xb1)
    Jason

  • Need help with formula that puts values in Field1 based on value of field2

    I have two custom fields in the Contact record - Date met and Time Known. Date met is a standard date field that is entered by the user. I then wanted Time Known to automatically populate with specific values based on a formula I wrote. However, the formula/function is not working properly.
    I'm also not sure if this should be a pre or post field formula, field validation, or workflow. Please help! Here's the formula I have so far. It worked for a new record created, but now doesn't work at all for some reason (probably from my testing).
    IIf(Today()-[<dResearch_Date_ITAG>]<365,"Less than One Year",IIf(Today()-[<dResearch_Date_ITAG>]<1095,"One to Three Years", IIf(Today()-[<dResearch_Date_ITAG>]<1825,"Three to Five Years",IIf(Today()-[<dResearch_Date_ITAG>]<3650,"Five to Ten Years","Ten Plus Years"))))
    This says the following:
    If Date Met is less than 365 from today, then enter "Less than One Year" into the Time Known field;
    if date met is less than 1095 (but greater than 365) days from today, then enter "One to Three Years"
    if date met is less than 1825 (but greater than 1095) days from today, then enter "Three to Five Years"
    if date met is less than 3650 (but greater than 1825) days from today, then enter "Five to Ten Years"
    otherwise, enter "Ten Plus Years" for all values greater than 3650.
    What am I doing wrong? I'm new to expressions and formulas in Oracle.

    Hi, You have to do @ 2 places. For setting the field value @ the time of creating a new record using the field default feature. Check post default as the calculated value is dependent on some other field that you are going to set @ the time of creation. For updating the field whenever the record is modified, use workflows
    -- Venky CRMIT

  • New to OBIEE need help with Formula

    Is it possible to use a prompt in a column formula filter for e.g. FILTER("Defect Facts"."Detected on Date" USING "Defect Facts"."Detected on Date" = '@{11/20/2009 12:00:00 AM}')) this formula does not works for the column. What i need to do is create a filter that will only pull back the date > 11/12/2009 using the formula. Am I doing something wrong? Is there a way to create a filter in the formula and not create a filter for my report? If i create a filter for my report and do a drill down it ignores the date and pull back all defects.
    Thanks for your help
    Edited by: CedricG on Dec 28, 2009 11:37 AM

    Ok my problem may not be the filters. I created a detail drill down for my defects and created a second report with the number of defects. In the second report, I created a table that displays the total number of defects by Product and severity.
    Ex:
    Defect
    Total Defect
    Product S1 - Critical S2 - High S3 - Medium S4 - Low
    RPAS 6 1 2 3
    RMS 7 2 1 3 1
    Grand Total 13 2 2 5 4
    I used Bins to group my products and name them one name.
    Ex:
    1) Product is equal to / is in "RPAS for Merch Financial Planning - 1814", "Extract Tranform and Load - 1803" and named that Bin RPAS
    2) Product is equal to / is in "Merchandising System - 1816", "RMS" and named that Bin RMS
    If i wanted to see what are the 2 defects for RPAS that's a S3-Medium, I would select the 2 but it displays 414 of the defects in my database and not the two taht i'm expecting. I think my problem is I'm passing the "RPAS" to my defect drill product prompt and not the actual value Merch Financial Planning - 1814. Do you knw how to get around this? It works if i dont group them in the Bin.

  • New to Numbers, help with formula please.

    I am trying to find the formula which best does the following for me.
    I have a spread sheet with four colums.
    Colum A.  Shows Text, heading of locations, eg  Home, Away, Hotel etc.  Then beside these columns i have the days i arrive and depart the locations.  The forth column shows the total of nights spent in each type of accommodation
    Eg
    Ongoing Table
    Home          Date          Date          5
    Away           Date          Date          5
    Home          Date          Date          5
    Hotel          Date          Date          5
    Home          Date          Date          5
    Hotel          Date           Date           5
    Away          Date          Date          5
    As this in an ongoing list, I am looking to have a section that will automatically and continually add up the total nights I spend in different types of accommodation.  So, in summary I can look at it the following way
    Summary Table
    Home          15
    Away          10
    Hotel          10
    So that when I enter in a separate line in my ongoing table, it automatically keeps the running tally in my Summary Table.
    Thanks in advance for your help.

    Dolmio,
    Let's say that your log table is named Ongoing. The expression in your summary table, column B, would be:
    =SUMIF(Ongoing :: A, A, Ongoing :: D)
    Jerry

  • Help with formula that is dependent on checkboxes

    Hello -
    I can't figure out this one for the life of me... In column A there is a list of tasks, column B has check boxes for each task. Column C has the starting day number of each activity, and column D has the duration of each activity.
    I'd like to check each box for the activities that I'd like to do, enter the duration of the checked tasks, and have the table figure which task starts on which day. ie: - if tasks A, D, & E are checked, then it shows that task A starts on day 1, runs for 2 days, task D starts on day 3 & lasts for 5 days, & task E starts on day 8, and lasts for 4 days.
    Should this be an IF formula? I'm not sure how to make everything dependent of the check box status. Here's a link to the table, if that helps
    http://www.sendspace.com/file/rckrn2
    Thanks
    Jeremy

    Hi Jeremy.
    For starters, I'm less than favourably impressed with your choice to place the file on a site whose first choice, when clicked starts to download a Windows executable file.
    A better choice, and a more 'standard' one here would be to place a screen shot of the result you hope to achieve in your post.
    I've done a little reorganization of your table, adding one column to those described above to avoid having a calculated column between two entry columns.
    Tasks are listed in column A, checkboxes in column B. The estimated duration of each task is listed in column C.
    Columns D and E are calculation columns.
    The value from C is transferred to E if the checkbox is checked in that row.
    Column D determines the starting day  for each checked task, with the assumptions that the tasks will be done in the order they are listed, that each must be finished before starting the next, and that the new task starts on the day the previous one is finished.
    Formulas:
    D2 and filled down to D10: =IF(B,1+SUM($E$1:E1),"")
    E2 and filled down to E10: =IF(B,C,"")
    Row 11 is a Footer row. The formula in E11 is =SUM(E)
    You might find the arrangement below a more logical order for the columns. Note that a different selection of tasks has been made, and the calculations automatically adjusted:
    Revised formulas for this order:
    D2: =IF(C,1+SUM($E$1:E1),"")
    E2: =IF(C,B,"")
    Regards,
    Barry
    PS: Details, and further examples, for each of the functions used are available in the iWork Formulas and Functions User Guide. The guid may be downloaded via the help menu in numbers.
    B

  • Help with Formula/Placeholder columns for group totals

    I have select that is broken into 2 groups (a COMPANY group and a DETAIL group within company). I need to determine the COMPANY group totals based on values in a column in the DETAIL group. I.E. the column is a transaction description and can have up to 15 different values and it did not appear that a summary column would work for what I need. I have currently set up 15 formula columns in the DETAIL group and check the value of the REASON to accumulate totals and return the total to a PLACEHOLDER column (which is numeric and defined in the COMPANY group).
    I then report the Placeholder columns at break of COMPANY. This all works fine if I run only one company. If I run with multiple companies the Placeholder columns are used as a running total.
    My question is how do I reset the PLACEHOLDER columns at company break if at all, or is there a simpler way to accomplish what I need.
    Any and all assistance would be greatly appreciated.
    Tom Vereecke

    If you are using one placeholder column in different formula columns just ignore the following solution. It will not work in that case. I will post it here if i find out any way to initialize placeholder columns at different groups or anyother way to solve this issue.
    I think if you remove placeholder columns and create summary columns at Company Level, that will work. And formula columns will be changed as follows:
    Formula Column:
    active_total number(10) := 0;
    begin
    if :status_1 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    if :status_2 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    if :status_3 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    return active_total;
    end;
    And in summary columns source will be formula columns. And reset the summary columns at Company.
    Hope this helps.
    Message was edited by:
    fs

  • Need Help with Formula using SQL maybe

    I need help!  I work with Crystal reports XI and usually manage just fine with the Formula editor but his one I think will require some SQL and I am not good at that.
    We are running SQL 2000 I think (Enterprise Manager 8.0)  Our sales people schedule activities and enter notes for customer accounts.  Each is stored in a separate table.  I need to find activities that are scheduled 240 days into the future and show the most recent note that goes with the account for which that activity is scheduled.
    The two tables, Activities and History, share the an accountID field in common that links them to the correct customer account.   I want to look at dates in the Startdate.Activities field more than 240 days in the future and show the most recent note from the History table where the accountid's match. I figure my query will contain a join on AccountID.Activities and AccountID.History used with Max(completedate.History) but I do not understand how to word it.
    I would like to perform all this in crystal if possible.  I humbly request your help.
    Membery

    You SQL would look something like this...
    SELECT
    a.AccountID,
    a.BlahBlahBlah, -- Any other fields you want from the Activities table
    h.LastComment
    FROM Activities AS a
    LEFT OUTER JOIN History AS h ON a.AccountID = h.AccountID
    WHERE (a.ActivityDate BETWEEN GetDate() AND DateAdd(dd, 240, GetDate()))
    AND h.HistoryID IN (
         SELECT MAX(HistoryID)
         FROM History
         GROUP BY AccountID)
    This method assumes that the History table has a HistoryID that increments up automatically each time a new comment is added... So a comment made today would always have a higher HistoryID that one made yesterday.
    If I'm wrong and there is no HistoryID or the HistoryID doesn't increment in a chronological fashion, it can still be done but the code is a bit more complex.
    HTH,
    Jason

  • Help with formula for school based pupil tracking

    Hi,
    I am trying to figure out a formula that will help me calculate what we call a CSI (Core Subject Indicator)
    Basically - in the Wales we have 4 core subjects - English, Welsh, Science and Maths. If a child achieves a level 4 or above in Maths, Science and either Welsh or English, then he has achieved his/her CSI. It is the either Welsh or English that poses the problem for me!
    So we could a situation like in the table below.
    Name
    Maths
    Science
    English
    Welsh
    CSI
    Donald Duck
    4
    4
    4
    1
    Yes
    Mickey Mouse
    3
    4
    4
    4
    No
    Goofy
    5
    4
    3
    3
    No
    Pluto
    5
    5
    1
    4
    Yes
    % CSI =
    50
    I am hoping that somebody can help me figure a way to calculate the CSI for me - rather than having me check all 300 children!! Here's hoping! Thanks

    Hi Gwyn,
    Here is an approach with a single IF() and an interesting AND() OR().
    The formula in F2
    =IF(AND(B2≥4,C2≥4,OR(D2≥4,E2≥4)),"yes","no")
    This says if B2 and C2 are equal or greater than 4 and either D2 or E2 are greater than 4 then "yes"
    quinn

  • Help with formula variable that will give me period #

    column A = $  for fiscal year period  variable  (using 0RMA_FIP,  SAP delivered variable for period)
    Column B = $ for fiscal year period  variable minus 1  (previous period)
    In Column C,  if fiscal year period entered in 0RMA_FIP was 001/YYYY  (january)  I want column C to be zero,  if not,  it will be a variance between column A & Column B.
    I think know how to do boolean logic:  (FV_Period == 1) *0 + (Column B % Column A)
    What i am having trouble with is creating FV_Period  as a replacement path formula varialbe so that it will contain the value of the period,   1 for January,  or 2 thru 12 for other months..

    While creating the Formula variable with replacement type, you need to mention the offset start and offset length.
    I believe if your Fiscal Period is displayed as 2010009 then
    offset start = 5 and offset length = 3 should give you the value 009 which is required.

  • I need help with formulas please. See bottom of 1st table for question. Thanks.

    Regular monthly flows
    Regular Monthly Inflows/Outflows
    Date
    Check #
    Payee/Description
    Category
    Amount
    Day of month due
    02/01/2013
    Deposit
    Dream Job
    Salary
    $          16,000.00
    1
    02/01/2013
    Payment
    State Withholding
    Tax:State
    $          (0.05)
    1
    02/01/2013
    Payment
    Federal Withholding
    Tax:Fed Income
    $          (0.10)
    1
    02/01/2013
    EFT
    Credit Card I
    M/C
    1
    02/01/2013
    EFT
    WaterMain Utilities
    Utilities:Water
    $          (84.71)
    1
    02/03/2013
    EFT
    Dan's Yard & Snow Removal
    Misc
    $          (150.00)
    3
    02/03/2013
    EFT
    Credit Card II
    VISA
    3
    02/05/2013
    EFT
    Hopes & Dreams Bank
    Car Payment
    $          (399.87)
    5
    02/07/2013
    EFT
    Metro Utilities
    Utilities:Electric
    $          (117.00)
    7
    02/08/2013
    EFT
    Out Yo Mind Mortgage
    Mortgage Interest
    $          (165.44)
    8
    02/08/2013
    EFT
    Out Yo Mind Mortgage
    Mortgage Principle
    $          (141.41)
    8
    02/08/2013
    EFT
    Out Yo Mind Mortgage
    Escrow
    $          (250.04)
    8
    02/15/2013
    EFT
    Sprint
    Utilities:Telephone
    $          (80.00)
    15
    02/18/2013
    EFT
    Credit Card III
    American Express
    18
    02/18/2013
    EFT
    Watch Me Cable
    Utilities:Cable
    $          (120.92)
    18
    Formula in column A=DATE(YEAR(NOW()),MONTH(NOW())+1,F19)
    Need formula for yellow filled cells to match the month in column A with the month in
    column A of "CC Payoff Schedule" sheet (ignoring the day of the month) to get the correct payment amount.
    CC Payoff Schedule
    M/C
    VISA
    American Express
    $1,000.00
    Payment
    % of the 3 interests
    Old Balance
    Interest 6th
    New Balance
    Payment
    % of the 3 interests
    Old Balance
    Interest 8th
    New Balance
    Payment
    % of the 3 interests
    Old Balance
    Interest 22nd
    New Balance
    Int/Monthly
    Jan-13
    $500.00
    49.92%
    $4,600.00
    $86.87
    $4,186.87
    $300.00
    27.04%
    $6,380.00
    $47.06
    $6,127.06
    $200.00
    23.04%
    $3,200.00
    $40.09
    $3,040.09
    $174.02
    Feb-13
    $499.19
    48.70%
    $4,186.87
    $79.07
    $3,766.74
    $270.43
    27.84%
    $6,127.06
    $45.19
    $5,901.82
    $230.38
    23.46%
    $3,040.09
    $38.09
    $2,847.80
    $162.35
    Mar-13
    $487.02
    47.31%
    $3,766.74
    $71.13
    $3,350.85
    $278.38
    28.96%
    $5,901.82
    $43.53
    $5,666.98
    $234.60
    23.73%
    $2,847.80
    $35.68
    $2,648.87
    $150.34
    Apr-13
    $473.14
    45.77%
    $3,350.85
    $63.28
    $2,940.99
    $289.55
    30.23%
    $5,666.98
    $41.80
    $5,419.23
    $237.31
    24.00%
    $2,648.87
    $33.19
    $2,444.75
    $138.26
    May-13
    $457.67
    44.03%
    $2,940.99
    $55.54
    $2,538.86
    $302.32
    31.69%
    $5,419.23
    $39.97
    $5,156.88
    $240.01
    24.28%
    $2,444.75
    $30.63
    $2,235.37
    $126.14
    Jun-13
    $440.30
    42.06%
    $2,538.86
    $47.94
    $2,146.51
    $316.89
    33.37%
    $5,156.88
    $38.04
    $4,878.03
    $242.81
    24.57%
    $2,235.37
    $28.00
    $2,020.56
    $113.99
    Jul-13

    LI,
    Regarding the date matching... As I understand it, you want to truncate the date to Month and Year, not considering the Day part of the date. You can do that with this type of expression:
    =MONTH(date) & "-" &YEAR(date)
    The result for January 10, 2013 would be: 1-2013. If you must have the exact format of Jan-13, you could write this somewhat more complicated expression:
    =LEFT(MONTHNAME(MONTH(date)), 3)&"-"&RIGHT(YEAR(date), 2)
    Regards,
    Jerry

  • New to Crystal reports and need help with formula

    Post Author: dausa
    CA Forum: Formula
    I will try to keep this short and sweet.
    Data comes from excel sheet and I am doing a outter left join.
    The need: IF the status is S or N, then i want it to sum the qty required for each part number.
    my formula looks like this;  If ({WIP_ORDER.STATUS}) = 'C OR N' Then SUM ({WIP_ORDER.QUANTITY_REQUIRED}, {ORIGINAL_.PART NUMBER})
    thanks for any help
    dausa

    Post Author: Manuel de Kleine
    CA Forum: Formula
    Dausa,You could use a formula like below:IF  ({WIP_ORDER.STATUS}) IN &#91;'C','N'&#93;THEN 1ELSE 0Now, you can do a SUM on this formula.

  • Need help with formula in FR 9.3.1

    I am trying to recreate this excel formula for a % change in a balance sheet report. Column A in my report is equal to C37 in the formula and Column C in my report is equal to E37 in the formula. I want it to work for the whole column. Any help would be greatly appreciated,
    Thanks, Donna
    =IF(E37=0,0,IF(ABS((C37/E37)-1)>5,"",(C37/E37-1)))

    Also I should say the VariancePercent function gets me the correct number if I use
    VariancePercent([a],[c])
    but not the right sign.

Maybe you are looking for

  • If I buy a Sim free iPhone in the UK will I be abel to use it on PAYG in Australia?

    If I buy a Sim free iPhone in the UK will I be abel to use it on PAYG in Australia? Or will in need jailbreaking? And what does this even mean?! Also, I'll still have a UK SIM (vodafone) that I'll want to check from time to time - will this work? tha

  • Multiple Monitor Video

    We have a media lab with 15 mac G5 towers all linked together by a server. Is it possible to play one video that can span all of the screens. Basically creating a video that will play on one monitor then move to another. Is there a program or another

  • Microsoft Outlook marking received email as spam

    Hi Guys, I am facing problem when i am sending email to my outlook Email account. Sender email id is like [email protected] for the http://mycampaignsemail.co.in i have configured A record and SPF record. But Problem is when outlook marks my email as

  • Field symbol - advisable

    Hi There was a requirement wherein I need to change the special stock indicator value in the components tab of IW31/IW32 based on the material entered. All the user exits / BADI's had the special stock indicator as the importing parameter and none ha

  • Exporting Versions to image with meta data

    Hey folks, I'm looking to find an Aperture Plugin that will export processed images (versions) with all its associated meta data in XML format. I intend to use this exported data in a custom application - I've seen export plugins to Picasa, and other