+ Reply to Thread
Results 1 to 7 of 7

Need to fill in data base on specific grades on other sheets !!

Hybrid View

  1. #1
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Need to fill in data base on specific grades on other sheets !!

    Hello forum
    like title said,, I need to fill in data on the 4 yellow colored sheets in the attachment base on data from "Term 1 Sheet" or "Total Form" (Pick w/e easier)
    1st sheet need to fill all Students who have Total Absent from 25 points and above
    2nd sheet need to fill all Students who have Total Absent from 50 points and above
    3rd sheet need to fill all Students who have Total Absent from 75 Points and above
    4th sheet need to fill all Students who have 100 Remain Grades

    Hope u understand wt I need,,,

    Thanks in advance !!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: Need to fill in data base on specific grades on other sheets !!

    if it needs VB or macros can any Mods transfer this topic to the right section plz :D

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,646

    Re: Need to fill in data base on specific grades on other sheets !!

    Can you manually add the results you would expect for the sample data you've given?

    Why do you need this data on lots of different sheets?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    11-15-2017
    Location
    Glasgow
    MS-Off Ver
    2016
    Posts
    12

    Re: Need to fill in data base on specific grades on other sheets !!

    Hi,


    Without the use of macros I have added the following code to the <25 tab

    =IFERROR(INDEX('Total Form'!A:A,SMALL(IF('Total Form'!$L:$L<25,IF('Total Form'!$L:$L>0,ROW('Total Form'!A:A),"")),ROW()-1)),"")

    in Cell A2 and can be dragged across.


    This is an array so Ctrl+Alt+Enter, I would also recommend limiting thecolumns to the length of the table i.e L2:L50 rather than L:L
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: Need to fill in data base on specific grades on other sheets !!

    Quote Originally Posted by AliGW View Post
    Can you manually add the results you would expect for the sample data you've given?

    Why do you need this data on lots of different sheets?
    I know with filter copy n paste,,
    tell that to my manager... :z

    i'll try to add results in diff sheets, when I get back to the office
    Last edited by bkcffee; 07-02-2019 at 12:41 PM.

  6. #6
    Registered User
    Join Date
    11-15-2017
    Location
    Glasgow
    MS-Off Ver
    2016
    Posts
    12

    Re: Need to fill in data base on specific grades on other sheets !!

    The best solution would probably be using three pivot tables and filtering the data based Total Absent.


    Kind regards

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,695

    Re: Need to fill in data base on specific grades on other sheets !!

    Here is a non array option.
    On the three sheets that are populated based on number of absences populate column A using:
    Formula: copy to clipboard
    =IFERROR(INDEX('Total Form'!A$3:A$162,AGGREGATE(15,6,(ROW(A$3:A$162)-ROW(A$2))/('Total Form'!L$3:L$162<=25)/('Total Form'!B$3:B$162<>0),ROWS(A$1:A1))),"")

    Note that on the Total Abs =<50 and Total Abs =<75 sheets the first part of the denominator will need to be modified as in: ('Total Form'!L$3:L$162<=50)
    On the Remain Grade 100 Only sheet populate column A using:
    Formula: copy to clipboard
    =IFERROR(INDEX('Total Form'!A$3:A$162,AGGREGATE(15,6,(ROW(A$3:A$162)-ROW(A$2))/('Total Form'!M$3:M$162=100)/('Total Form'!B$3:B$162<>0),ROWS(A$1:A1))),"")

    On all sheets the remaining columns may be populated using:
    Formula: copy to clipboard
    =IF(A2="","",INDEX('Total Form'!$B$3:$M$162,MATCH($A2,'Total Form'!$A$3:$A$162,0),MATCH(B$1,'Total Form'!$B$1:$M$1,0)))

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Using excel as a data base with a form to fill in
    By OillyBob55 in forum Excel General
    Replies: 1
    Last Post: 09-18-2015, 03:21 AM
  2. [SOLVED] Code VBA for changing fill color of shape base on data of cells
    By TanNguyen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2015, 08:39 PM
  3. data auto fill base on condition.
    By johncena in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2013, 04:30 PM
  4. data fill base on condition.
    By johncena in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-2013, 09:15 AM
  5. lloop to fill different cells regarding an Data base
    By nec11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2013, 10:23 AM
  6. Auto fill from data base drop down list
    By ciapul12 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-03-2011, 08:45 AM
  7. [SOLVED] Can you Auto fill address in excell with a data base?
    By bayou beot in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-12-2005, 05:06 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