+ Reply to Thread
Results 1 to 3 of 3

Skipping rows when false (copying cells from one sheet to another)

  1. #1
    Registered User
    Join Date
    08-15-2019
    Location
    Canada
    MS-Off Ver
    10
    Posts
    6

    Skipping rows when false (copying cells from one sheet to another)

    Hope the bright excel minds can help me out.

    I saw another post that was doing exactly what I wanted to do, but I don't know the formula well enough to transfer it to my own spreadsheet.

    I have: Sheet 1 where I enter information (cell text) that I want to automatically transfer to Sheet 2. It is Columns A and C (sheet 1) that I want copied to Sheet 2 based on a true result in column B.

    Issue I have is that using my IF statement =IF('Requisition #''s'!B2:B25="21300-21301",'Requisition #''s'!A2,"") I get the blank rows (for example, rows 1 and 3 are true so info is copied, row 2 is false so I get a blank row that if I delete I get a row error)

    The formula that worked for another user follows, but is a bit complex for me to figure our how to transfer it to my needs.

    They had: a Helper row (they had Sheet 2, but mine would be on Sheet 1) =A1&"_"&COUNTIF(A$1:A1,A1)

    Then on their Sheet 1 (my Sheet 2): =IFERROR(INDEX(Sheet2!$B:$B,MATCH(OFFSET(K2,-(MOD(ROW()-2,12)+1)+1,-(MOD(COLUMN()-1,3)),1,1)&"_"&MOD(ROW()-2,12)+1,Sheet2!$D:$D,0)),"")

    Advice appreciated! Thanks.

    Trish
    Attached Files Attached Files
    Last edited by PTHops; 08-16-2019 at 08:57 AM.

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Skipping rows when false (copying cells from one sheet to another)

    As i guessing all data of project code 21300-21301 extract in another sheet.
    Please refer attach file.
    In sheet 21300-21301 : "A1" mentioned as 21300-21301 for criteria.
    In "A11"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    pressing by shift+ctrl+enter
    copy paste down
    "G11"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    copy paste down
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    08-15-2019
    Location
    Canada
    MS-Off Ver
    10
    Posts
    6

    Re: Skipping rows when false (copying cells from one sheet to another)

    This was the perfect answer! Thank you for tweaking my naming to ensure the formula worked. This will save me hours of retyping since the workbook will eventually have about 35 spreadsheet with different coding!

+ 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. Skipping rows when copying formula down
    By Briilee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-26-2018, 10:47 AM
  2. copying formula and skipping rows.
    By rulermon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-30-2017, 06:02 PM
  3. IF formula skipping FALSE cells in results
    By BDTupp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-08-2015, 12:24 AM
  4. Skipping a cell if False from another sheet
    By jrminaz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-20-2013, 11:13 AM
  5. Copying a formula and skipping rows
    By jmoffett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2011, 10:58 PM
  6. Copying rows down into cells across until row=false
    By digitaltoast in forum Excel General
    Replies: 1
    Last Post: 03-29-2010, 02:53 PM
  7. Skipping rows, copying, subtracting...
    By jeremycfd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2008, 05:05 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