+ Reply to Thread
Results 1 to 6 of 6

looking for if/then statement to move a row down sheet

  1. #1
    Registered User
    Join Date
    01-29-2019
    Location
    Orlando, Florida
    MS-Off Ver
    Microsoft 365 Pro plus
    Posts
    3

    looking for if/then statement to move a row down sheet

    it has been quite a few years since I wrote if/then formulas. I am looking for help to write an if/then statement to move a row down under another header on the same sheet once a value is entered. The value would be a closed date less than todays date.

    Thank you for your help.
    Nicole H.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: looking for if/then statement to move a row down sheet

    you might have to be more clear, formulas don't "move" things, that would be VBA. I'm having difficulty understanding your request.
    could you mock up an example sheet with what you have and what you expect the results to be? It wouldn't have to be much, just enough for us to understand what you are dealing with and what you want. Go advanced to upload a workbook. Mid way down is a blue hypertext "manage attachments" and click that and follow the prompts to upload a workbook.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    01-29-2019
    Location
    Orlando, Florida
    MS-Off Ver
    Microsoft 365 Pro plus
    Posts
    3

    Re: looking for if/then statement to move a row down sheet

    Thank you for your help. Sorry for the confusion.

    I would like to learn how to move data from a row to another row in another section of the page once an "effective date" is entered into cell "O".
    an example would be
    Move (Buyers) A5-Q5 to (Closed Buyers) A53-Q53 once an effective date was entered into "O5". and each concurring entry gets moved to the next available line.


    Move (Sellers) A18-Q18 to (Closed Sellers) A53-Q53 once effective date is entered into cell "O18". and each concurring entry gets moved to the next available line.

    Is this possible?

    Thank you
    Nicole H.
    Attached Files Attached Files

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: looking for if/then statement to move a row down sheet

    The best (without VBA) based on what you wrote and what you attached is that you could put this formula in cell A18 and dragged to the right and down.
    =IF($O5<>"",A5,"")
    this means that you can only input data into the first "buyers" table in A5 through D13 (or wherever you want to pull down the data from) but if you input anything in A18 other than that formula you will over write the formula. You can also use that in M18, N18 and O18 and drag down too. If this is not what you want then you need to better explain and you might need VBA.

  5. #5
    Registered User
    Join Date
    01-29-2019
    Location
    Orlando, Florida
    MS-Off Ver
    Microsoft 365 Pro plus
    Posts
    3

    Re: looking for if/then statement to move a row down sheet

    This did what I needed but I see it can become cumbersome to keep it updated and formulas straight.
    Would VBA be able to mimic this formula in the respected sections?

    I just need the data in (Closed Buyers) A53-Q53 to be populated when the "effective date" is entered into "O5". each concurring entry is moved to the next available row.

    and (Closed Sellers) A53-Q53 to be populated when the "effective date" is entered into "O18". and each concurring entry gets moved to the next available row.

    my end goal is to move "closed" contracts to the "Closed Buyers or Closed Sellers" automatically.

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: looking for if/then statement to move a row down sheet

    there shouldn't be anything "cumbersome" about it. It is just dragged to the right and down by grabbing the little box at the bottom right of the cell where it is.
    But to do it automatically without the use of formulas in cells you do need VBA and I don't have those skills.

+ 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] If 'IF' statement is false move onto row below
    By toemas in forum Excel General
    Replies: 5
    Last Post: 06-06-2017, 03:28 PM
  2. Macro/If Then statement to move a row of data
    By KristinMC in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-19-2014, 06:14 AM
  3. Replies: 2
    Last Post: 08-27-2013, 05:01 PM
  4. [SOLVED] If/Then Statement to move row to a different sheet
    By wendy53 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2013, 10:41 PM
  5. If/Then Statement to move row to a different sheet
    By bknotts in forum Excel General
    Replies: 6
    Last Post: 09-01-2012, 01:49 PM
  6. If/Then Statement to move row to a different sheet
    By kitteh_ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-08-2012, 01:25 PM
  7. If/Then Statement to move row to a different sheet
    By Mcfish in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-31-2010, 05:45 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