+ Reply to Thread
Results 1 to 8 of 8

Formula to return name from list - only once.

  1. #1
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Formula to return name from list - only once.

    Hello everyone,

    Looking to add another option to a workbook that I have been working on. This will be for excel 2010

    I have added a test workbook which outlines the end result I am looking for.

    Basically this is a two tab workbook.
    • On tab 2 - Column B6:B1000 - I need to return a name from tab 1 but only do so once (the name could appear several times on tab 1)
    • New data will be added to tab 1 daily
    • Also on Tab 2 - Column A6:A1000 I would like to return the name that is in the same row as the name returned from Tab 1


    The above is spelled out in the workbook as well - may be a little clearer in the test workbook.

    Thanks in advance - look forward to spreading some rep.

    SVTF
    Attached Files Attached Files
    Last edited by SVTF; 11-28-2014 at 09:31 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return name from list - only once.

    B6=IF(COUNTIF('CEI Nov 2014'!B$5:B5,'Feilding Info'!D2)>=1,"",'Feilding Info'!D2)
    OR
    B6=IFERROR(INDEX(OFFSET('Feilding Info'!$D$1,1,0,COUNTA('Feilding Info'!$D:$D)-1,1),MATCH(0,INDEX(COUNTIF($B$5:$B5,OFFSET('Feilding Info'!$D$1,1,0,COUNTA('Feilding Info'!$D:$D)-1,1)),0),0)),"")
    TRY THE ABOVE AND COPY TOWARDS DOWN
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: Formula to return name from list - only once.

    @nflsales - your option # 2 formula takes care of column B - Seems to be working as needed.

    Need to solve one more thing and I think I can close this up.

    What formula can be used for column A6:A1000 on tab 2?

    Based on the name entered in B6:B1000 from the formula on Tab # 2....

    I need to also populate A6:A1000 with the name located on Tab #1 in the same row of the name that ended up in B6:B1000 on tab # 2 ... see test work book for desired result.
    Attached Files Attached Files
    Last edited by SVTF; 11-11-2014 at 12:21 AM.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return name from list - only once.

    In your sheet you have multiple locations for some advisors in this case what is you expected results
    for example CC Advisor have LB and OP Locations and CL have IL, MM and PD

  5. #5
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: Formula to return name from list - only once.

    In the final version there will be no duplication.

    Example

    If b6 returns the name DM and that is pulled from tab 1 D2. What ever the name is in B2 on tab 1 carry over to A6 tab 2.

    So in the end... Tab 2 A6 and B6 .... Have the same names as Tab 1 B2 and D2 so on and so forth.



    Did that come across ok?
    Last edited by SVTF; 11-11-2014 at 01:00 AM.

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return name from list - only once.

    A6=INDEX('Feilding Info'!B:B,MATCH(B6,'Feilding Info'!D:D,0))
    try it in A6 and copy towards down

  7. #7
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: Formula to return name from list - only once.

    @nflsales ... seems to be working - will test in live version tomorrow and if all is good will mark this thread as solved.

    Thanks for you time and your knowledge - appreciated.

    Rep already sent =)

  8. #8
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return name from list - only once.

    Thank you SVTF

+ 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] Formula to reference a list and return yes/no
    By JennOlsen in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-03-2014, 02:16 PM
  2. Formula to return a value from a list
    By amandaw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 06:01 AM
  3. Return a list of names based on IF function formula
    By PRodgers4284 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2009, 08:48 AM
  4. Replies: 9
    Last Post: 02-14-2009, 01:21 PM
  5. [SOLVED] array formula: return next date from list
    By [email protected] in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2006, 05:15 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