+ Reply to Thread
Results 1 to 8 of 8

How to take number by name

  1. #1
    Registered User
    Join Date
    11-03-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    63

    How to take number by name

    Dear all,

    Please help me for excel formula to take the number from data attached.

    Many thanks
    Regards

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to take number by name

    This works with the data you provided (note you had Mr. Y not Ms. Y)
    =INDEX($N$4:$N$15,MATCH(K20,$B$4:$B$15,0)+2)

    If you intend to pull from specific months, we can adjust that formula to go down to the correct (specified) month.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-03-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: How to take number by name

    Quote Originally Posted by FDibbins View Post
    This works with the data you provided (note you had Mr. Y not Ms. Y)
    =INDEX($N$4:$N$15,MATCH(K20,$B$4:$B$15,0)+2)

    If you intend to pull from specific months, we can adjust that formula to go down to the correct (specified) month.
    Thanks a lot its work, sorry for typo data name. Btw, how is formula works capture the specific month? if i want to change for October what should I edit the formula?

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: How to take number by name

    The formula provided by Ford not specific choose month but just add row number by 2, if you need October just add by 3, like this

    =INDEX($N$4:$N$15,MATCH(K20,$B$4:$B$15,0)+3)

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to take number by name

    the +2 (bolded) is what selects which month to use...
    =INDEX($N$4:$N$15,MATCH(K20,$B$4:$B$15,0)+2)

    If you were to have the month entered into it's own cell (say in K16 you just entered September)...
    =INDEX($N$4:$N$15,MATCH(K20,$B$4:$B$15,0)+MATCH($K$19,$F$4:$F$9,0)-1)

  6. #6
    Registered User
    Join Date
    11-03-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: How to take number by name

    Thank you very much for your explain, its clear and solved.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to take number by name

    Happy to help

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to take number by name

    Thanks for the rep

+ 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. [SOLVED] Macros to mark number in a column, if number is x+10, given previously marked number x.
    By aleem5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2015, 07:49 PM
  2. Replies: 1
    Last Post: 02-04-2015, 03:54 PM
  3. Replies: 10
    Last Post: 10-30-2013, 07:29 PM
  4. Validation Number number number + letter depending on numbers
    By Adamitus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-31-2012, 04:28 AM
  5. number in cell is number to add number of rows wit copy some contex
    By nicollab in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2012, 08:09 AM
  6. Lookup largest number in a column treating negative number as postive number
    By xWiZardx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2010, 08:09 AM
  7. Replies: 7
    Last Post: 12-18-2008, 07:34 PM

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