+ Reply to Thread
Results 1 to 14 of 14

how to autopopulate cells based on values from other cells

  1. #1
    Registered User
    Join Date
    07-27-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    13

    how to autopopulate cells based on values from other cells

    hi everyone,

    i'm currently doing a training database in excel, column B contains the list of competencies while column D contains the type of training (whether external, internal or webinar). i want this to work by having the users select their competencies, choose what type of training and from there, column e would be automatically populated.

    my question is: how do i autopopulate column e based on the selction made from column b and column d? also, there would be numerous values that would need to appear.

    thank you.

  2. #2
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: how to autopopulate cells based on values from other cells

    Hi marbie
    there could be many ways. it is better to upload a sample workbook with sample data and your desired results

    In order to attach a file Click the Go Advanced button, and click on the Manage Attachments button
    Azam
    If you want to say Thank you to a member, click the reputation icon (Star) in the left bottom of the post.
    For prompt answer, be descriptive, concise, short, direct, and to-the-point.

  3. #3
    Registered User
    Join Date
    07-27-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to autopopulate cells based on values from other cells

    hi azam ali,

    thanks for the reply. here'e the attachment.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: how to autopopulate cells based on values from other cells

    Hi marbie

    find the attatch file. is it help?
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: how to autopopulate cells based on values from other cells

    Hi Marbie;

    Nice spreadsheet so far. Good use of relative data validation dropdowns. If you produced this yourself, you have quite a bit of knowledge in excel, so I should be able to keep explanations high level.

    However, before I can choose the right solution, I had a question on the requirements. Two things really:

    1) Is Department important for choosing the proper Training? Or is it just the Competency/Type? If Department is irrelevant, then why is it included in the Training Matrix Worksheet?

    2) When I reviewed the Training Matrix Worksheet, it appeared that there were many items that could fall under a single designation of a Competency and Classification. For example, a Quality of Product Management External could be:
    Technical Writing and Documentation OR
    Managing Change and Transition

    Were you looking for a drop down menu to be made within the Final Form, or just an automatically populated lookup value? If just automatically populated, how would you select from the multiple entries in the Training Matrix table?


    As a side note:

    I can understand if additional information has been removed, but it's typically in poor practice to split/merge cells for reference data, and it can negatively impact the ability to do lookups, such as Column A in Training Matrix and Column A in Training Summary.


    In Conclusion:
    You can use =concatenate on the two criteria and use that as the value for a vlookup. It wouldn't require additional numerical values in your reference data, but it would require an additional column with a concatenation of the same two criteria in the reference data.
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  6. #6
    Registered User
    Join Date
    07-27-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to autopopulate cells based on values from other cells

    hi miraun,

    thanks for your reply. in answer to your query:

    1. how the excel works is that the user would choose his department and from that the competency list would be generated. each department has its own unique competencies.

    2. yes, there are multiple possible answers that would be generated once the competency -clasisfication has been selected. i was hoping that excel has a function that once that the selection has been made, then all possible answers would be reflected. the filter will be on the classification.

    i'll try your suggestion on =conacatenate.

    i'll be waiting though for your other answers...

    thanks so much!!!

  7. #7
    Registered User
    Join Date
    07-27-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to autopopulate cells based on values from other cells

    hi azam ali,

    thanks for the worksheet. it works but i have a question. can i use that formula so i can just drag down the cell so the rest of the possible training would appear? there is a one-to-many relationship in terms of the training-classification combination and i want all possible answers to appear when the user made a selection.

    i'm not familir with the formula you've used so i'll look it up.

    thanks again!!!

  8. #8
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: how to autopopulate cells based on values from other cells

    Ok, so each competency is unique, and then 3 different methods of training.

    Unfortunately, a vlookup would just result in the first entry that meets the criteria. You would need to do another level of data validation, which would require a large reorganization of the data. Personally, I'm leaving on a nice long 18 hour or so flight. I've copied the sample spreadsheet, I'll see if I can put something together to minimize the manual work associated with the reorganization of data.

    In terms of sizing and scoping, I know this is just a sample of 36 competencies with 158 training items, but could you give me an idea of the size of the live data?

  9. #9
    Registered User
    Join Date
    07-27-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to autopopulate cells based on values from other cells

    well, now you have something that will keep you occuppied on your long flight... hehehe... just kidding

    actually, as of this writing this is still an on going project. we have yet to develop the competencies for other departments. i can't say yet the actual size of the live data.

    i was thinking of using access instead but the text field is limited to 255 characters only...

  10. #10
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: how to autopopulate cells based on values from other cells

    Access would likely be easier. But that decision is up to you and your intended audience / user base.

    Memo field type offers near limitless characters, but has some reporting and export problems in excess of 512 characters.

    The current solution that I'll be looking into is writing up some VBA to migrate the data from the Training Summary page over into the training matrix page, and then create the necessary named ranges for the Training data validation.

    Wonder if I can finish it before my battery dies.

  11. #11
    Registered User
    Join Date
    07-27-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to autopopulate cells based on values from other cells

    i hope you do finish before your battery dies. hehe...

    i'm studying vba now as i do not know how it works. hopegfully i could also come up with a solution to this issue.

    anyway, have a safe trip and hopefully you can help me out soon.

    thanks much!!

  12. #12
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: how to autopopulate cells based on values from other cells

    Hi marbie

    find the attatche file with formula for list of trainings
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    07-27-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to autopopulate cells based on values from other cells

    hi azam ali,

    this is exactly what i have in mind. thanks so much!!!!

    new formula to study...

  14. #14
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: how to autopopulate cells based on values from other cells

    welcome

    It is recommended to use evaluate formula option in the formula tab in order to understand the formula

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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