+ Reply to Thread
Results 1 to 13 of 13

report the date of first activity

  1. #1
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    report the date of first activity

    All

    have a data set with client id and most dates of activity....

    I would like to be able to include within a report the date of first activity and the most recent date of activity....

    please see attached sample worksheet...

    rgds and TIA

    Shaz0503
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: report the date of first activity

    First Apply the sorting for both column-A and Column-B

    In F3 Cell

    =VLOOKUP(E3,$A$3:$B$18,2,FALSE)

    In G3 Cell

    =LOOKUP(2,1/($A$3:$A$18=E3),$B$3:$B$18)


    Drag both the formula's down..


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: report the date of first activity

    thx sixth sense - will have a look at these

  4. #4
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: report the date of first activity

    Thanks Sixthsense

    The first formula works fine... but the second one doesn't appear to work... get n/a...

    ... any ideas

    rgds

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: report the date of first activity

    Quote Originally Posted by shaz0503 View Post
    but the second one doesn't appear to work...
    Have you did this before applying the formula?

    Quote Originally Posted by :) Sixthsense :) View Post
    First Apply the sorting for both column-A and Column-B

  6. #6
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: report the date of first activity

    Sixthsense

    I sorted by column a and then by column b as suggested.......

    S

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: report the date of first activity

    Refer the attached file for details
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: report the date of first activity

    Sixthsense

    I think it may be because I am referring between two sheets.... what do you think...

    I have a summary worksheet and a main data worksheet....the summary worksheet will return the value from the main data sheet....

    rgds

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: report the date of first activity

    Referring to some other sheets is not an issue, but ensure that both the ranges of lookup should have a constant range of cells

  10. #10
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: report the date of first activity

    .... please see attached file for your suggestions - I have used your formula on sheet 1

    ... I am thinking this is going to be something really simple I am missing

    rgds

    S
    Attached Files Attached Files

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: report the date of first activity

    Your current formula refers to Employee Number In Sheet1 and matching it with Sheet2. But in sheet2 there is no employee no at all

    In M2 cell of Sheet1

    =LOOKUP(2,1/(Sheet2!$C$2:$C$1201=A2),Sheet2!$F$2:$F$1201)

    So I suspect it should be B2

    =LOOKUP(2,1/(Sheet2!$C$2:$C$1201=B2),Sheet2!$F$2:$F$1201)

  12. #12
    Forum Contributor
    Join Date
    12-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: report the date of first activity

    Sixthsense

    why oh why is it always such a simple thing....

    many thanks for your time

    Shaz0503

  13. #13
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: report the date of first activity

    You can mask the error cells by way of adding an Iferror() function.

    =Iferror(YourCurrentFormula,"Your Personalised Text Here")

    So the formula will looks like this...

    =IFERROR(LOOKUP(2,1/(Sheet2!$C$2:$C$1201=B2),Sheet2!$F$2:$F$1201),"")

    =IFERROR(VLOOKUP(E3,$A$3:$B$18,2,FALSE),"")

+ 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. Get date of most recent activity
    By shdwfx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2014, 09:15 AM
  2. Activity Time Tracker to capture activity selected from dropdown list
    By dillibabu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-24-2013, 01:10 PM
  3. Date and Time Stamp for Last Activity in Range
    By XLevel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-19-2011, 07:34 AM
  4. date time stamp excel activity log entry?
    By Skullcramp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2005, 06:25 PM
  5. Log and Date Stamp Activity????
    By paulea3 in forum Excel General
    Replies: 2
    Last Post: 02-18-2005, 04:58 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