+ Reply to Thread
Results 1 to 25 of 25

Find, Match and Populate Formula

  1. #1
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Wink Find, Match and Populate Formula

    Hi Experts,

    I've attached a sample record that contains 2 worksheets (StudentRecord_Sample.xls).

    Sheet1 contains student record information such as: Index, Group Name, Student ID, Activities
    Sheet2 contains Student ID, Index

    Sheet1 is a raw data. By only using the "given" student ID in Sheet2 (column A), how would it be possible to extract the "INDEX" information and populate its information as shown in colum B (yellow highlight)? Column A is the "given" input. Column B is the desired output.

    Apprecite for your kind help.

    Thank you.

    - Blue
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Experts,

    Anybody can help me please?

    Thanks.


    - Blue

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

    Re: Find, Match and Populate Formula

    Ideally is separate in different column, in one cell is possible but not efficient, manually involved, please see the file
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Thanks for your help.

    I've tested and it's working as expected.

    Yep, method 1 looks more efficient than 2.

    However, I'm having some problem when I tested on a bigger raw data, let's say data with more than 1000 rows.

    Will it be possible to make a flexible parameter to cater for this?

    Thanks.


    - Blue

  5. #5
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Experts,

    Anybody else can help me please?

    Thanks.


    - Blue

  6. #6
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Experts,

    Anybody?


    - Blue

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

    Re: Find, Match and Populate Formula

    Quote Originally Posted by Blu3St@r View Post
    Hi Azumi,

    Thanks for your help.

    I've tested and it's working as expected.

    Yep, method 1 looks more efficient than 2.

    However, I'm having some problem when I tested on a bigger raw data, let's say data with more than 1000 rows.

    Will it be possible to make a flexible parameter to cater for this?

    Thanks.

    - Blue
    Did adjust the ranges of formula for your actual workbook? I mean formula method 1?

    Thanks

  8. #8
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Thanks for your response.

    Yes, I've tried to adjust the values in the given formula, but somehow could not get it right.

    The formula looks vey complicated, I may get lost somewhere

    Could you help?

    Thanks.


    - Blue

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

    Re: Find, Match and Populate Formula

    Sure I'll help, just tell me which way

  10. #10
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Find, Match and Populate Formula

    hi there,

    if you are satisfied with azumi's Method 1 approach, then here is a much simpler way of achieving that, with far fewer moving parts. pay attention to the notes within.

    UPDATED for extended ranges, without need for Conditional or General formatting...
    Last edited by icestationzbra; 04-20-2014 at 02:26 PM.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  11. #11
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Thanks for your response.

    Could you help to update the formula for both methods so I could perform some testings?



    - Blue

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

    Re: Find, Match and Populate Formula

    Ok Could you explain the situation of you actual table is? In what sheet, ranges, and where you put the formula?

    I need the detail

    Thanks

  13. #13
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Thanks for your response.

    I've updated the excel files for both methods as per attached ("StudentRecord_Sample (Method1).xls" and "StudentRecord_Sample (Method2).xls").

    Max number of raw data: 1000 rows.

    Thanks.


    - Blue

  14. #14
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Hope I've provide the required info.

    Do let me know if you need anything.

    Thanks.



    - Blue

  15. #15
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Hope I've provided the required info.

    Do let me know if you need anything.

    Thanks.



    - Blue
    Last edited by Blu3St@r; 04-05-2014 at 11:15 AM. Reason: typo

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

    Re: Find, Match and Populate Formula

    Sorry I've slow connection, last conversation, I workin on it

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

    Re: Find, Match and Populate Formula

    Im done with adjusted the ranges to 1000 rows, and follow this when you copy paste the formula:

    1. Double click on formula first row, or press F2 button keyboard, so you can see formula inside cell
    2. and then select it or blocked it wirh your mouse, from left to right formula, and copy that formula with your right click mouse or you can press CTRL-C)
    3. and paste on desired workbook on desired cell, yes you must open you actual workbook first
    4. Last step when you see the error, double click again or F2, when formula or cell contain formula open, press CTRL-SHIFT-ENTER button together (coz this array formula)

    Thanks

  18. #18
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Much appreciated for your response and help.

    I've tested using more raw data and the results are:

    METHOD1 is still having problem as I'm unable to get the correct output, see attached (StudentRecord_Sample (Method1)(B).xls).

    METHOD2 is working OK, result is as expected.

    Could you help to check?

    Thanks.


    - Blue
    Attached Files Attached Files
    Last edited by Blu3St@r; 04-06-2014 at 09:42 PM. Reason: add more info

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

    Re: Find, Match and Populate Formula

    Look at post #17, already updated

  20. #20
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Yep, I just saw your reply and had amended my response.

    Could you help to check?

    Thanks.


    - Blue

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

    Re: Find, Match and Populate Formula

    Quote Originally Posted by Blu3St@r View Post
    Hi Azumi,

    Yep, I just saw your reply and had amended my response.

    Could you help to check?

    Thanks.


    - Blue

    Ok hold for a sec... maybe something missed

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

    Re: Find, Match and Populate Formula

    Would u check please, hope its right this time....
    Attached Files Attached Files

  23. #23
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi Azumi,

    Much appreciated for your response and help.

    METHOD1 is working OK now, issue has been resolved.

    I feel that it's much easier to manage METHOD2 but it doesn't matter since both are working OK.

    Anyway, once again, thanks for your kind help.

    Have a nice day.


    - Blue

  24. #24
    Registered User
    Join Date
    10-15-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Find, Match and Populate Formula

    Hi icestationzbra,

    Thanks for your help.

    I've tried your method and found it quite complicated due to conditional formatting requirement. I couldn't get it working testing using my raw data.

    Anyway, I've gotten a working solution from Azumi so I think I'll use that.

    Thanks and have a nice day.


    - Blue

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

    Re: Find, Match and Populate Formula

    Quote Originally Posted by Blu3St@r View Post
    Hi Azumi,

    Much appreciated for your response and help.

    METHOD1 is working OK now, issue has been resolved.

    I feel that it's much easier to manage METHOD2 but it doesn't matter since both are working OK.

    Anyway, once again, thanks for your kind help.

    Have a nice day.


    - Blue
    You're welcome, glad it works finally, thanks for feedback too....

+ 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. Formula Needed to match 2 ranges of data and populate cell with answer
    By ZanPal in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-08-2013, 08:19 AM
  2. Replies: 5
    Last Post: 02-29-2012, 08:51 PM
  3. Find Match and Populate ListBox
    By zimbo109 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2010, 03:59 PM
  4. Formula to match data & Populate Column
    By DekHog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2007, 02:19 AM
  5. INDEX/MATCH formula in VBA to populate text boxes
    By Amber_D_Laws in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-17-2006, 12:19 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