+ Reply to Thread
Results 1 to 27 of 27

excel compare value & list results

  1. #1
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    excel compare value & list results

    Dear Professionals,

    I have 2 sheets in excel.

    1 sheet has value as below:
    Supervisors Research Specialist
    Anand Physics
    Carren Physics
    Bimal Chemistry
    Carren Chemistry
    darren Biology
    Enoel Physics
    Enoel Maths

    2nd sheet has:
    Research Topic Supervisor
    Physics




    My criteria is that physics (research topic) in 2nd sheet is matched with all values in 1st sheet research specialist, & anand, enoel & carren are available in list to chose under 2nd sheet supervisor field. Please could someone help me with formula on this? Appreciate your help.

    Thanks

  2. #2
    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,101

    Re: excel compare value & list results

    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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    Welcome to the forum!

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    1
    Supervisors Research Research Supervisor
    2
    Anand Physics Physics Anand
    3
    Carren Physics Carren
    4
    Bimal Chemistry Enoel
    5
    Carren Chemistry
    6
    darren Biology
    7
    Enoel Physics
    8
    Enoel Maths
    Sheet: Sheet2


    Excel 2016 (Windows) 32 bit
    E
    2
    =IFERROR(INDEX(A:A,SMALL(IF($B$2:$B$8=$D$2,ROW($A$2:$A$8)),ROWS($A$1:A1))),"")
    Sheet: Sheet2

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: excel compare value & list results

    Sheet1
    Row\Col
    A
    B
    1
    Supervisors Research Specialist
    2
    Anand Physics
    3
    Carren Physics
    4
    Bimal Chemistry
    5
    Carren Chemistry
    6
    darren Biology
    7
    Enoel Physics
    8
    Enoel Maths


    Sheet2

    Row\Col
    A
    B
    1
    Research Topic Supervisor
    2
    Physics Anand
    3
    Carren
    4
    Enoel
    5


    B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy down.!!
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

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

    Re: excel compare value & list results

    Use Pivot Table
    Attached Files Attached Files
    Last edited by samba_ravi; 10-27-2017 at 07:51 AM.
    Samba

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

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    If you are going to make a suggestion like this, i.e. using a pivot table, please provide an example, as not everyone is conversant with them. Thanks!

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

    Re: excel compare value & list results

    sorry Aligw, File Attached.
    Last edited by AliGW; 10-27-2017 at 07:55 AM. Reason: Unnecessary quotation removed.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    Thanks, Siva - that's very helpful.

  9. #9
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    Re: excel compare value & list results

    Thanks Ankur. I am looking to get Anand, Carren & Enoel in single cell in drop down menu! Thanks.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    If you want a drop-down menu, then you need to base it on the list generated in the solution I offered.

  11. #11
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: excel compare value & list results

    Check the attached file is this what you looking for
    Attached Files Attached Files

  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,101

    Re: excel compare value & list results

    I really do not follow what you want. You still haven't uploaded a sample sheet showing your desired result. Is this anyway close?

    I will explain later. Enable macros on opening.
    Attached Files Attached Files

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    The OP has completely ignored the suggestions offered by all but one person in this thread, so offering guidance is not easy.

    @Rosh2g - out of courtesy, please give some feedback on each of the suggestions offered. Members are going out of their way to try to help you. Thanks.

  14. #14
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    Re: excel compare value & list results

    Hi Ankur,

    Yes it is the one i am looking for. Please could you share how to do it?

    Thanks

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    Are the rest of us completely invisible?

  16. #16
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    Re: excel compare value & list results

    Sorry AliGW,

    Bit panicked & tired of looking in internet so couldn't reply all. I am looking all posts. Thanks.

    Thanks

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    It would be nice if you at least acknowledged those who have offered you help, tired and panicked or not.

  18. #18
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    Re: excel compare value & list results

    Appreciate your help Ali & everyone. Still waiting for formula to get result!

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    But the formulae you need are in the attachment you were provided in post #11.

  20. #20
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    Re: excel compare value & list results

    Hi AliGW,

    Hope you are well. Thanks for your reply.
    How can i see formula??? Any idea.

    Thanks

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: excel compare value & list results

    Open the attachment provided in post #11.

  22. #22
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    Re: excel compare value & list results

    Thanks ALiGW. I have opened it but cannot see formula!

    Thanks

  23. #23
    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,101

    Re: excel compare value & list results

    Shukla was maybe trying to do too much. Open the sheet at Post 11 and follow the instructions (it took me a while to see it) ... delete the contents of cell F1.

  24. #24
    Registered User
    Join Date
    10-27-2017
    Location
    london
    MS-Off Ver
    2010
    Posts
    8

    Re: excel compare value & list results

    Dear Shukla,

    Thanks for sharing. I can see that you have pulled the result in D column of sheet 2, & then pulled it in a list of B column(Sheet 2). Is there a way we can pull result directly in a list in B column of Sheet 2?

    Thanks for your help.

  25. #25
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: excel compare value & list results

    May be someone else who is expert in VBA can do this, I shared what I know through formula.

    Glenn sorry if you have seen the dot part for a while

  26. #26
    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,101

    Re: excel compare value & list results

    Did you EVER look at Post 12?

  27. #27
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: excel compare value & list results

    Quote Originally Posted by Glenn Kennedy View Post
    Did you EVER look at Post 12?
    No I was quite busy with my company closing these days I have seen right now your attached file, but there is #Name error showing

+ 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. Compare 2 excel list and add new items.
    By calvinle in forum Excel General
    Replies: 4
    Last Post: 08-23-2016, 04:31 AM
  2. Excel drop down list that filters applicable results
    By MissAudrey in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-13-2015, 01:29 PM
  3. Replies: 3
    Last Post: 10-30-2013, 09:18 AM
  4. [SOLVED] Compare two names list and compare other column aftrerwards
    By badboynads in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2013, 12:46 PM
  5. Replies: 2
    Last Post: 01-27-2012, 02:19 AM
  6. Removing zeros from a list of results? Excel 2003
    By matt2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2011, 05:25 PM
  7. Excel list compare
    By DMNR in forum Excel General
    Replies: 14
    Last Post: 05-14-2010, 10:28 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