+ Reply to Thread
Results 1 to 13 of 13

Fill cells in one sheet one column with values from other spreadsheets matching 2 criteria

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    Florida US
    MS-Off Ver
    Excel 2007
    Posts
    96

    Fill cells in one sheet one column with values from other spreadsheets matching 2 criteria

    for forum 5 rev.xlsxSpreadsheet "Elem FCAT Reading" needs column E filled with score from "2012 R3 sch" column m, if/where columns B & D match.
    Spreadsheet "Elem FCAT Reading" needs column F filled with score from "2013 R3 sch" column m, if/where columns B & D match.
    ...etc.
    ("Elem FCAT Reading" needs columns E, F, H, I, K, L, filled from other spreadsheets, column m, if/where columns B & D match.)
    attached sample but not all spreadsheets are there, too big.


    Tried lookup but can't workaround two criteria and do not know index and match well enough to generate syntax...any help greatly appreciated!!
    Thanks,
    Synthia
    Last edited by synses; 06-13-2013 at 10:18 AM. Reason: mistake

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    No sheet present in your attachment with the name "Elem FCAT Scores"


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    Hi Synthia
    Try using the AND function with two VLOOKUP functions, for example:

    =IF(AND(VLOOKUP("ONE",A:B,2,FALSE),VLOOKUP("Two",C:D,2,FALSE)),"Yes","No")

    Without seeing the actual worksheets you want populated it is difficult to help you more accurately.
    Hope this helps.
    Good luck.
    Tony

  4. #4
    Registered User
    Join Date
    07-05-2012
    Location
    Florida US
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    Sorry, you are right, I modified original message just now, it should have been and is now "Elem FCAT Reading".
    Thanks,
    Synthia

  5. #5
    Registered User
    Join Date
    07-05-2012
    Location
    Florida US
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    HI ARGK,
    The actual worksheet to be populated is "Elem FCAT Reading"
    Thanks, Synthia

  6. #6
    Registered User
    Join Date
    07-05-2012
    Location
    Florida US
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    for forum 5 rev.xlsx
    The matching columns were wrong, too. It is column B & D, and I had to insert a column in the sheet to fill, "Elem FCAT Reading" to make them line up.
    Sorry, Attached revised version.
    Thanks for any help you can offer!!!
    Synthia

  7. #7
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    Hi Synthia
    You mention columns B and D need to match. Which worksheet are you referring to and what do the columns have to match with.
    Tony

  8. #8
    Registered User
    Join Date
    07-05-2012
    Location
    Florida US
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    HI Tony,
    The worksheet "Elem FCAT Reading" has:
    District Number in column B
    School Number in column D
    3rd grade 2012 RDG % ≥ Lvl 33 in column F (blank to be filled from: "2012 r3 sch" column M for rows that have the same District Number in column B & School Number in column D)
    3rd grade 2013 RDG % ≥ Lvl 33 in column G (blank to be filled from: "2013 r3sch" column M for rows that have the same District Number in column B & School Number in column D)

    4th grade 2012 RDG % ≥ Lvl 33 in column I (blank to be filled from: "2012 r4_sch" column M for rows that have the same District Number in column B & School Number in column D)

    4th grade 2013 RDG % ≥ Lvl 33 in column J (blank to be filled from: "2013 r4_sch" column M for rows that have the same District Number in column B & School Number in column D)

    for forum 5 rev.xlsx

    Does that make sense?
    Thanks for any help you can offer!
    Synthia

  9. #9
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    Hi Synthia
    That makes it much clearer , thanks.
    If the School name is unique (which it appears to be) then why can you not use VLOOKUP on the School Name, or have I missed something?
    Tony

  10. #10
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    Hi Synthia
    Please find herewith your solution which I hope works for you.
    I have done the 2012 r3 sch sheet for you which you can follow for the remaining sheets.
    Here's how it works:
    1. In Sheet "Elem ECat Reading" I have inserted an extra column (Col A) and in that column I have concatenated the District No and School Number into one field.
    2. Then I have formatted the Columns A, B and D to be numbers with no decimal places.
    3. In Sheet "2012 r3 sch" I have again inserted a new Column (Col A) and done the same with the District No and School number into Col A.
    4. Then on the "Elem ECat Reading" sheet in column F I have created a single VLOOKUP to return the values you need from the "2012 r3 sch" sheet. The first part of the VLOOKUP just checks to see if the value value can be found, if not leave the cell blank, if the value is found then return it.

    You can use this formula for the remainder of the values you need to populate the main Summary sheet.
    If you need further help then come back to me.
    Tony
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-05-2012
    Location
    Florida US
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    THANK YOU SO MUCH, That is AMAZING. I am very grateful and hope I can help you or someone else that way someday!Gratefully, Synthia

    If you ever do this for a fee that is mall enough for someone in education to pay, please send me contact info!
    (-:

    synses@live.com

  12. #12
    Registered User
    Join Date
    07-05-2012
    Location
    Florida US
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    Encountering tons of formatting/matching issues, and this is marked solved and old, so I will post the formatting question below in a new message.(too)
    This is what I wound up using:

    HTML Code: 
    (array formula)

    It matches district name and school name. School names are typed differently in many pages. Compiling 40 sheets into one page took all day. Still faster than data entry but lots of correcting errors due to "no match" when there is a match that is slightly differently spelled or carries an ' or not. (I have 40 more to compile and need this day for errands and chores)

    It would SEEM to be easier to match district number and school number BUT they are formatted differently - some custom, some special, some with an ' that I can't remove and make it stay removed, etc.

    Thanks for your help,
    Synthia
    Gratefully,
    Synthia

  13. #13
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Fill cells in one sheet one column with values from other spreadsheets matching 2 crit

    Hi Synthia
    Make sure that all your School and District numbers are formatted as numbers with no decimal places and that should help.
    Tony

+ 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