+ Reply to Thread
Results 1 to 13 of 13

Expanded Vlookup Issue

Hybrid View

melegaunt Expanded Vlookup Issue 01-23-2009, 03:27 AM
JBeaucaire There's a UDF called VLOOKUPS... 01-23-2009, 04:13 AM
DonkeyOte The below is meant as an... 01-23-2009, 05:54 AM
melegaunt Awesome Thanks! 01-23-2009, 07:28 PM
melegaunt Hmm seems my example isnt... 01-23-2009, 08:17 PM
DonkeyOte Did you review the file I... 01-24-2009, 04:38 AM
melegaunt Actually I am trying to wrap... 01-25-2009, 12:52 AM
NBVC Another alternative... with... 01-25-2009, 01:18 AM
melegaunt Well thats exactly what I am... 01-25-2009, 01:25 AM
NBVC Here's a thread using a... 01-25-2009, 01:36 AM
melegaunt With the current setup, How... 01-25-2009, 02:27 AM
NBVC Actually, we can use a much... 01-25-2009, 10:33 AM
melegaunt Re: Expanded Vlookup Issue 01-27-2009, 12:27 AM
  1. #1
    Registered User
    Join Date
    01-16-2009
    Location
    Texas
    MS-Off Ver
    2013, 2015, 2016
    Posts
    43
    Quote Originally Posted by DonkeyOte View Post
    Did you review the file I posted -- in particular I would draw your attention to the setup in N:P which was to show how you could pull the data based on the above scenario.


    Actually I am trying to wrap my head around this still. I honestly have the file you made and the file I am working with side by side. There is alot of stuff implemented into your example. I just recently started getting into the more advanced stuff in Excel. The Match,Index combination of things I am having some trouble following.

    Another Issue I have is that they have reformatted the file I am working on, so the information is appearing slightly different.

    Now there are columns for:
    Team Member Name
    Team Name
    Date of Birth
    Anniversary

    Here is the example of the new format attached
    Keep in mind this list of names will probably be about 1000 names long.


    By the way, thanks for all of your help already.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Another alternative... with no helper columns....

    This formula in F1 counts total records that have month from drop down in either the Birthday or the Anniversary or Both.

    =SUMPRODUCT((TEXT($C$2:$C$10,"mmmm")=$G$2)+(TEXT($D$2:$D$10,"mmmm")=$G$2))-SUMPRODUCT((TEXT($C$2:$C$10,"mmmm")=$G$2)*(TEXT($D$2:$D$10,"mmmm")=$G$2))
    This formula in H2, begins to extract the matching information and pulls only the number of records indicated by the formula in F1:

    =IF(ROWS($A$1:$A1)>$F$1,"",INDEX(A$2:A$10,SMALL(IF((TEXT($C$2:$C$10,"mmmm")=$G$2)+(TEXT($D$2:$D$10,"mmmm")=$G$2),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($A$1:$A1))))
    the above formula is an array formula and must be confirmed with CTRL+SHIFT+ENTER keys instead of just ENTER.. you will see { } brackets appear around the formula...then copy it down as far as you want and across the other relevant number of columns.

    If you adjust the ranges to suit a large database, you will need to reconfirm the formula with the CSE keys and then copy down and across again.

    See attached.
    Attached Files Attached Files
    Where there is a will there are many ways.

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

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

  3. #3
    Registered User
    Join Date
    01-16-2009
    Location
    Texas
    MS-Off Ver
    2013, 2015, 2016
    Posts
    43

    Cool

    Well thats exactly what I am after!

    Now I will have to mull over it for awhile to make sure I understand all of it and to Anniversary/Birthday cells not show a number when they dont apply to the date range.

    Thank you again for all of this. It looks like I need alot more practice with arrays.

+ 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