+ Reply to Thread
Results 1 to 4 of 4

Formula to subtract Financial Quarters based on different criteria.

  1. #1
    Registered User
    Join Date
    06-02-2014
    Posts
    11

    Formula to subtract Financial Quarters based on different criteria.

    Hi,

    I need to come up with a formula to distract data for Financial quarters taking account different criteria.

    Example below:
    HR 2014Q1AC Govt Fees etc 1 000
    HR 2014Q1AC Lease & Power 500

    HR 2014Q2AC Govt Fees etc 2 000
    HR 2014Q2AC Lease & Power 4 500

    NL 2014Q1AC Govt Fees etc 2 000
    NL 2014Q1AC Lease & Power 1 000

    NL 2014Q2AC Govt Fees etc 4 000
    NL 2014Q2AC Lease & Power 5 000

    I need to subtract Q2-Q1;Q3-Q2 for a specific country (HR;NL;etc..), for a specific item (Govt Fees;Lease&Powers;etc..)
    Data is for 10 countries, 20 items and 3 years.

    Main problem for me is to come up with formula, which would find previous quarter. (Automatically know to subtract Q1 from Q2, taking account also a year and AC(Actuals) or BU(Budgeted)) and then also take in to account remaining criteria..

    This is just a begging, since there are few more other things, which should be taken in to account in the formula. But about that later.

    I would appreciate any help I can get.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Formula to subtract Financial Quarters based on different criteria.

    in a1 have Q2

    Please Login or Register  to view this content.
    Something like that.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    06-02-2014
    Posts
    11

    Re: Formula to subtract Financial Quarters based on different criteria.

    Hi,

    Yes formula, which you provided works, but unfortunately, I failed to post data in excel format.

    Please see attached excel file to see fromat, in which I have data.
    Book1.xlsx

    Red cell is what I need to get automatically. 2014Q2AC Revenue for HR - 2014Q1AC Revenue for HR
    Last edited by arvimeld; 06-03-2014 at 10:07 AM.

  4. #4
    Registered User
    Join Date
    06-02-2014
    Posts
    11

    Re: Formula to subtract Financial Quarters based on different criteria.

    I strted with this:
    In separate table gave Quarters a number code.
    Vlookup one quearter - vlookup other quarter equals 1, meaning it is previous quarter. Than followed by IF formulas. IF countries are equal and IF Items are equal, than Subtract one amount from other.

    But this works only on a perfectly arranges data, which is not the case.
    I think formula should be transformed to be an array fromula, so to look those values in all array, not only a specific cells.., but I am not so good with array formulas

    Book1_updated.xlsx

    That`s how I imagine this to be done, but there`s definatley a better solution.. That`s the reasons why I`m here :D

    Best regards,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 02-03-2014, 05:57 PM
  2. Countifs Formula with Mulitple Criteria subtract or omit data
    By 1609emily in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-18-2013, 08:34 AM
  3. Formula based on quarters (maybe Sumproduct)
    By SalamanderSam14 in forum Excel General
    Replies: 2
    Last Post: 11-14-2012, 12:37 PM
  4. SUMIF based on certain criteria - and then subtract neg. values
    By Darlo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-20-2009, 10:09 AM
  5. Replies: 0
    Last Post: 09-14-2005, 01:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1