+ Reply to Thread
Results 1 to 3 of 3

Thread: Find dates & values for a specific time.

  1. #1
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,303

    Find dates & values for a specific time.

    Hi

    .. stuck in this

    In Sheet1, col A=Dates, Col B=Names, COL C=Payment.

    So, what I need is.
    In Sheet2, I want to type the start & the end date.

    Then to select a Name.

    And then to get using formula,one by one the dates and the values, that the selected Name had, for that SPECIFIC time.

    Hope to make sense.

    Thank you in advance
    Attached Files Attached Files
    Last edited by Fotis1991; 01-16-2012 at 10:32 AM.
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,637

    Re: Find dates & values for a specific time.

    Add helper column in Sheet1, D2:

    =IF(AND(A2>=Sheet2!$A$2,A2<=Sheet2!$B$2,B2=Sheet2!$E$1),COUNT(D$1:D1)+1,"")

    copied down

    Then in E2:

    =MAX(D:D)

    Then in Sheet2, A6:

    =IF(ROWS($A$6:$A6)>Sheet1!$E$2,"",INDEX(Sheet1!A:A,MATCH(ROWS($A$6:$A6),Sheet1!$D:$D)))

    copied down and across.

    Note: replace commas with Semi-colons for your regional settings.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,303

    Re: Find dates & values for a specific time.

    ... Of course it works perfectly! ... As usual ...

    Thanks a lot.
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

+ 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.2.0