Closed Thread
Results 1 to 5 of 5

Excel 2007 : How to return different values in a range according to date without repeating the same

  1. #1
    Forum Contributor
    Join Date
    11-28-2011
    Location
    puerto rico
    MS-Off Ver
    Excel 2007
    Posts
    113

    How to return different values in a range according to date without repeating the same

    I need help..this is driving me crazy!!!

    I need to fix either one of this formulas so that it returns the values of a group of cells without repeting them



    This formula worked but i dont know how to fix it so that i can include others cells in the search like y5:ac5, y14:ac14 and some others... and so that when i copy it to the next cell, returns a anew value that hasnt been return before
    =IF(OR($D$9="",$D$9=0,D9>35),"",INDEX(N1SR!H14:L48,D9,MATCH(1,INDEX((N1SR!H5:L5>=G9)*(N1SR!H5:L5<AL3 ),0),0)))

    Let me explain this: if i put the formula in cell A1 it will return the first value with a date between g9 and al3 but i need to fix it so that it can return the second value with the date range
    for example if h5 has a date of 8/3/12 and the formula returns its value in A1 and h6 has a date of 8/5/12 when i copy the formula to B2 it doesnt return h15 again and instead brings the value of 8/15/12




    I tried this formula when i had the values in different worksheets ad it worked but when i copied the formula to the next cell it always return the same first value with the date 8/3/12 and ignored any other value
    =IF(OR($D$9="",$D$9=0,D9>35),"",
    IFERROR(INDEX(N1SR!H14:L48,D9,MATCH(1,INDEX((N1SR!H5:L5>=G9)*(N1SR!H5:L5<AL3),0),0)),
    IFERROR(INDEX(N2SR!H14:L48,D9,MATCH(1,INDEX((N2SR!H5:L5>=G9)*(N2SR!H5:L5<AL3),0),0)),
    IFERROR(INDEX(N3SR!H14:L48,D9,MATCH(1,INDEX((N3SR!H5:L5>=G9)*(N3SR!H5:L5<AL3),0),0)),"")))



    please help!!!!!!!!!!!

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

    Re: How to return different values in a range according to date without repeating the same

    Please Login or Register  to view this content.
    I don't get it.

    Probaly you get better help, if you add an example of your workbook (without confidentional information).

  3. #3
    Forum Contributor
    Join Date
    11-28-2011
    Location
    puerto rico
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to return different values in a range according to date without repeating the same

    thks oelder here is the wb

    what i need is to show the values of N1SR! H14:L14, Y14:AC14, AP14:AT14 AND SO ON in ESTSR!D11:AH11 ACCORDING TO THE DATE I PICKED IN ESTR!G9 AND THE NUMBER OF THE STUDENT IN ESTR!D9 THIS IS WHAT I NEED =IF(OR($D$9="",$D$9=0,D9>35),"", TO BE PART OF THE FORMULA
    Attached Files Attached Files

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to return different values in a range according to date without repeating the same


  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to return different values in a range according to date without repeating the same

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    HTH
    Regards, Jeff

Closed 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