+ Reply to Thread
Results 1 to 6 of 6

shift cells down depends on condition of others

  1. #1
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    shift cells down depends on condition of others

    Hi,

    pls help. Whenever "online" appears in the "Desc" column I need to shift the matching row down (shaded area).

    for example, "online" appears in H2, hence, C2:E2 need to be shifted down to C3:E3 leaving C2:E2 blank.
    Next, H3 has "online" there, C3:E3 need to be shifted down one row so the result will look like the data on the "result" tab.

    Thanks in advance.

    Luke
    Attached Files Attached Files
    Last edited by drawing.blanks; 10-28-2009 at 11:45 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: shift cells down depends on condition of others

    Hi Luke
    Looking at your book, in the "Result" sheet, it appears as if you are actually matching the value in Column D with the value in Column G. Is this a safe assumption?
    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: shift cells down depends on condition of others

    Hi John,

    while thinking of an answer to your question, i have thought of a solution to my problem. i'll give it a try and if it doesn't work, i'll consult with you thanks.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: shift cells down depends on condition of others

    Hi Luke
    Please share; it helps us all to learn.
    John

  5. #5
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: shift cells down depends on condition of others

    Hi John,

    Silly of me... it was easier than I thought. What I thought was just an extra step: sort the Desc column and filter out only rows with "online" then copy and paste. Now, I should have everything.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: shift cells down depends on condition of others

    Hi Luke
    It's amazing how there are so many complicated yet so simple solutions to issues. I'm continually amazed at the quality of the solutions I see on this site. When you can figure it out yourself, that's truly gratifying.
    Please mark your post as solved.
    John

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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