+ Reply to Thread
Results 1 to 7 of 7

Placing the a date value to a 3 different groups

  1. #1
    Registered User
    Join Date
    07-11-2014
    Location
    malaysia
    MS-Off Ver
    2013
    Posts
    6

    Placing the a date value to a 3 different groups

    Hi Guys,

    Im rather new to excel and currently using excel 2013.
    I have a worksheet with column A ( data group) Column B ( Sent date with MM/DD/YY) , Column C Aged Group {using this formula =IF(B2="","",(TODAY()-B2))} , Column D status ( if the record is open or close).

    I would like to create a table that can segregate the data group and how many days it has already aged. And then group them with different aged group. I would like to seek your help on the above scenario and do please refer to the attached screenshot.

    From:-

    Data Group Sent Date Aged Status
    Quotation 06/06/14 35 Open
    Invoice 07/11/14 0 Open
    invoice 05/01/14 71 Open
    PO 07/01/14 10 Open
    PO 07/05/14 6 Open
    SO 06/30/14 11 Open
    Quotation 05/18/14 54 Open
    SO 05/05/14 67 Open
    Cash Note 07/03/14 8 Close

    To:-

    Data Group 0-15 15-30 30 above
    Quotation
    Invoice
    PO
    SO
    Cash Note

  2. #2
    Forum Contributor
    Join Date
    07-10-2012
    Location
    Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: Placing the a date value to a 3 different groups

    sir for your self

    i workout and highlighted please go through it
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Placing the a date value to a 3 different groups

    Hi,

    Welcome to the Forum

    Find enclosed a more generalized version using Vijay's file..
    Attached Files Attached Files
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  4. #4
    Registered User
    Join Date
    07-11-2014
    Location
    malaysia
    MS-Off Ver
    2013
    Posts
    6

    Re: Placing the a date value to a 3 different groups

    Hi morevijay1982 and Saarang84 thank you so much for the idea. I have modified it and put in a condition so i dont have to add another column. Thanks you so much for your quick reply and assistance :D you rock. Just to share what i modified, but i notice my formula do not have $ . Will it prompt any error?

    0-15
    =COUNTIFS(A2:A10,H2,C2:C10,"<=15")

    16-30
    =COUNTIFS(A2:A10,H2,C2:C10,">15",C2:C10,"<=30")

    above
    =COUNTIFS(A2:A10,H2,C2:C10,">30")
    above 30

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Placing the a date value to a 3 different groups

    Probably it will not give you an error.

    You get a wrong answer.

    explaination of the $

    $A$2 will keep the row (2) and colum (A) the same if you copied or dragged the formula.

    $A2 will change the row (2) to 3 if you drag the formula down / the column will NOT change, so it will use column A.

    A$2 will change the colum (A) in B if you drag the formula to the right / the row (2) will NOT chang, so it will use row 2.

    Hope I explained well enough, so you understand why the formula will give an wrong answer.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Placing the a date value to a 3 different groups

    Pl see attached file with formulas.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-11-2014
    Location
    malaysia
    MS-Off Ver
    2013
    Posts
    6

    Re: Placing the a date value to a 3 different groups

    oeldere , thanks for the explanation it helps.
    kvsrinivasamurthy, i learned alot from you sheet. THANK YOU !

    Would like to express my gratitude from the bottom of my heart.
    THANKS guys for the assistance and guidance.

+ 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. [SOLVED] Userform placing date in spreadsheet as MM/DD/YYYY
    By david1987 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2012, 10:17 AM
  2. Placing the earliest date from a range
    By di22y in forum Excel General
    Replies: 2
    Last Post: 01-11-2009, 11:26 AM
  3. Placing the date (1-JAN-2008) in the right column for DAY
    By e4excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-08-2008, 10:46 AM
  4. Placing Date in footer
    By MikeFexcel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-23-2007, 06:54 PM
  5. Replies: 0
    Last Post: 08-29-2005, 11:05 AM

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