+ Reply to Thread
Results 1 to 14 of 14

Fill the form in Sheet3 using data from Sheet1

  1. #1
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Cool Fill the form in Sheet3 using data from Sheet1

    I want to fill the form on Sheet3 for each school using the details from Sheet1.
    I fill it manually each month which kills my time as well as my energy..
    Please help me.!!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Fill the form in Sheet3 using data from Sheet1

    See if this does what you need. All I did was:
    1) In Sheet1 added a column to determine Double or Single
    2) Did an Advanced filter to get a list of the unique bus values.
    3) Copied my list of busses to Sheet 3.
    4) Set up formulas in E10:K36 to bring in the missing values. Wasn't sure how you were arriving at a "Shared School Name", so didn't do anything for that field.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Fill the form in Sheet3 using data from Sheet1

    the Detail on Sheet3 is not correct..

  4. #4
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Fill the form in Sheet3 using data from Sheet1

    There are only 6 buses hired in Awael school not 27.. I want only the buses that are hired in Awael KG and AlJood Boys School on Sheet3
    Attached Files Attached Files
    Last edited by alipezu; 10-12-2016 at 05:20 AM.

  5. #5
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: Fill the form in Sheet3 using data from Sheet1

    Have you tried to amend what jomili has done for you?

  6. #6
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Fill the form in Sheet3 using data from Sheet1

    I haven't tried, I just watched what Jomili did but it's not what I needed, Jomili created 27 rows with mixed schools but I want for specific school. I want to create sheet for each school to know how many and what type of buses are there in each school. So I uploaded a new workbook with 2 new sheets with school names. I want to get those sheets filled from the Sheet1.
    I will be thankful If some one help me in that..
    Last edited by alipezu; 10-12-2016 at 08:29 AM.

  7. #7
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Fill the form in Sheet3 using data from Sheet1

    Alipezu,

    The solution I provided was spot on with what you initially outlined in your problem ("I want to fill the form on Sheet3 for each school using the details from Sheet1."). It's incorrect to say "the Detail on Sheet3 is not correct." when what you really mean is "The result is not what I actually wanted. Let me refine my requirements". With all that said, the only difference needed on my initial solution is to change the list of buses to the list from each school. I've provided a formula that will do that for you. See the "Aljwood" sheet; it's all formula driven. You're welcome.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Fill the form in Sheet3 using data from Sheet1

    It looks like it's working as I wanted, I will check it later completely as I am very busy now.
    Jomili you're a champion!!
    I will'be very thankful to you if you give some details about the formulas you used as I have littel bigger table in some other workbook and I want to apply your formulas there.
    Last edited by alipezu; 10-12-2016 at 11:20 AM.

  9. #9
    Registered User
    Join Date
    08-30-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016,office 365
    Posts
    69

    Re: Fill the form in Sheet3 using data from Sheet1

    Alipezu,

    Kindly check the attached file as per your requirement.
    1. If you have new school,add the school name in school Tab
    2. Don't delete the rows & columns where ever highlight in the Green colour in the Data Tab, Report Tab and school Tab
    3. In report tab you have dropdown option for selection school Name & Tab
    4. Don't rename the school type in you table.

    I think this sheet will help you,

    Rgds
    Krishna
    Attached Files Attached Files

  10. #10
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Fill the form in Sheet3 using data from Sheet1

    Quote Originally Posted by alipezu View Post
    It looks like it's working as I wanted, I will check it later completely as I am very busy now.
    Jomili you're a champion!!
    I will'be very thankful to you if you give some details about the formulas you used as I have littel bigger table in some other workbook and I want to apply your formulas there.
    Sure, always glad to explain.

    Looking at the “Sheet1” table, Column H is the only one I added (don’t need J). That’s basically the same formula as you had in Column B, but instead of returning 1 or 2 I return “Single” or “Double”. I needed those values returned for the next steps.

    Going to the “Aljood” sheet:
    The hardest one to understand is the formula in C10 and down, which returns the Bus numbers for that school. Fortunately there’s a great explanation of this technique at https://fiveminutelessons.com/learn-...le-values-list The only difference between that explanation and my formula is that, since we’re working with a table, I used constructions like “IF(Table1[BoysSchool]=AlJood!$D$4” instead of “IF(‘Sheet1”!F2:F144=AlJood! D$4”.

    For Bus Type, it’s just a straight forward VLookup from the Bus Number to return the Bus Type.

    For the double or single Trip Types we compare the Bus Type to the left word in E8 or G8 (Large or Small) to determine in which column to do a Vlookup using the values in E9 through H9. This is why we needed “Double” or “Single” in the table, because it makes it simpler.

    Still not sure what goes in “Shared School Name”, so nothing there.

    For the driver, since the value is to the Left of the Bus Number in the Sheet1 table, a “normal” VLookup wouldn’t return the value (a “normal” VLookup looks only to the right). I COULD have done it by combining CHOOSE with VLookup, but I’m trying to train myself to use Index/Match more, and in looking to Left OR Right Index/Match excels. So, that’s what’s used to bring in the driver. If you’re not familiar with Index/Match you can find a lot about it on the internet. Here’s one place to get you started: https://www.ablebits.com/office-addi...ction-vlookup/

  11. #11
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Fill the form in Sheet3 using data from Sheet1

    Jomili and Krishnakuma6,
    I am very thankful for the help. krishnakuma6 has made my work little more easy with that dynamic report. Krishnakuma6 can you explain about those grey headings? as I am not that advanced excel user.
    Thanks to both!!

  12. #12
    Registered User
    Join Date
    08-30-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016,office 365
    Posts
    69

    Re: Fill the form in Sheet3 using data from Sheet1

    Sure, I will explain in Evening, Morning I have meeting and lot of task to do

    Krishna

  13. #13
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Fill the form in Sheet3 using data from Sheet1

    Dear krishnaKuma6 and Jomili,
    I am so thankful to both of you.
    Today my company changed the database I was working on. Now there are no small or large bus columns, instead fewer columns in the Report Sheet. But the database1 sheet have too many columns and I think you can sort out that for me. I am attaching both the workbooks. If you guys can help me creating Report from Database1 on another workbook 'School Report'
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Cool Re: Fill the form in Sheet3 using data from Sheet1

    Jomili and Krishna I appreciate your help alot and all my problems solved. Here is just one question. AlJood school has three sections KG, Boys and Girls and If there is a driver who has Two sections in AlJood, I would like he gets mentioned in the Report in two rows.
    Please watch the attachments where I have highlighted yellow and that would help you understand what I need.
    Thank you for the help.!
    Attached Images Attached Images

+ 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. Replies: 2
    Last Post: 10-01-2014, 03:41 PM
  2. Replies: 8
    Last Post: 12-22-2013, 01:16 PM
  3. [SOLVED] Copy Range of data from sheet1 and sheet2 paste it in sheet3
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2013, 05:55 AM
  4. Copy Range of data from sheet1 and sheet2 paste it in sheet3
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2013, 05:47 AM
  5. [SOLVED] Data auto fill from sheet2 and sheet3 to sheet1
    By Nikesh_2515 in forum Excel General
    Replies: 18
    Last Post: 03-21-2013, 11:46 PM
  6. Replies: 5
    Last Post: 08-29-2012, 03:08 AM
  7. Transfer data from sheet1 to sheet2 and sheet3
    By vbosmiya in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2007, 11:42 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