Transfer a row from one worksheet to another based on info in one cell and repeat

  • I would like to start by thanking anyone who takes their time to reply to this in advance, as I know this is not something you have to do! I have spent countless hours looking for a code that was close to borrow from or a formula that would do something even close, and at this point in time my brain hurts and nothing has worked. Youtube and Google did not manage to teach me enough:) I have apparently moved past my expertise.



    I am attempting to create a spreadsheet that will take the data entered on the master sheet and transfer it to another sheet based on the outcome of a certain cell. I will attempt to create an example below and better explain.


    (HFA Isolation List) Rows 1-7 are populate with other data and wont be used.


    [TABLE="width: 500"]

    [tr]


    [td][/td]


    [td]

    a

    [/td]


    [td]

    b

    [/td]


    [td]

    c

    [/td]


    [td]

    d

    [/td]


    [td]

    e

    [/td]


    [td]

    f

    [/td]


    [td]

    g

    [/td]


    [/tr]


    [tr]


    [td]

    1

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    2

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    3

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    4

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    5

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    6

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    7

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    8

    [/td]


    [td]

    no

    [/td]


    [td]

    low

    [/td]


    [td]

    high

    [/td]


    [td]

    high

    [/td]


    [td]

    eat

    [/td]


    [td]

    Blind

    [/td]


    [td]

    sleep

    [/td]


    [/tr]


    [tr]


    [td]

    9

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [/TABLE]


    (Blind Isolation List) Rows 1-7 are populate with other data and wont be used.


    [TABLE="width: 500"]

    [tr]


    [td][/td]


    [td]

    a

    [/td]


    [td]

    b

    [/td]


    [td]

    c

    [/td]


    [td]

    d

    [/td]


    [td]

    e

    [/td]


    [td]

    f

    [/td]


    [td]

    g

    [/td]


    [/tr]


    [tr]


    [td]

    1

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    2

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    3

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    4

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    5

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    6

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    7

    [/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    8

    [/td]


    [td]

    no

    [/td]


    [td]

    low

    [/td]


    [td]

    high

    [/td]


    [td]

    high

    [/td]


    [td]

    eat

    [/td]


    [td]

    Blind

    [/td]


    [td]

    sleep

    [/td]


    [/tr]


    [/TABLE]



    Using the tables above, if my original worksheet (HFA Isolation List) has the word "Blind" in F8, then I would like the data in A8 - Q8 to transfer to another worksheet (Blind Isolation List) and input the information starting at A8 - Q8 in the (Blind Isolation List) worksheet. In addition, if in the (HFA Isolation List) worksheet there is nothing entered, I would like excel to simply move on to the next line looking for the word "Blind" in column F until it reached F:47. At any point should excel see the word "Blind", then that row of information would also transfer to the (Blind Isolation List) worksheet. And my last request would be that the (Blind Isolation List) worksheet would populate without skipping rows if the same row in the (HFA Isolation List) did not return a value in the same row. So if F:9 and F:10 did not return a value and F:11 did, then excel would transfer the information in A11 - Q11 on (HFA Isolation List) worksheet to A9 - Q9 on the (Blind Isolation List) worksheet, and I would not have empty rows.


    Again, I greatly appreciate any help!!!

  • Re: Transfer a row from one worksheet to another based on info in one cell and repeat


    You could post an actual workbook.


    Click reply, then a new button marked go advanced will appear.


    After clicking the new button a paperclip icon will appear on the toolbar, click on that icon and follow the instructions.

    Bruce :cool:

  • Re: Transfer a row from one worksheet to another based on info in one cell and repeat


    forum.ozgrid.com/index.php?attachment/68688/

    Quote from skywriter;768090

    You could post an actual workbook.


    Click reply, then a new button marked go advanced will appear.


    After clicking the new button a paperclip icon will appear on the toolbar, click on that icon and follow the instructions.



    Hopefully my attachment worked. To be even more specific as to what I need this to do since I have uploaded what I have done thus far,


    On the HFA Isolation sheet, the sheet will identify types of isolation. When the isolation type is a blind, I need that to generated a sheet by copying all the likes that are selected as a blind. Now that I think about it, it may be better to use column C as the column that is searched. All other selections, valves, bleeds, electrical, etc, would be generated on an additional sheet. The purpose of that is because once all is generated, the different types of isolation (1-blinds and 2-everything else) must be separately verified in the field and signed off. Please let me know if that make sense. I was actually going to attempt to do the second half on my own once I had the first half shown to me, but that probably wouldn't be a good idea.


    Thanks for the help!!!!

  • Re: Transfer a row from one worksheet to another based on info in one cell and repeat




    I didnt see my attachment, so trying again.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!