Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all,
Vanilla are planning an update to the site on April 24th (next Wednesday). It is a major PHP8 update which is expected to boost performance across the site. The site will be down from 7pm and it is expected to take about an hour to complete. We appreciate your patience during the update.
Thanks all.

Excel assistance required

Options
  • 10-09-2020 3:18pm
    #1
    Registered Users Posts: 293 ✭✭


    Hello,

    Hoping this is the right forum to post in.

    I'm looking for a little pointer on excel. I'm trying to make a macro that will do the following automatically:

    Cell A1 - Enter a customer ID
    Cell B1 - Enter expected delivery date

    I want to run a search that will:
      take the customer ID in cell A1
      search all of column B
      Once it finds the customer ID in Cell B{i} (where "i" can be any row number) paste the "expected delivery date" info from Cell B1 in cell G{i}

    The first 2 parts are simple however how do I do the third part?

    Thanks,

    WM


Comments

  • Registered Users Posts: 293 ✭✭water-man


    Think I might have a solution to my question.

    I need to set up a loop that starts in cell B{i} where on first run i = 4. And then do a check to see if Cell B{i} = cell A1. If not increase i by 1 and repeat.

    EDIT:

    It worked. Case closed.


Advertisement