+ Reply to Thread
Results 1 to 4 of 4

IF a cell is marked, then copy row to "Master List"?

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    6

    IF a cell is marked, then copy row to "Master List"?

    Hi guys,

    I'm trying to come up with a special attendance sheet. It's pretty straight forward, except, if a particular row is marked with a * (or some other value), then I'd like that entire row to be copied over to a master list.

    I've uploaded a screen shot to help illustrate what I am trying to do.

    In a nutshell, it's a regular attendance list with the ability to mark a particular row as "requesting extra help", and then carrying over that row over to a "Master List' of people who requested a follow up.

    Is this possible?
    Attached Images Attached Images

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF a cell is marked, then copy row to "Master List"?

    Try this array formula
    in E2 and pull formula to the right and then down

    =IFERROR(INDEX(B:B,SMALL(IF($A$2:$A$10="*",ROW($A$2:$A$10)),ROWS(B$2:B2))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Row\Col
    A
    B
    C
    D
    E
    F
    1
    Criteria Name Server Name Server
    2
    Adelphia Cable mail.adelphia.net Ameritech (SBC Yahoo!) pop.ameritech.yahoo.com
    3
    * Ameritech (SBC Yahoo!) pop.ameritech.yahoo.com AOL imap.aol.com
    4
    AT&T WorldNet postoffice.worldnet.att.net BellSouth mail.bellsouth.net
    5
    * AOL imap.aol.com Charter pop.charter.net
    6
    Bell Atlantic pop.bellatlantic.net
    7
    * BellSouth mail.bellsouth.net
    8
    BlueLight mail.bluelight.net
    9
    Cableone mail.cableone.net
    10
    * Charter pop.charter.net
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: IF a cell is marked, then copy row to "Master List"?

    Thank you so much AlKey. It worked like a charm. I noticed your signature and clicked add reputation.

    Thanks again.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF a cell is marked, then copy row to "Master List"?

    You're welcome and thank you for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools -> Mark thread as Solved).

+ 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. [SOLVED] Macros help - when cell marked with "X"
    By alli111 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-12-2014, 06:58 PM
  2. [SOLVED] Copy contents from "Child" file to a "Master"
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-13-2014, 09:44 AM
  3. [SOLVED] What can stop a cell from being marked "Dirty"?
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-13-2012, 07:00 AM
  4. Options marked with an "X" listed in a single cell separated by commas
    By jpecor2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-13-2011, 02:06 PM
  5. create links to check boxes marked "good" fair"and "bad"
    By pjb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2006, 09:25 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