Results 1 to 10 of 10

Thread: Ageing Monthly Bracket Calculator

  1. #1
    Member
    Join Date
    Jun 2012
    Posts
    80
    Rep Power
    13

    Ageing Monthly Bracket Calculator

    Hi Guys,

    We have monthly ageing reports which has the following columns.

    Current Period
    1 to 30
    31 to 60
    61 to 90
    91 to 180
    181 to 360
    361 Above


    Now, I would like to have a formula to display the months, when I just type in the current month under "Current Period" in the attached file excel file.
    Attached Files Attached Files

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    So what is your lookup value? Do you want to lookup the current period based on the date you select? Or do you want to select the current period, and show the month? What is your look up value, and what is your look up array.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  3. #3
    Member
    Join Date
    Jun 2012
    Posts
    80
    Rep Power
    13
    What i want is, when i key in the month in B1, the values in B2 to B7 should be filled up automatically as shown in the file.

    1 to 30 - One month before Current Period
    31 to 60 - Two months before Current Period
    61 to 90 - Three months before Current Period
    91 to 180 - Four to Six months before Current Period
    181 to 360 - Seven to Twelve months before Current Period
    361 Above - Thirteen months & Before

  4. #4
    Member
    Join Date
    Jun 2012
    Posts
    80
    Rep Power
    13
    Any help guys?

  5. #5
    Senior Member LalitPandey87's Avatar
    Join Date
    Sep 2011
    Posts
    222
    Rep Power
    14
    First insert two columns in between A & B colums as data in your attached file.

    Now put this formuls with CSE in cell B2
    Code:
    =SMALL(IFERROR(INT(MID($A2,SMALL(IF(MID(" " & $A2,ROW($A$1:$A$100),1)=" ",ROW($A$1:$A$100),""),ROW($A$1:$A$100)), SMALL(IF(MID($A2&" ",ROW($A$1:$A$100),1)=" ",ROW($A$1:$A$100),""),ROW($A$1:$A$100))-SMALL(IF(MID(" " & $A2,ROW($A$1:$A$100),1)=" ",ROW($A$1:$A$100),""),ROW($A$1:$A$100)))),""),COLUMN(A1))
    Now drag this formula to C2 and then select B2:C2 and fill down till the data ends.

    Now copy below formula and paste it cell D2 adn fill down till the data end
    Code:
    =IFERROR(IF(((((C2+1)-B2)/30)-1)=0,TEXT(DATE(YEAR($D$1),MONTH($D$1)-(((B2-1)/30)+1),DAY($D$1)),"MMMM YYYY"), TEXT(DATE(YEAR(DATE(YEAR($D$1),MONTH($D$1)-(((B2-1)/30)+1),DAY($D$1))),MONTH(DATE(YEAR($D$1),MONTH($D$1)-(((B2-1)/30)+1),DAY($D$1)))-((((C2+1)-B2)/30)-1),DAY(DATE(YEAR($D$1),MONTH($D$1)-(((B2-1)/30)+1),DAY($D$1)))),"MMMM YYYY") & "  to " & TEXT(DATE(YEAR($D$1),MONTH($D$1)-(((B2-1)/30)+1),DAY($D$1)),"MMMM YYYY")),TEXT(DATE(YEAR($D$1),MONTH($D$1)-(((B2-1)/30)+1),DAY($D$1)),"MMMM YYYY")&" & Before")

  6. #6
    Member
    Join Date
    Jun 2012
    Posts
    80
    Rep Power
    13
    Thanks for the reply Lalit Pandey.

    However, I am not able to get the results. Instead, I am receiving the #VALUE error.

    Also, "put this formuls with CSE in cell B2" - Could you explain what is CSE?

    Or, could you please add the formula yourself and attach it here. That would be really nice.

  7. #7
    Senior Member LalitPandey87's Avatar
    Join Date
    Sep 2011
    Posts
    222
    Rep Power
    14
    CSE Means apply formula with Ctrl + Shift + Enter. Try to apply first formula with CSE and check if it is working or not

  8. #8
    Member
    Join Date
    Jun 2012
    Posts
    80
    Rep Power
    13
    Wow!! it works!!

    Thanks a lot Lalit...

  9. #9
    Member
    Join Date
    Jun 2012
    Posts
    80
    Rep Power
    13
    I am attaching the excel sheet with the automated calculations here for other members.
    Attached Files Attached Files

  10. #10
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Thanks for sharing
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

Similar Threads

  1. Replies: 2
    Last Post: 04-24-2013, 08:06 PM
  2. HP Calculator Buttons
    By Howardc in forum Word Help
    Replies: 0
    Last Post: 12-01-2012, 11:12 AM
  3. Custom Format Conditional With Square Bracket
    By Slotmachineguy in forum Excel Help
    Replies: 2
    Last Post: 11-09-2012, 11:42 PM

Posting Permissions

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