+ Reply to Thread
Results 1 to 9 of 9

I need to auto populate cells in one sheet with data from another sheet

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    united states
    MS-Off Ver
    Excel 2007
    Posts
    5

    Post I need to auto populate cells in one sheet with data from another sheet

    APFT_HTWT_ALPHA ROSTER_ROLL UP.xls

    I need help, I am using Excell 2007 on a windows 7 OS. What I want to do is populate cells H and J on the sheet named Roll up Nov13 with data from the sheet named AR 600-9 Table 3-1 & 3-2 based on the data that is in cells D,Eand F on the Roll up Nov 13 sheet. any help would be appreciated. I have attached the woorkbook.

    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: I need to auto populate cells in one sheet with data from another sheet

    Hi and welcome to the forum

    Im not sure what the difference would be between H and J, but try this.

    1st, put the lower of the age ranges in B28:H28, then in J, copied down...
    =INDEX(INDIRECT($E2),MATCH($F2,'AR 600-9 Table 3-1 & 3-2'!$A$4:$A$27,0),MATCH(D2,'AR 600-9 Table 3-1 & 3-2'!$B$28:$E$28,1))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-27-2012
    Location
    united states
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: I need to auto populate cells in one sheet with data from another sheet

    I see what you are saying, the difference between H and J is H is max weight from AR 600-9 Table 3-1 & 3-2 based on male or female and there height and age. J is max percentage from AR 600-9 Table 3-1 & 3-2 based on male or female and age.

  4. #4
    Registered User
    Join Date
    08-27-2012
    Location
    united states
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: I need to auto populate cells in one sheet with data from another sheet

    Doing what you suggested returns a #REF!

    any suggestions?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: I need to auto populate cells in one sheet with data from another sheet

    Darn, my bad sorry I forgot to tell you to create range names on AR sheet for Male and Female
    Male range ='AR 600-9 Table 3-1 & 3-2'!$B$4:$E$27
    Female range ='AR 600-9 Table 3-1 & 3-2'!$F$4:$I$27

  6. #6
    Registered User
    Join Date
    08-27-2012
    Location
    united states
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: I need to auto populate cells in one sheet with data from another sheet

    That works, but it gets the value one row under the one it should be from the AR table.

  7. #7
    Registered User
    Join Date
    08-27-2012
    Location
    united states
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: I need to auto populate cells in one sheet with data from another sheet

    I got it to work, Just had to change a A4 to A5, then it pulled the right info. Can you help me to get it to draw the Allowable body fat percentage from the AR sheet to the Roll up sheet column J and have the cell turn red if its greater than the value in column I.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: I need to auto populate cells in one sheet with data from another sheet

    to pull in the data in J, use this, copied down...
    =INDEX(IF(E2="Male",'AR 600-9 Table 3-1 & 3-2'!$K$5:$N$5,'AR 600-9 Table 3-1 & 3-2'!$O$5:$R$5),MATCH(D2,'AR 600-9 Table 3-1 & 3-2'!$K$6:$N$6,1))
    (In K6:N6, put in the lower ranges, as before)

    In column I, you only have 3 values, but to change color, you need to use Conditional Formatting. Take a look and see if you can work it out yourself, if not, give me a shout and I will help you

  9. #9
    Registered User
    Join Date
    08-27-2012
    Location
    united states
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: I need to auto populate cells in one sheet with data from another sheet

    I got it all to work as I wanted. Thanks for all the help.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: I need to auto populate cells in one sheet with data from another sheet

    Happy to help and thanks for the feedback

+ 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 a Sheet from Data on Another Sheet
    By thetaramichelle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-07-2013, 03:51 PM
  2. [SOLVED] auto populate sheet references that skip cells
    By groovy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-10-2012, 08:47 AM
  3. Replies: 3
    Last Post: 05-03-2012, 11:01 AM
  4. Replies: 4
    Last Post: 03-01-2012, 01:05 PM
  5. Auto-populate cells based on data from another sheet
    By tmartin1313 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-16-2011, 12:15 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