+ Reply to Thread
Results 1 to 13 of 13

adding new rows on source sheet

Hybrid View

  1. #1
    Forum Contributor wedzmer's Avatar
    Join Date
    06-13-2014
    Location
    Philippines
    MS-Off Ver
    2016
    Posts
    422

    Re: adding new rows on source sheet

    Quote Originally Posted by oeldere View Post
    Advice

    1) Don't work with merged cells, you get in trouble with it, sooner or later

    2) Make an helpcolumn to determine if the student is a boy or a girl.

    After that you can analyse the data with an pivot table.
    I Already unmerged the cells, thanks for that...

    I wish I could play with the SOURCE sheet to place helper columns for it, however, I couldn't because the source sheet did not come from me.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: adding new rows on source sheet

    Then make the helpcolumn on the end of the file.

    Or

    Talk with the "owner" of the source sheet (to change the format).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor wedzmer's Avatar
    Join Date
    06-13-2014
    Location
    Philippines
    MS-Off Ver
    2016
    Posts
    422

    Re: adding new rows on source sheet

    Quote Originally Posted by oeldere View Post
    Then make the helpcolumn on the end of the file.

    Or

    Talk with the "owner" of the source sheet (to change the format).

    Previously, I was using a code which I thought would work on the girls' list using an array function which was shared here in the forum before...

    =IF(ROWS($46:47)>MAX(IF(ISNUMBER(SEARCH(SUBSTITUTE(B$44,"STUDENTS",""),'INPUT DATA'!$B$11:$B$1000)),ROW('INPUT DATA'!$B$11:$B$1000)-MIN(ROW('INPUT DATA'!$B$11:$B$1000))+1,""))-MAX(IF(ISNUMBER(SEARCH(SUBSTITUTE(B$7,"STUDENTS",""),'INPUT DATA'!$B$11:$B$1000)),ROW('INPUT DATA'!$B$11:$B$1000)-MIN(ROW('INPUT DATA'!$B$11:$B$1000))+1,""))-1,"",IFERROR(INDEX('INPUT DATA'!$B$11:$B$1000,MAX(IF(ISNUMBER(SEARCH(SUBSTITUTE(B$7,"STUDENTS",""),'INPUT DATA'!$B$11:$B$1000)),ROW('INPUT DATA'!$B$11:$B$1000)-MIN(ROW('INPUT DATA'!$B$11:$B$1000))+1,""))+ROWS($46:47)),""))
    I'm really not sure why it doesn't work anymore.. the function was supposedly going to recognize the "FEMALE STUDENTS" which are directly below it and pull it out without recognizing the lists above it (i.e. the boys' names).

+ 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. Adding or deleting rows in master sheet and automatically update target sheet
    By RLR31064 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-26-2014, 01:39 PM
  2. Replies: 1
    Last Post: 10-18-2013, 03:32 AM
  3. Copy rows from one sheet to another,while deleting from source,under condition
    By piulibero in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-14-2011, 04:35 AM
  4. Adding Rows in a sheet, each row with lookup information from another sheet
    By htariq12 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-12-2009, 03:47 AM
  5. copying and pasting from source sheet to destination sheet without naming source sht?
    By Simon Lloyd in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-02-2006, 01:15 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