+ Reply to Thread
Results 1 to 14 of 14

Auto populate worksheets

Hybrid View

  1. #1
    Registered User
    Join Date
    08-16-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    6

    Auto populate worksheets

    Hi,
    I am trying to populate worksheet 2, after criteria "x" is met on Worksheet1.
    I have tried an IF statement, but I am not sure that is the appropriate method.
    This is general info, such as name address, etc. no calculations.
    Any help would be greatly appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Auto populate worksheets

    I would be happy to take a look if you could please upload your workbook

  3. #3
    Registered User
    Join Date
    08-16-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Auto populate worksheets

    Here is the file, Thank You in advance.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Auto populate worksheets

    =IF(Sheet1!A1=Sheet1!B1,Sheet2!C1=Sheet1!C1,"")

    Something like that, if not give us a sample please.

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Auto populate worksheets

    I think I understand. Your formula above should be inserted into cell C1 on sheet 2, and should look like this:
    Formula: copy to clipboard
    =IF(Sheet1!A1=Sheet1!B1,Sheet1!C1,"")
    Explanation:
    If the value of A1 and B1 on Sheet1 are identical, then the formula will return the value of C1 on Sheet1, otherwise it will return an empty string.

    I hope I have understood you correctly. If not please let me know. If this is a misunderstanding, then again I will suggest that you please upload a workbook containing a sample of your data and an explanation of the outcome(s) that you are trying to achieve.

    Thanks

  6. #6
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Auto populate worksheets

    Quote Originally Posted by ajryan88 View Post
    I think I understand. Your formula above should be inserted into cell C1 on sheet 2, and should look like this:
    Formula: copy to clipboard
    =IF(Sheet1!A1=Sheet1!B1,Sheet1!C1,"")
    Explanation:
    If the value of A1 and B1 on Sheet1 are identical, then the formula will return the value of C1 on Sheet1, otherwise it will return an empty string.

    I hope I have understood you correctly. If not please let me know. If this is a misunderstanding, then again I will suggest that you please upload a workbook containing a sample of your data and an explanation of the outcome(s) that you are trying to achieve.

    Thanks
    That is my understanding of the posters query, without data makes it harder to show a true representation.

  7. #7
    Registered User
    Join Date
    08-16-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Auto populate worksheets

    I uploaded a workbook----more than once.

    Thanks

  8. #8
    Registered User
    Join Date
    08-16-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Auto populate worksheets

    Here is a short version of what I am trying to do.

    Thank you
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Auto populate worksheets

    Sorry, I should have updated you. I'm looking into it as I reply to this Sorry for the lack of communication

  10. #10
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Auto populate worksheets

    Hi, I think I have done what it is that you are asking. Enter this formula into cell A2 on the "LH" worksheet:
    Formula: copy to clipboard
    =IFERROR(INDEX(Sheet1!A$2:A$7,SMALL(IF(Sheet1!$A$2:$A$7="L",ROW($A$2:$A$7)-ROW($A$2)+1),ROWS($A$2:$A2))),"")
    then enter it using Ctrl + Shift + Enter (array formula), and then you should be able to drag the formula across and down as far as you like.

    I have attached your example workbook with this filled out, just for your reference.

    I hope this helps, let me know

    EDIT: I have made the conditional part of the formula above bold, to show you what to change to suit the condition(s) that you want met. At the moment, this will display all rows that have an "L" in column A
    Attached Files Attached Files
    Last edited by ajryan88; 08-17-2013 at 09:40 AM.

  11. #11
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Auto populate worksheets

    Have setup this sheet for you as I think your wanting it to display on secondary sheets

    Using an extra field for each additional sheet (on sheet1, col N is for HR, Col O is for ER)
    formula in those cells

    Placed this in Col N
    =K2&COUNTIF($K$2:K2,K2) <-- HR cell on sheet1

    On HR sheet, place this in A2 and copy across and down as required.
    =IFERROR(INDEX(Sheet1!$A$1:$N$6000,MATCH("x"&ROW(A1),Sheet1!$O$1:$O$6000,0),MATCH(A$1,Sheet1!$A$1:$N$1,0)),"")
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    08-16-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Auto populate worksheets

    Thank you, I think this will work. I really appreciate your help.

  13. #13
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Auto populate worksheets

    Hi Karen,

    Just out of curiosity, which solution did you use?

    Also, please don't forget to mark this thread as solved and say thanks to anyone who helped you by clicking on the * next to their post

  14. #14
    Registered User
    Join Date
    08-16-2013
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Auto populate worksheets

    Hi,
    I used the AYdata, but also downloaded the example you posted. Thank you both for taking the time to help out.

+ 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. auto populate (drag?) long list of links to other worksheets
    By phillyon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2013, 09:24 AM
  2. Auto populate list of names from various worksheets
    By shuttletech in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-08-2011, 09:44 AM
  3. Auto-populate data from 3 major worksheets to several sheets on a workbook
    By CBarlow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2009, 08:09 PM
  4. auto populate within multiple worksheets
    By r3b3ckah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2009, 12:52 AM
  5. how to auto populate full worksheets
    By hoyt in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 06-13-2006, 03:45 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