Start and end balance per month

Hello,
I am new in building formulas.
I have the following values in in my table, I would like to find out the start and end balance for month Jan and Feb.
Table: Transactions
Date
Balance
02/Jan/2014
100
05/Jan/2014
150
25/Jan/2014
120
09/Feb/2014
180
14/Feb/2014
200
16/Feb/2014
100
22/Feb/2014
190
Table: Results
Jan
Feb
Start balance
100
180
End balance
120
190
Can you please help with the simplest formula to get the above result?
I don't know when the first and last transaction will occur in a certain month. Also I don't know the total number of transactions per month.

I would like to find out the start and end balance for month Jan and Feb.
Assuming you are looking for the starting and ending balance for each month, and not the maximum and minimum balance, then you could do something like this:
Add an Index column to your Transactions table that extracts the month name with this formula in C2, copied down:
   =MONTHNAME(MONTH(A2))
(I first had to change the format of the dates in column A so Numbers would recognize them as dates on my machine.
In the results table I made sure I entered January and February as text, by typing an apostrophe (single quote) and typing the month name.  Otherwise Numbers smart date recognition will try to turn the month name into a date. (Note I used the full month name rather than an abbreviation.)
The formula in B2 of the Results table, copied to C2, is:
    =INDEX(Transactons::$B,MATCH(B$1,Transactons::$C,0))
The formula in B3 of the Results table, copied to C3, is :
     =INDEX(Transactons::$B,MATCH(B$1,Transactons::$C,1))
The INDEX MATCH combination is a flexible alternative to the LOOKUP, VLOOKUP family of functions. Here changing the last parameter in MATCH does the trick for finding the start and end balance.
SG

Similar Messages

  • Showing start and end time in month view?   And email like notifications ?

    1- How to you set event so that they show the start and end time in month view?
    2 - I have a little "1" on my iCal icon in the dock what does that mean? There is also a little one in the line of one of my calendars? I know I should know this but I am at a loss/

    FDWifeCFD,
    1- How to you set event so that they show the start and end time in month view?
    AFAIK, this is not a feature of iCal.
    2 - I have a little "1" on my iCal icon in the dock what does that mean?
    That means an iCal invitation has been sent. Click the small envelope icon on the bottom right of the the screen to view the notification.
    There is also a little one in the line of one of my calendars?
    That represents the current time of day in the Day/Week view.
    ;~)

  • SSRS Bar Chart grouping date series into Months, setting scaler start and end ranges

    I've been trying to solve this issue for a few days now without writing a sql script to create a "blank" for all of missing data points so that I get a bar for each month.  I have date series (by day) data points grouped by two items
    that creates a set of bar charts.  EG:  one chart per product in the tablix detail grouped to site level.
    My issue is I would like the start and end of the charts to be the same for all charts and the only way I get it to work is with a chart that continues to show each date on the chart. 
    EG:
    I have the graph start and end points set and scaling by month as I would like but each bar is a day instead of aggregating to a month level.   My issue I hope to find a workaround for is if I go to Category Groups and define the grouping
    to group with a year and month function the series is no longer treated as date data and I cannot control scaling.  It works fine if all months have activity, but I can't figure out how to always have all charts start at "May 2012" in this example. 
    The only start and end point that I've been able to get to work once doing this are integer based, eg normal start would be 1 for each graph, but 1 doesn't equate to the same month from chart to chart.
    I hope SSRS can provide the solution.  I do know I can write a query that creates a ZERO value for each month/product/site but I don't want to leave the client with a query like that to support.
    -cybertosis

    Hi cybertosis,
    If I understand correctly, you want to display all month category label in the X-Axis. You have configure the Scalar Axis, however, it cannot display the requirement format.
    In your case, if we want the specific data format, we can configure Number property to set the corresponding Category data format. Please refer to the following steps:
    Right click the X-Axis, select Horizontal Axis Properties.
    Click Number in the left pane. Click Date option in the Category dialog box.
    Then, select Jan 2000 option.
    Please refer to the following screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Month View:start and END times

    Here is feature that i really need In the Month view: The option to have start and end times displayed. Now that their is no info drawer i have open and info drawer to see when the event is supposed to end. I have a lot of events in a day and some are for me and some are for my company and some are for my wife.
    I need to see the start and end time quickly. Outlook does it.
    Please make iCal do this incredibly useful view option.

    Start times are still viewable.
    It is a click box in the preferences that says show time in month view.
    What i need is the END time as well.
    I learned that the best place for this kind of discussion is on the feedback line for ical
    http://www.apple.com/feedback/ical.html
    Just tell them the features you need or miss. Please click the link and tell them what you think of iCal.

  • FM to get start and end date when given month

    Hi all,
       can anybody help me if there a FM to get start and end date when given month like 01 for jan.
    Thanks in advance
    Sahitya

    Hi,
    Check this Function Module
    HR_JP_MONTH_BEGIN_END_DATE
    here if you r giving the month u wil get the start date and the end date.
    Hope this helps you.
    Thanks & regards,
    Y.R.Prem Kumar

  • Reduce Working Days by Emp Start and End Dates

    I'm banging my head trying to get this working. The set-up:
    DimResources table with various employee information including a Start and End Date.
    A Calendar table with FullDate, Year, Quarter....WorkingDays (1 for working and 0 for non-working) and WorkingDayNumber (working days increased by 1, weekends are not).
    Page View report with page view filters for Business, Role, Month, Week, Year.
    In the calculation the denominator is total working days for the period * 8. Works great. Further reduced by any submitted time off. Again, so far so good. The part I'm having trouble with is trying to further reduce total working days by
    the number of days the person wasn't available in a month, defined by the person's start or end date.
    The calculated field works great when only 1 person is selected. As soon as more than 1 person is selected or the slicer is cleared, an error is thrown.
    Any ideas on what is wrong or better ways to accomplish what's needed?
    TotalWorkingDays2CF=CALCULATE
     SUM(Calendar[WorkingDays]),
                    FILTER(Calendar,Calendar[WorkingDays]=1),
                    Calendar, DATESBETWEEN(Calendar[FullDate],SUM(DimResources[Start Date]),SUM(DimResources[End Date]))
    Error:
    <detail>
      <ErrorCode>rsErrorExecutingCommand</ErrorCode>
      <Message>Query couldn't run for dataset 'Tablix41DataSet'.</Message>
      <ProductName>Power View</ProductName>
      <ProductVersion>11.0.2150.3</ProductVersion>
      <MoreInfo>MdxScript(Model) (10, 27) Calculation error in measure 'Calendar'[TotalWorkingDays2CF]: An invalid numeric representation of a date value was encountered.</MoreInfo>
    </detail>
    Dennis DeRobertis

    ok, but this is not a running total but just a sub-total/grand-total
    so what you can do is the following:
    create two measures - first calculate the workdays per ressourcen and second use SUMX() to get the sub-/grand-total if multiple employees are selected (e.g. subgroups, groups,division, etc)
    WorkdaysRessource:=CALCULATE(
    COUNTROWS('Date'),
    FILTER('Date',
    'Date'[Date] >= CALCULATE(MIN('DimResources'[Start Date]))
    && 'Date'[Date] <= CALCULATE(MIN('DimResources'[End Date])))
    Workdays:=CALCULATE:=SUMX(
    'DimResources',
    [WorkdaysRessource]
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • 0Person to 0employee loading, how to handle start and end date

    Hi
    I need help on some basic understanding of time dependent master data object.
    In my scenario i am loading 0employee and 0Person from R/3. I need to update 0employee from 0person.
    0employee
    BEGDA            ENDDA             PERNR        Position....................So many fields
    10.10.2001     10.10.2004        8000123    Associate
    11.10.2004     10.10.2008        8000123    Consultant
    11.10.2008     31.12.9999        8000123    Senior Consultant
    0Person
    BEGDA            ENDDA             PERNR         City....................So many fields
    10.10.2001     10.10.2003        8000123      Singapore
    11.10.2003     10.10.2007        8000123      Tokyo
    11.10.2007     31.12.9999        8000123      Newyork
    As the begining and end date are different i can't simply read City from 0person into 0employee. If i go for checking the city for the start and end date in 0employee, i will get multiple records ( If try to get city for 0employee's first record, i will get 2 city Singapore and Tokyo).
    Please help me out how to handle this ...... i think i am missing somelink somewhere
    Thanks
    Tripple k

    Hi Srini
    Yes i need to have parallel flow for both and in the cube where my reporting will be on monthly basis i need to read these 2 master data and get the required attributes ( considering last/first day of that month as per the requirement).......but i am just wondering this is common scenario....while there are so many threads written for populating 0employee from 0person......don't they have such requirement.....
    Thanks
    Tripple k

  • How to retrieve start and end date values from sharepoint 2013

    Hi,
    How to retrieve start and end date values from new event form of calendar in SharePoint foundation2013
    Thanks
    Gowri Balaguru

    Hi Srini
    Yes i need to have parallel flow for both and in the cube where my reporting will be on monthly basis i need to read these 2 master data and get the required attributes ( considering last/first day of that month as per the requirement).......but i am just wondering this is common scenario....while there are so many threads written for populating 0employee from 0person......don't they have such requirement.....
    Thanks
    Tripple k

  • Report for Validity Start and End Date in PO

    Dear All
    Is there any report where I can get PO validity start and end date which user input in addtional data header tab of PO?
    Regards
    Satish Kumar

    Hi,
    Yes, It is available standard report using T-code ME2N - Purchasing Document (PO) Per Document Number, enter the T-code and provide the following input data's are as follows.
    Scope of List                 :  ALV ( for Ms-Excel format report)
    Plant                               :   __________ to __________ (if required)
    Document Date              : ____________ to ___________ (if Required)
    Execute the report shown by default in excel format and if required PO validity start and end data, you have to select Change Layout button and open new window options screen right side field option as Validity Per.Start, Validity Period End, Commutative number field data's are selected and click <--- arrow button and then click bottom tick marked button. Now, the report shown your requirement.
    Hope, it is useful for you,
    Regards,
    K.Rajendran

  • Beginning Balance and Ending Balance Calculation

    Hi all,
    I have got a critical requirement for my report.
    I have to calculate Opening and Closing Balances for every month
    Beginning balance amount of current month = Ending balance amount of previous month.
    and Ending Balance = Beginning Balance + Transactions(data available)
    My Beginning Balance amount initially will be loaded from Flat file.
    For the first month I will go with a calculated Keyfigure and calculate my ending Balance.
    Now, this ending balance of current month will be beginning balance of next month.
    The problem is for the second month if i want ending balance, how to hold that data, as that is a calculation.
    Secondly, if the data is for current period..that's fine, but if i have to see previous months data, how to get it??
    Thanks,
    Hima.

    Make a cell reference to the previous month in your query designer. I don't have any specific information available at this point, but I have done the exact same thing in the past and we could make it working using cell references. There's enough documentation available if you want to know the ins&outs of this.

  • Hyperion Planning dynamic forms based on start and end date across years

    Hi All,
    I have a requirement where i need to be able to view a form showing periods across years that are dynamically built depending on the start and end dates. If i have a start date of 01/11/2009 and an end date of 31/7/2013 i want to be able to view a form that shows all of the periods (Jan,Feb etc) in a form that is driven by these dates, in addition it will need to show the actual scenario up to the current month and the forecast from the current month to the end date. So basically if a user inputs the start and end dates the form will display the relevant periods driven by these dates.
    Any tips very much appreciated!

    Hello,
    This is difficult to realize, but you can get quite far with a workaround. The first question is, where do you want to input your selection of time periods? Assuming you have a webform with the complete timeline in months and years and you type in the start period and end period.
    Webforms have the option to suppress rows and columns.
    This can be extended with option of empty cells or not empty cells.
    You will need to apply your creativity on this.
    Put every month-year combination in a column and add the suppression.
    Calculate the timeline between start period and end period with a dummy member, so data exists for these and columns will show.
    Maybe you will need to copy the required timeline into a separate version for this, to avoid having periods which were outside the selection and still have data.
    I hope these hints help a bit in this challenge.
    Regards,
    Philip Hulsebosch
    www.trexco.nl

  • Hwo to obtain the DST start and end times

    Hi all -
    Is there a way in java to obtain the day light saving start and end times for a certain year for US?
    I know that US DST changed in the year 2007 so, I am wondering if I can get correct DST start and end times for certain period before 2007 and after 2007.
    I read online that JDK preserves historical DST rules so I am hoping this is possible but do not know how.
    Thanks,

    Any idea is appreciated [otehr than incrementally iterating through each hour of the year to know the transition time !!!!  )
    That's why I mentioned +dichotomy+ (EDIT: the english wording is +binary search+ ): set the initial date to Jan 1st, 00:00, then add 183x24 hours (half a year), if the hour has changed (which it will), there was a DST change in the first half of the year. Then substract 92x24 hours (a quarter of a year) from this new instant, if the hour has changed, the DST change was in the 2nd quarter, else it was in the first. Then add or substract 46x24 hours,... and so onEdited by: jduprez on Feb 2, 2011 9:15 AMWARNING: for anyone reading this in the future: this algorithm is flawed, unless there is further guarantees in the problem domain of DST rules:- if the DST shifts (up +1 hour then back) are less than 6 months apart (obviously it may occur, with a one day margin)- and if in some odd timezone DST shifts may occur around mid-yearThen the first binary chop could find the same hour at both ends, and miss both shifts.My apologies for posting not-well-thought suggestions...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Getting the start  and end dates of the week

    Hi,
    I was stuck with a problem in getting the start date and end date of the week,i know the month ,week and year also,with these three values how can i get the start and end dates of a week.please help me
    Thanks

    There is no simple way. It has to be a math calculation.
    There are several ways you can get the dates. First you have to know what day is January 1st and what day is december 31st for a particular year. Second you have to check whether the given year is a leap year or not. Based on the abvove information you should be able to find out what day is a particular date.
    Hope this helps to get you started.
    - Venkat Dhurjati.

  • Effective start and end dates for a compensation workbench plan

    Hi all,
    We are having a requirement where we want to get the data respective to current plan for reporting purposes. What i have noticed is there is no such thing as effective_start_date and effective_end_date directly in all the cwb tables.
    The different dates we are looking at to capture the data are
    enrt_perd_start_dt and enrt_perd_end_dt
    upd_strt_dt and upd_end_dt
    within_yr_strt_dt and within_yr_end_dt
    But we have same plan with different enrollment period and start dates. We are planning to use max(data_freeze_date or lf_evt_occrd_dt) to get
    the records.
    select max(nvl(bcpdx.data_freeze_date, bcpdx.lf_evt_ocrd_dt))
    from ben_cwb_pl_dsgn bcpdx
    where bcpdx.pl_id = p_pl_id)
    Catch with this is, We have 62 business groups off which only 50 might run the plan next year and ohters might not. in that case it will also return data for all the BG's including the 12 BG's where plan has not been run for that year.
    Any suggestions or help will greatly be appreciated.
    Thanks
    Hari

    Hi Ankush,
    I am also of the same opinion. Start and end dates can probably be enforced by a policy condition in AM but would lead to proliferation of policies as we would end up creating policies per role entitlement duration for a user.
    Any thoughts on whether the sunrise/sunset concept of Identity Manager can be used for this requirement.
    Thanks,
    Srinivas

  • Effective start and end dates for roles/group assignment

    Hi,
    Does Access Manager (in legacy or realm) mode support effective start date/end date on a role/group assignment on a user?
    Thanks,
    Srinivas

    Hi Ankush,
    I am also of the same opinion. Start and end dates can probably be enforced by a policy condition in AM but would lead to proliferation of policies as we would end up creating policies per role entitlement duration for a user.
    Any thoughts on whether the sunrise/sunset concept of Identity Manager can be used for this requirement.
    Thanks,
    Srinivas

Maybe you are looking for