+ Reply to Thread
Results 1 to 6 of 6

Showing the number of items in sheet1 based on datas in sheet2

  1. #1
    Registered User
    Join Date
    11-17-2010
    Location
    India
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    83

    Showing the number of items in sheet1 based on datas in sheet2

    Hi Friends,

    I have attached my excel where in worksheet2 i have four columns(Column I,J,K and L). I have written macro codings where the column J will show the status according to the dates entered in COl I,K and L.

    Now what i need is in worksheet1 i have a created a table which includes the columns like Month,Completed,WIP,Not started,Overdue and Total. In worksheet2 in Col L if i enter any date the column J will show the status as "Completed". So that is a completed project.

    Hence in Worksheet1 the completed column against Novemeber month it should show the count as 1 since the date i have entered falls on november month. If the Date entered is in the december month then in sheet1 the completed column against december month should show the count as 1.

    As the same way in the Col I if i enter today date then the col J will show the status as WIP. So in such case the number of WIP in status column should reflect in sheet1 against WIP column. But i want this in monthly basis. that is number of WIP in november month and number of WIP in December month.

    The number of overdue items and Not started items should get reflected in worksheet1 in their assisgned column on monthly basis.

    Kindly advice this can be done using macros?. if so please help me friends.

    Please refer to the attached excel which will clearly explian you my requirement.
    Attached Files Attached Files
    Last edited by Saky; 12-02-2010 at 09:05 AM.

  2. #2
    Registered User
    Join Date
    11-17-2010
    Location
    India
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    83

    Re: Showing the number of items in sheet1 based on datas in sheet2

    Friends,

    Can anyone help me to sort this out...

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Showing the number of items in sheet1 based on datas in sheet2

    You could calling this procedure from the sheet_activate event for Sheet1.

    Please Login or Register  to view this content.
    Martin

  4. #4
    Registered User
    Join Date
    11-17-2010
    Location
    India
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    83

    Re: Showing the number of items in sheet1 based on datas in sheet2

    Quote Originally Posted by mrice View Post
    You could calling this procedure from the sheet_activate event for Sheet1.

    Please Login or Register  to view this content.
    Hi Martin,

    Thank you soo much for your reply...This code works fine.

    If i add months like Jan, Feb down the row in sheet1 also this code works very perfectly...

    But Martin in my initial thread i have mentioned the no.of items of Overdue and Not started should also reflect in sheet1.

    For your understanding. If i enter tomorrow value or future value in start date column then the macro will change the status to Not started.

    If i enter todays value in start date and in target date if i enter any future value. And if the target date crossed then the macro will change the status to Overdue.

    This is how it works...So i need the counts in monthly basis as like the status "completed" and "WIP" for Overdue and Not started in sheet1.

    kindly help me...I will not trouble you after this

    I have attached the my excel again.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-17-2010
    Location
    India
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    83

    Re: Showing the number of items in sheet1 based on datas in sheet2

    Hi Martin,

    Please ignore my above request.. I have done it on my own..

    Anyway than you sooo much for your kind help....

    You are my saviour!!!!

  6. #6
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Showing the number of items in sheet1 based on datas in sheet2

    Well done

+ 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