+ Reply to Thread
Results 1 to 2 of 2

Copy rows to another sheet automatically based on cell value

  1. #1
    Registered User
    Join Date
    12-14-2023
    Location
    Amman, Jordan
    MS-Off Ver
    10
    Posts
    2

    Copy rows to another sheet automatically based on cell value

    I have this excell sheet, I would like to find a code that, automatically, copies a whole role from this sheet to another sheet, when a cell in column F has the status "pending". I'm using excel for the web.
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    12-13-2023
    Location
    Mansfield, Ohio
    MS-Off Ver
    2019
    Posts
    12

    Re: Copy rows to another sheet automatically based on cell value

    In Excel for the web, you can use Microsoft Excel formulas along with the FILTER function to dynamically display the matching rows. Follow these steps:

    Assuming your data is in Sheet1 and you want to copy rows to Sheet2 when the status in column F is "pending":
    1. Open Sheet2 where you want the filtered data to be copied.
    2. In the first row of Sheet2, enter the following formula in the first cell where you want the data to appear (let's say it's cell A1):
      Please Login or Register  to view this content.
      This formula uses the FILTER function to extract rows from Sheet1 where the status in column F is "pending."
    3. Press Enter.

    Now, whenever the status in column F of Sheet1 is set to "pending," the corresponding row from columns A to H will automatically appear in Sheet2 (you can change which columns appear from Sheet1 by changing Sheet1!A:H to whichever columns you want to see reflected in Sheet2).

    Keep in mind that this method is based on formulas and will update dynamically as you change the data in Sheet1.



    If you want to copy the row to another sheet instead of just displaying it dynamically, you can use Power Automate (previously known as Microsoft Flow) to set up an automated workflow. Power Automate allows you to create flows that can automate repetitive tasks across different applications, including Excel for the web.

    Here's a basic outline of the steps you can follow:
    1. Go to the Power Automate website (flow.microsoft.com) and sign in with your Microsoft account.
    2. Click on "Create" to create a new flow.
    3. Choose a trigger for your flow. For example, you can use the "When a row is added, modified, or deleted" trigger for Excel.
    4. Set up the trigger by specifying the file and sheet where your data is located.
    5. Add a condition to check if the status in column F is "pending."
    6. If the condition is true, use an action to create a new row in another sheet (your target sheet) and copy the values from the current row.
    7. Save and test your flow.

    Power Automate provides a user-friendly interface that allows you to create automated workflows without the need for programming. It should be noted that the availability of Power Automate features may vary based on your Microsoft 365 subscription.

    Edit: AI was used to construct part of this answer.
    Last edited by mcsythera; 12-15-2023 at 12:53 PM. Reason: Source

+ 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] Automatically copy & paste range from different sheets based on cell value into one sheet
    By Dehan111 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-19-2022, 03:15 AM
  2. [SOLVED] Copy rows from Sheet 1 to Sheet 2 based on Cell Value changes on Sheet 1
    By sharonca in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-04-2022, 12:28 PM
  3. Automatically copy rows to another sheet based on criteria, when original sheet is updated
    By NoviceProgrammer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2016, 02:14 AM
  4. [SOLVED] Automatically Transfer Rows from One Sheet to Another Based on Cell Content
    By mjohnson48 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-29-2016, 04:58 PM
  5. [SOLVED] copy rows to new sheet based on cell value
    By batchjb69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2013, 03:38 PM
  6. Automatically copy and paste rows based on cell value
    By no.18shirt in forum Excel General
    Replies: 3
    Last Post: 06-15-2013, 12:14 AM
  7. Copy Rows from selected Sheet to New Sheet based on Cell Value
    By joemcmillen in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 04-03-2008, 03:44 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