+ Reply to Thread
Results 1 to 10 of 10

Converting monthly data into quarterly

Hybrid View

  1. #1
    Registered User
    Join Date
    07-23-2010
    Location
    Amsterdam, NL
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Converting monthly data into quarterly

    Dear both,

    thanks so much for your helpul review. I have tried the suggestion of DonkeyOte and it works great though there seems to be one glitch for the returns given in Column S which gives data from a column too early in the sequence. The rest is perfrect though.

    Any thoughts on how to solve this?

    Also, a stupid beginner question as well, how do I re-write the formula if the data would be in columns intead of rows?

    Attached an example of what I mean.

    Many thanks in advance!

    Paul

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Converting monthly data into quarterly

    Quote Originally Posted by paulgerrits
    I have tried the suggestion of DonkeyOte and it works great though there seems to be one glitch for the returns given in Column S which gives data from a column too early in the sequence.
    Something odd with your file there Paul - if you conduct a Full Recalc (CTRL + ALT + F9) you will find the cells will recalculate generating correct results.

    Quote Originally Posted by paulgerrits
    how do I re-write the formula if the data would be in columns intead of rows?
    If you can assume you always have a full quarter listed (ie 3 months each quarter - irrespective of whether or not values are 0) then using your latest sample:

    F13:
    =IF(E13="","",IFERROR(LOOKUP(2,1/(D11:D13<>0),D11:D13),0))
    copied down
    Again, as before the above utilises IFERROR which is not backwards compatible with versions pre XL2007 - revert to:

    F13:
    =IF(E13="","",LOOKUP(9.99E+307,CHOOSE({1,2},0,LOOKUP(2,1/(D11:D13<>0),D11:D13))))
    copied down
    if you need a backwards compatible version

    of course given this layout you could actually just use an embedded IF if you prefer:

    F13:
    =IF(E13="","",IF(N(D13)<>0,N(D13),IF(N(D12)<>0,N(D12),N(D11))))
    copied down

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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