Need a formula . . .

I am looking for a way to take a master list of names as shown in "Table 1" and automatically sort those marked entries into new tables which correspond to their categorization as shown in the "Red Group," "Blue Group," etc.
Of course, the check-boxes return a TRUE or FALSE according to whether they are checked. I am imagining something which functions similarly to the COUNTIF or SUMIF commands in that it would cycle through the list and grab only the names which correspond to the search criteria, e.g., "B2:B9=TRUE", and populate the new list accordingly.
Probably rudimentary for someone who does this for a living, but it is beyond my present knowledge. Thanks in advance for any help you can give.
BTW, Am using Numbers 3.5.2; OS 10.10.2, if it matters.
Thanks again,
Scott

Hello
As far as I can tell with Numbers v2, value of blank cell retrieved by formula is normally 0. You may concatenate it to "" to produce empty string instead of 0 but this way the result is always text and not number.
E.g.,
Red
A1 
A2  =IF(LEN($C2)>0,""&INDEX(Data::A,$C2,1),"")
A3  =IF(LEN($C3)>0,""&INDEX(Data::A,$C3,1),"")
A4  =IF(LEN($C4)>0,""&INDEX(Data::A,$C4,1),"")
A5  =IF(LEN($C5)>0,""&INDEX(Data::A,$C5,1),"")
B1 
B2  =IF(LEN($C2)>0,""&INDEX(Data::B,$C2,1),"")
B3  =IF(LEN($C3)>0,""&INDEX(Data::B,$C3,1),"")
B4  =IF(LEN($C4)>0,""&INDEX(Data::B,$C4,1),"")
B5  =IF(LEN($C5)>0,""&INDEX(Data::B,$C5,1),"")
C1  index
C2  =IFERROR(MATCH(TRUE,Data::C,0),0)
C3  =IFERROR(MATCH(TRUE,OFFSET(Data::C,C2,0,ROWS(Data::C)-C2,1),0)+C2,"")
C4  =IFERROR(MATCH(TRUE,OFFSET(Data::C,C3,0,ROWS(Data::C)-C3,1),0)+C3,"")
C5  =IFERROR(MATCH(TRUE,OFFSET(Data::C,C4,0,ROWS(Data::C)-C4,1),0)+C4,"")
As for blankness test, ISBLANK() returns false for cell which contains formula. LEN()=0 test would work.
E.g.,
Blankness Test
A1  isblank()
A2  =ISBLANK(Red::A2)
B1  len()=0
B2  =LEN(Red::A2)=0
Regards,
H

Similar Messages

  • I need in Formula Node to assign to the variable value 4000000000!!! What kind of variable it should be???

    i've just tryed to write unsigned in32, but it does not understand 'unsogned'... But i need variable to be unsigned, because the max value = 4000000000... So, how can i solve this probleme???

    Hi,
    I don't see exactly what you're trying to do here.
    Where do you want to assign the variable 4000000000 to? If you want it as an
    input, just use a dbl, with only zeros behind the coma.
    Note that an integer is a number without any decimals. An integer in LabVIEW
    is this, but with an extra limitation that it can only be 32 bits... So a
    dbl can be an integer.
    If the input dbl is not an integer, use round, round to -inf or round to
    +inf to make it one. This can also be done if the output needs to be an
    integer.Inside the formula node floor(x), int(x), intrz(x) or ceil(x) can be
    used to make integers.
    I hope this is what you mean... I can't see any problems doing this.
    Regards,
    Wiebe.
    "DrON" wrote in message
    news:506500000008000000E
    [email protected]..
    > I need in Formula Node to assign to the variable value 4000000000!!!
    > What kind of variable it should be???
    >
    > i've just tryed to write unsigned in32, but it does not understand
    > 'unsogned'... But i need variable to be unsigned, because the max
    > value = 4000000000... So, how can i solve this probleme???

  • Need this formula to look back 2 full years

    In the following code, we are looking to show all records, where, the part# had no sales for the 2 month period selected by the user. But we also do not want to show this part if the current onhand balance is o, and also, we do want to show when was the last sale for this part. THe change i need is that the code here will show the last sales for past year only of calender year. I would like it to show 2 years back, meaning 2 full years from current date. I think i need to have an OR statement here and {SUMPRT.IQYER#} = {?Year} but not really sure. this is a crystal reports formula.
    {PARTINV.IEQOH#} <> 0.00 and ( if {?Month}=1 then (({SUMPRT.IQA01} =0 and {SUMPRT.IQYER#} = {?Year}) and ({SUMPRT.IQA12} =0 and {SUMPRT.IQYER#} = {?Year}-1)) else if {?Month}=2 then ({SUMPRT.IQA01} =0 and {SUMPRT.IQA02} =0 ) and {SUMPRT.IQYER#} = {?Year} else if {?Month}=3 then etc...

    Hi Paul,
    This formula is pretty confusing because I can't decipher which fields relate to what.  I think though you may be overthinking the formula.
    It looks like you are evaluating each month of the year individually.  Instead of using nested IFs, have each month as a separate statement.  Better yet, use a case statement like:
    {PARTINV.IEQOH#} <> 0.00 And
    Select {?Month}
         Case 1:     (({SUMPRT.IQA01} =0 and {SUMPRT.IQYER#} = {?Year})
                        and ({SUMPRT.IQA12} =0 and {SUMPRT.IQYER#} = {?Year}-1))
         Case 2:     ({SUMPRT.IQA01} =0 and {SUMPRT.IQA02} =0 )
                        and {SUMPRT.IQYER#} = {?Year}
         Default:     etc...;
    Separating the months into a Case or independant IF should get you your results.
    Thanks,
    Brian

  • Need a formula for a date in one table to show on a calendar on a "summary" sheet

    Hello,
    I have created a simple table for my daughter to keep track of her monthly bill's due dates which are in one row of the table. I'd like to create a "summary" sheet which consists of a calendar that shows those dates at one look, it would also show which bill that is due.
    I am just beginning to learn about formulas and have created some simple ones, but this is beyond my talents!
    I would TRULY appreciate anyone's help!
    I tried to search for this subject first, so apologies if this has been answered already.

    Here is what I came up with:
    A couple things to remember:
    1. I ended up using a VERY large IF function; you can see the multi-colored line of text at the top of the above screenshot (I hope it comes thru alright)
    2. You will need to change what date is referenced in the first part of the function. In the first line of the calendar you need to reference cell A2 (as in the screenshot), but in others you will need to use the cell that contains the proper date.
    3. This does not work if you have more than one bill due on the same date. I will try and work that out.
    4. iCal would be MUCH easier. Not only can you set these due dates as recurring events, but iCal can keep things color coded, send you reminders, etc.

  • I need a formula to convert a date into an integer (for use in Lookout)

    I have a DATA logger with the following:
    40001 = 4 (2004)
    40002 = 2 (February)
    40003 = 5 (5th)
    40004 = 13 (1:00pm)
    40005 = 12 (12 minutes)
    Lookout requires a date that it understands (eg. January 1, 1900).
    All I need is a basic formula to convert the date and time.
    This formula does not need to be specifically written for Lookout. Just a basic formula that I can do on paper or a calculator.
    I can integrate that formula into the Lookout software myself.

    Hello Smigman,
    First of all, I apologize in advance for not giving you "just the formula." And for the lengthy explanation (had to wait till after work hours), which you are very likely aware of already. I am writing this response in much detail so that it may benefit others.. hopefully And so that we understand the underlying principle involved, which will hopefully help us in building the formula the best way that suits us.
    As you have figured out, the data and time in Lookout is represented as a real number. This real number's integer portion represents days, and the decimal portion denotes time. The integer portion is basically the number of days since 01/01/1900. And the decimal portion is the number of seconds since midnight.
    So, for instance, if you insert the today() Expression in Lookout, you'll get a integer 38022 (which corresponds to today, Feb. 5th, 2004). In other words, today is the 38022nd day since 01/01/1900. Tomorrow, Feb. 6th 2004, will be 38023 and so on.
    The decimal part denotes time. A day has 24*60*60 = 86400 seconds, obviously. So, 1/86400 = 1.15741E-5 roughly represents one second. For instance, 38022.00001157 will give 02/05/2004 00:00:01.
    Coming to the formula now, for Time, first convert it to total seconds from midnight. E.g., 5:15:07pm would be (17*60*60) + (15*60) + 7 = 62107 seconds total since midnight. To get the Lookout's decimal part, divide this by 86400.
    62107/86400 = 0.71883102
    Therefore, 38022.71883102 would now give 02/05/2004 17:15:07. Computing Time is relatively easy.
    For the Date -- which is more complicated-- you could keep track of the total number of days either from 01/01/1900, or better still, a more recent day, like say 12/31/2003, which corresponds to 37986. To this reference you will keep adding 1 for each additional day to get the number for the current day. Note, you will have to accomodate leap years (Feb. 29th of this year, for instance).
    It's very helpful to have the reference day as the last day of the past year. That can be derived by counting the number of days since 01/01/1900 as follows:
    104 years * 365 days = 37960;
    + 1 day for each leap year
    A leap year is a year divisible by 4 (and 400 if the year ends with two zeros). There were 26 leap years from 1900 till 2003.
    So, 37960 + 26 = 37986. 12/31/2003 is thus represented by 37986.
    To get the integer for the Current Date we would first find what day of the year it is. Then add it to the reference day. Feb 5th, is the 36th day of the year. Adding this to 37986, gets us 38022.
    In your case you will have to come up with the correct day of the year using registers 40002 and 40003. Not sure if this helped or confused you more.
    I tried
    Khalid

  • Need a formula to calulate multiple cells and add the sum total to a cell in a other table

    Im a chef and my monthly inventory is a time consuming task. I get invoices from multiple suppliers on each day of the week. I enter them into a spread sheet and then need to add the sum total for all the invoices for say MONDAY. That total needs to be entered into a cell in another table  called "daily spend". Is there a formula to automatically add say all the invoices from monday and input the daily spend cell on that table. Here is an example
    I created a column B-to give each day a number(sometimes multiple invoices come from the same supplier for each day)<GREEN>..If there was a way to do this differently...Im happy to change the layout of the spreadsheet.  I want to add the total $ (column F)  for each day together(all the blue fields) and then insert the total into another cell seen in the next  table .  So in this example its F4+F16+F17=?, ? inserted into N2 of the next table
    Thanks so much

    "I ve finally has a play with the advice you gave me but I have realized that the formula you gave me is for a week....and like I mentioned in my reply to you, one table is weekly the other is monthly....is there a way to overcome this? (my answer to you explains it)"
    Hi Gavin,
    Unfortunately, the scale of your illustrations in that reply made them difficult (or impossible) to read, even on the Retina screen.
    The first formula, used to fill column B, extracts the Weekday number for each date. Since these numbers should be equivalent to the day of the month, You'll need to replace this with a formula that returns the Day value of each date:
    Old:
    B2: =WEEKDAY(A,2)
    New:
    B2: =DAY(A)
    Fill down to end of column.
    Because of the arrangeent of your Data table, you will need to repeat this formula in column H (with references to column G), etc. for each set of dates in the table.
    The SUMIF formula in column F is fine as is, except that it assumes all condition data will be in column B of Data, and all data to be summed will be in column F of Data. Since this is obviously not the case for your Data table, you will need a separate iteration of the formula for each week in the table, with the four SUMIF statements enclosed in a SUM statement:
    E2: =SUM(SUMIF(Data :: $B,A2,Data :: $F),SUMIF(Data :: $H,A2,Data :: $L),SUMIF(Data :: $N,A2,Data :: $R),SUMIF(Data :: $T,A2,Data :: $X))
    Fill down for as many rows as there are days in the month being summarized.
    Column references in the formula assume that six columns are used for each week, and that there is no gap in the table between weeks.
    Note that the formula does not distinguish between transactions on July 7 and those on June 7 or August 7. Because of this, the Data table must be limited to transactions in a single calendar month.
    Regards,
    Barry

  • Need a formula to suppress the page header for multiple pages

    Hello Experts,
    I have a report where I need to suppress the Page Header on 4 pages that have charts.  There are two different charts that take up the full page, but my page header shows up at the top of the page. 
    I found a way to get the page header off of the first page with a formula in the Section Expert; Suppress; but I need to be able to do the same for the other 3 pages.
    My formula that worked for the first page is:  PageNumber = 2
    I tried everything I can think of to add page numbers 15; 21; and 35.
    Can you please tell me if this is possible and what I should do?  Thanks in advance for your help.
    Kathryn.

    Do you know what pages you want to suppress?
    If yes, can you use the suppress formula option in the Section Expert?
    pagenumber in [1,2,3,4]
    Hope this helps.
    Edited by: Sharma Hari on Nov 18, 2009 9:01 PM

  • Need a formula for Annual increase

    Hi everyone,
    I have a requirement, where lets say, something costs $1000, and annually increases 10%. What would be the formula to use here?
    Thanks
    Umair

    Hi,
    960361 wrote:
    Ok what I need, exactly, is this...
    I have a product that costs $1000, and annually increases 10%. I need to show on one side, the year and on one side, the price of the product, as it increases... e.g.Do you want a 10% increase, or an increase of 100?
    1000 2012
    1100 2013
    1200 2014
    .....If the price changes from 1000 to 1100, that's a 10% increase.
    If the price changes from 1100 to 1200, thats (roughly) a 9.09% increase.
    If the price changes from 1200 to 1300, thats (roughly) a 8.33% increase.
    If the price changes from 2000 to 2100, thats a 5% increase.
    If the increase is always 100, it may start at 10%, but the percentage will get smaller every year.
    If the increase is always 10%, it may start at 100, but the amount will get larger every year.
    Choose which one you want. The query below displays both:
    `     YEAR UP_10_PCT     UP_100
          2012   1000.00       1000
          2013   1100.00       1100
          2014   1210.00       1200
          2015   1331.00       1300
          2016   1464.10       1400
          2017   1610.51       1500
          2018   1771.56       1600
          2019   1948.72       1700
          2020   2143.59       1800
          2021   2357.95       1900As Justin said, there's no need for PL/SQL, but you can use it if you want to.

  • I need a formula to show time  right, not in second after midnight.

    Post Author: Peter B
    CA Forum: Formula
    Hi!
    How do i do to show the time in the report? Now it´s show second after midnight.
    I can no find the right formula. Hope someone can help me.
    Peter

    Post Author: Peter B
    CA Forum: Formula
    Hi!
    Tanks for your answer.
    I need help with the formula. In the complite reference on page 874 i have found Time value (n) but i can´t
    get the formula to work. The data from the database are for exampel 82800 and it´s  correspond to 23.00.
    Hope you can understand what i mean.
    Peter

  • Help needed with Formula in D2K Reports 6i

    I'm trying to write a formula in Developer Reports 6i.The PL/SQL code that I have written isn't getting compiled successfully.I am pasting the code below. Could anyone please tell me where the mistake lies???
    function CF_1Formula return Number is
    declare
    desc varchar2(50);
    amount1 number;
    begin
    SELECT MST_SAL_COMP.vc_sal_desc into desc FROM MST_SAL_COMP,DT_SAL_SLIP,PERSDET where
    <some joining conditions>;
    if desc='BASIC' then
         return amount1;
    end if;     
    exception
         when no_data_found then
              return null;
    end;

    You should rename the variable "desc", as this is a reserved word
    Cheers,
    Gareth

  • Need a formula for 12 months data, 6 months data and 3 month

    Hi All Crystal Experts,
    In my report, data is grouped by months and I have monthly view of data. I have three prompts- Year, Startdate and Enddate. If I give 2013 as year, 1/1/2013 as start date and 05/01/2013 as end date then report shows monthly view of data for Jan-13, feb-13, Mar13, Apr-13 and May-13. Now in report, for each month, I want three additional columns, I want to show last 12month, 6 month and 3 months view. Like for Jan-13 month, in column 6 months, I want to show data for last 5 months including current month i.e. Jan-13+Dec-12+Nov-12+Oct-12+Sep-12+Aug-12 and in Column 12months view, I want to show accumulated data of last 11 months(+ current month) and in 3 months view, data for last 2 months(+ current month).
    I had tried creating Sub report for 12 months view and created Running total formula  but it is not showing any value in report. It is blank. I have created running total like this way:
    (1) "Running total formula" (which I am using and placing on group footer):
    (I) Field to summarize- @Cash_total
    (ii) Evaluate (use a formula):
    WhilePrintingRecords;
    NumberVar Cash_total_12 months;
    If Month ({@Month_PostDate}) In [(Month {?StartPostDate} - 11) to Month
    {?StartPostDate}] Then
       Cash_total_12 months :=  Cash_total_12 months + {@Cash_Total};
    (iii) Reset (use a formula):
    WhilePrintingRecords;
    NumberVar Cash_total_12 months=0;
    When I placed this formula in group footer, it is showing nothing.
    Please suggest me formula. Quick help would be much appreciated.
    Thanks,

    Hi Remi,
    Please do not post multiple threads for the same issue.
    Continue discussion on this thread:
    How to calculate last 12 months, 6 months, 3 months data in report
    -Abhilash

  • Help needed in formulating the logic!!

    Hi experts,
    I have a requirement something like this. In CFM module we have some deals created.
    For each deal there will be deal start date and end date.
    Based on the user given input date I need to capture intrest accumlated till that date. Thats ok. But the problem is in between there can be repayments done.
    For example : say deal number is 2004010155
    start date : 4/1/2008
    end date : 3/31/2009
    basic amount : 8,00,000.
    say suppose  on 30.06.2008 a partial repayment of 1,00,000 done.
    Now if user given date is 31.07.2008,then we need to calculate intrest amount with basic amount as 8,00,000 till 30.06.2008 and
    starting from 01.07.2008 to 31.07.2008(user given date) I need to calculate intrest with amount 7,00,000.(After deducting one lakh as partial repayment done during this period).
    For refernce table name is VTBFHAPO.
    How can we achieve this?
    Thanks & Regards
    Himayat.

    Hi,
    Currently this how am trying to do. Partial repayment not taken into consideration yet. Its for calcualting intrest amt based on linear method or exponential method.
    READ TABLE i_vtbfhazu.
              IF sy-subrc = 0.
                i_final-dblfz = i_vtbfhazu-dblfz.
                i_final-delfz = i_vtbfhazu-delfz.
              ENDIF.
              IF p_datum = i_final-delfz.
                i_final-int_per = ( p_datum - i_final-dblfz ) .
              ELSEIF  p_datum < i_final-delfz.
                i_final-int_per = ( p_datum - i_final-dblfz ) + 1.
              ELSEIF p_datum > i_final-delfz.
                i_final-int_per = ( i_final-delfz - i_final-dblfz ) + 1.
              ENDIF.
              READ TABLE ivtbfhapo1 WITH KEY rfha = i_vtbfhazu-rfha
                                          rfhazu = '1'
                                          rfhazb = '1' BINARY SEARCH.
              IF sy-subrc = 0.
                g_bzbetr = ivtbfhapo1-bzbetr.
                i_final-bzbetr = g_bzbetr.
              ENDIF.
              READ TABLE ivtbfhapo WITH KEY rfha = i_vtbfhazu-rfha
    *                              szbmeth = '3'
                                    rkond   = '1000' BINARY SEARCH.
              IF sy-subrc = 0.
                i_final-pkond = ivtbfhapo-pkond.
                CLEAR : g_int_amt, g_wtd_prn.
                READ TABLE ivtbfhapo2 WITH KEY rfha = i_vtbfhazu-rfha
                                               jexpozins = 'X' .
                IF sy-subrc = 0 .
                  CASE ivtbfhapo2-ammrhyzv.
                    WHEN '00'. g_var = 1.
                    WHEN '06'. g_var = 2.
                    WHEN '03'. g_var = 4.
                    WHEN '01'. g_var = 12.
                    WHEN '52'. g_var = 52.
                    WHEN OTHERS. g_var = 1.
                  ENDCASE.
                  g_int_amt =  i_final-bzbetr * ( 1 +  i_final-pkond  /
                     ( g_var * 100 ) )  ** ( i_final-int_per * ( g_var  /
                        ivtbfhapo2-abastage ) ).
                  g_int_amt = g_int_amt - i_final-bzbetr.
                  i_final-int_amt = g_int_amt.
                ELSE.
                  LOOP AT ivtbfhapo2 WHERE rfha = i_vtbfhazu-rfha
                                      AND abastage > '000000'.
                    g_int_amt = i_final-bzbetr * ( i_final-pkond / 100 ) * (
                           i_final-int_per / ivtbfhapo2-abastage ).
                    i_final-int_amt = g_int_amt.
                  ENDLOOP.
                ENDIF.
                g_wtd_prn = i_final-bzbetr * i_final-int_per.
                i_final-wtd_prn = g_wtd_prn.
                APPEND i_final.
    Thanks & Regards
    Himayat

  • In the top, calendar sheet, there are job names in column B. In the sheets below are individual job, tracking sheets. I need a formula to link the sheets by job name so I don't have to go back and edit as I go.

    file://localhost/Users/georgegalli/OFFICE/Time%20sheets/September%202013%20copy. numbers
    I hope I'm asking this the right way......
    Sheet "31 Day diary" is linked to sheet "Caramainco". So, no matter what job we are on, the days are always recorded to the Caramanico sheet.
    Is there a formula that will recognize the job name in column B sheet 1 and link to a sheet below of the same name?

    This is a part of the linked sheet from one job.....( Caramanico ) notice where i had to delete days where we weren't there.
    Date
    George
    Aaron
    Mike
    Wed, Aug 28, 2013
    0.00
    0.00
    0.00
    Thu, Aug 29, 2013
    0.50
    1.00
    0.00
    Fri, Aug 30, 2013
    0.50
    1.00
    0.00
    Sat, Aug 31, 2013
    0.00
    0.00
    0.00
    Sun, Sep 1, 2013
    0.00
    0.00
    0.00
    Mon, Sep 2, 2013
    0.00
    0.50
    0.50
    Tue, Sep 3, 2013
    0.00
    0
    0
    Wed, Sep 4, 2013
    0.00
    0
    0
    Thu, Sep 5, 2013
    0.00
    0.00
    0.00
    Fri, Sep 6, 2013
    0.00
    0.50
    0.00
    Sat, Sep 7, 2013
    0.00
    0.50
    0.00
    Sun, Sep 8, 2013
    0.00
    0.00
    0.00
    Mon, Sep 9, 2013
    0.50
    1.00
    0.00
    Tue, Sep 10, 2013
    0.00
    0.00
    0.00
    Wed, Sep 11, 2013
    0.00
    1.00
    0.00
    Thu, Sep 12, 2013
    1.00
    1.00
    1.00
    Fri, Sep 13, 2013
    1.00
    1.00
    1.00
    Sat, Sep 14, 2013
    0.50
    0.00
    0.00
    Sun, Sep 15, 2013
    0.00
    0.00
    0.00
    Mon, Sep 16, 2013
    0.50
    1.00
    1.00
    Tue, Sep 17, 2013
    0.00
    0.00
    0.00
    Wed, Sep 18, 2013
    0.00
    0.00
    0.00
    Thu, Sep 19, 2013
    0.50
    0.00
    0.00
    Fri, Sep 20, 2013
    0
    0
    0
    Sat, Sep 21, 2013
    0
    0
    0
    Sun, Sep 22, 2013
    0
    0
    0
    Mon, Sep 23, 2013
    0
    0
    0
    Tue, Sep 24, 2013
    1.50
    1.50
    1.50
    Wed, Sep 25, 2013
    0.00
    0.00
    0.00
    Thu, Sep 26, 2013
    1.00
    1.00
    1.00
    Fri, Sep 27, 2013
    1.00
    1.00
    1.00
    Sat, Sep 28, 2013
    1.00
    0.00
    0.00
    Sun, Sep 29, 2013
    0.50
    0.00
    0.00
    Mon, Sep 30, 2013
    1.50
    0.00
    1.50
    Tue, Oct 1, 2013
    1.00
    1.00
    1.00
    Wed, Oct 2, 2013
    0.50
    0.50
    0.00
    Thu, Oct 3, 2013
    1.00
    1.00
    1.00
    Fri, Oct 4, 2013
    Sat, Oct 5, 2013
    0.00
    0.00
    0.00
    Sun, Oct 6, 2013
    0.00
    0.00
    0.00
    Mon, Oct 7, 2013
    0.00
    0.5
    0.00
    Tue, Oct 8, 2013
    0.00
    0.00
    0.00
    Wed, Oct 9, 2013
    0.00
    0.00
    0.00
    Thu, Oct 10, 2013
    0.00
    0.00
    0.00
    Fri, Oct 11, 2013
    0.00
    0.00
    0.00
    Sat, Oct 12, 2013
    0.00
    0.00
    0.00
    Sun, Oct 13, 2013
    0.00

  • Need Webi formula to get list of people who are turning 65 next month

    Hi,
    I am trying to get the list of people who are turning 65 in the next month (not everyone who is 65) in Webi 4.1.  I have the formula to bring everyone who is 65 next month. If any one has any ideas, I really apprecite it.
    Thank you,
    Charvi.

    Hi
    You have variable to calculate people aged 65.
    1.Create same to calculate people aged 64
    2.Create Current month from Current date
       Month(Currentdate())
    then Convert to CurrentmonthNumber
    Then Next Month =Currentmonthnumber+1
    Then Write a variable to capture the month numbers from the date of birth.
    Now as a report filter Write Nextmonthnumber=Date of birth number.
    How it will work:
    If i am running In Feb then people having Date of birth month as 3 will be turning 65 right?
    So currentmonthNumber =2
    NextmonthNumber =Current month +1=3
    Date of birth Month number= Next month

  • Need SAP Crystal Report formula for Blance Quantity

    Hi,
         i really need a formula for SAP Crytal report my requirement is
        i have group 2 Groups  one on sale order and another one on Invoice
       Example:
            ================================================================
              Order No:100001 
             Order Quantity:1000
          =================================================================
          Detail Area invoice group
          INV#        INVQty   CreditNoQty        Balance
         10002       100               0                       900
         10003        500             100                    500   
           i need formula for balance quantity . the balance quantity subtract from order quantity and plus with credit note quantity.

    Try this:
    1) Modify the code above to:
    Whileprintingrecords;
    Numbervar x := x +1;
    If x = 1 then
    Numbervar t := ({Order qty} - Invqty) + {Credit};
    Else
    t := ({Order qty} - t) + {credit}
    2) Create a reset formula and place this on the group header 1:
    Whileprintingrecords;
    Numbervar x := 0;
    Numbervar t := 0;
    -Abhilash

Maybe you are looking for

  • How do i use different Apple ID on my iPhone?

    Is there a way to use a different ID from the App Store for iMessage on mu iPhone?

  • Report in which i have to run bdc and do changes

    Hi ABAP Gurus,                       my requirement is i have to develop report in which i need to have 2 radiobuttons if i select first radiobutton my program should run Report and if i select second radiobutton it should run va02 and make some chan

  • Data fails results page display with msdb

    I am using Dreamweaver 8 with ASP VB Script. IIS and localhost. I have a search page, a database and a results page. I have set up a search page with this code: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra

  • How do I include information in an iCal event

    I am brand new to iCal (and Mac) and am wondering how I attach information to an event. I want to put company con call numbers, an agenda etc. Can I attach a "note" or am I forced to attach a separate document?

  • How to call JSp from Servlet??

    Hello, I want to call JSP page from servlet.I am using Visual Age For java 3.4. What is wrong in my code?? if (userExists) { f.setErrors("userName","Duplicate User: Try a different username"); getServletConfig().getServletContext(). getRequestDispatc