+ Reply to Thread
Results 1 to 12 of 12

not sure what forumla i need! vlook up; index; match??

  1. #1
    Registered User
    Join Date
    11-17-2011
    Location
    Shropshire
    MS-Off Ver
    Excel version 2102
    Posts
    85

    not sure what forumla i need! vlook up; index; match??

    Coloumn A = Book title
    Row 1 = Dates
    Range B2:Z10 = names (example: BH/Harvey 10 or AG/Cherry 7)

    The names could be in the range approximaly 12 times

    I am trying to extract a list of the name, date and book title.

    Example.
    BH/Harvey 10 Book title 1 01/01/01
    BH/Harvey 10 Book title 2 05/02/01
    BH/Harvey 10 Book title 3 16/03/01

    Hope this explains what i'm after.
    Thanks in advance for any help.

    thanks.

  2. #2
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: not sure what forumla i need! vlook up; index; match??

    =IFERROR(INDEX($B$1:$B$20,SMALL(IF($A$1:$A$20=$E$2,ROW($A$1:$A$20)),ROW()-2),1),"")

    That will check if values in A match your look up and then the B reference is whatever column you want it to return. At the moment it returns if matches value in E2.

    Not my formula, it was already on google.
    Last edited by DannyJ; 02-28-2017 at 05:55 AM.

  3. #3
    Registered User
    Join Date
    11-17-2011
    Location
    Shropshire
    MS-Off Ver
    Excel version 2102
    Posts
    85

    Re: not sure what forumla i need! vlook up; index; match??

    thanks, but not quite what i am after.
    I've tried google, but as i'm not sure if what i am after is possible or if it is what formular to use.

    I only want to look up within the range, and to return the book title and date, but within the range there may be multiple answers, I need all of them.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: not sure what forumla i need! vlook up; index; match??

    If you attach a workbook with some data and the expected output it will be much easier to help you.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: not sure what forumla i need! vlook up; index; match??

    yep.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    11-17-2011
    Location
    Shropshire
    MS-Off Ver
    Excel version 2102
    Posts
    85

    Re: not sure what forumla i need! vlook up; index; match??

    Example attached (hopefully!)
    A1:R14 example data.

    V1 is where i would alter the name i was looking up.

    U3 and V3 downwards I would like the data extracted to.

    So looking up V1 with in Range B2:R14. and returning relevant Date and title.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: not sure what forumla i need! vlook up; index; match??

    Perhaps something along these lines
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-17-2011
    Location
    Shropshire
    MS-Off Ver
    Excel version 2102
    Posts
    85

    Re: not sure what forumla i need! vlook up; index; match??

    that is great. Thanks for your help

  9. #9
    Registered User
    Join Date
    11-17-2011
    Location
    Shropshire
    MS-Off Ver
    Excel version 2102
    Posts
    85

    Re: not sure what forumla i need! vlook up; index; match??

    Davsth your help has been great, how ever I have just realised that the name may be produced twice with the same date.
    I have attached a new example.

    If I select BH/Harvey 10 in V1.
    It shows all the titles and dates apart from Book Title10 for 02/01/2001.

    Is there any formula that could work???
    Any help advise would be great.
    Attached Files Attached Files

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: not sure what forumla i need! vlook up; index; match??

    Hi. I have been mucking around with this for ages. The titles were the easy bit. I just had to get rid of the helpers in black for the dates. Finally, I think that Ive cracked it!!

    Titles (array formula):

    =IFERROR(INDEX(A:A,SMALL(IF(($B$2:$R$14=$V$1)*COLUMN($B$2:$R$14),ROW($A$2:$A$14)),ROWS($U$4:U4))),"")

    Dates (array formula):

    =IFERROR(INDEX($1:$1,SMALL(IF(($B$2:$R$14=$V$1)*($A$2:$A$14=U4)*ROW($B$2:$R$14),COLUMN($B$2:$R$14)),1)),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    11-17-2011
    Location
    Shropshire
    MS-Off Ver
    Excel version 2102
    Posts
    85

    Re: not sure what forumla i need! vlook up; index; match??

    Glen Kennedy - thank you so so so much. This is great.

    Just wish I had more knowledge of excel to work all these things out!!

    Thanks again. It works brilliantly

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: not sure what forumla i need! vlook up; index; match??

    You are welcome!

    Glenn

+ 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. Replies: 1
    Last Post: 07-22-2014, 09:40 PM
  2. vlook or index match
    By mma3824 in forum Excel General
    Replies: 1
    Last Post: 05-30-2014, 08:28 AM
  3. Multi or two way vlook up and index match tutorial
    By SIEMON7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-29-2013, 10:25 PM
  4. INDEX / MATCH Forumla help
    By martinhardy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-08-2013, 06:21 AM
  5. Help with Index, Match, and Offset Forumla
    By tjohn909 in forum Excel General
    Replies: 3
    Last Post: 03-28-2011, 08:15 PM
  6. vlook/match/index
    By nowfal in forum Excel General
    Replies: 12
    Last Post: 08-30-2005, 04:05 PM
  7. [SOLVED] Vlook up or index match
    By jerry in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-24-2005, 01:06 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