+ Reply to Thread
Results 1 to 3 of 3

Populate Cell Based on Matching Items

  1. #1
    Registered User
    Join Date
    03-05-2011
    Location
    Missouri, US
    MS-Off Ver
    Excel 2010
    Posts
    2

    Populate Cell Based on Matching Items

    Hi. I’m needing some help with Excel.

    I’m trying to write a formula/function for Row 20, Column H on my order entry worksheet. A typical scenario would be:

    If I type in the word “batteries” anywhere between rows 3 and 150 in column E of my order entry worksheet, then it would check my inventory worksheet in column B, rows 15 - 300 that has a list of electronic words for the word “batteries”. If the word “batteries” were found on the inventory worksheet, a different cell on the order entry worksheet (specifically, Row 20, Column H) would pre-fill with that word” batteries”. And, if the word “batteries” were to be typed a second or third time anywhere between rows 3 and 150 in column E of my order entry worksheet, it wouldn’t make any difference because Row 20, Column H already has the word “batteries” there.

    In summary, I’m trying to pre-fill the cell Row 20, Column H that is blank, with the word “batteries” IF it is found on the inventory worksheet. That word “batteries” would remain no matter how many entries of the word “batteries” in column E, rows 3 – 150 are entered.

    I hope this makes sense. Thanks to anyone who can help.
    Don
    Last edited by d0518mills; 03-05-2011 at 05:33 PM. Reason: RESOLVED

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Help with Writing A Function

    Don, welcome to the board.

    Please note your original title fell foul of Forum Rules and given first post I have on this occasion modified for you. Going forward please be sure to post in accordance with Board guidelines.

    Quote Originally Posted by Don
    If I type in the word “batteries” anywhere between rows 3 and 150 in column E of my order entry worksheet, then it would check my inventory worksheet in column B, rows 15 - 300 that has a list of electronic words for the word “batteries”. If the word “batteries” were found on the inventory worksheet, a different cell on the order entry worksheet (specifically, Row 20, Column H) would pre-fill with that word” batteries”.
    I suspect there are other nuances yet to be covered but based on the above:

    Please Login or Register  to view this content.
    not clear if wildcards are needed nor the name of your "Inventory" sheet - modify as necessary.

  3. #3
    Registered User
    Join Date
    03-05-2011
    Location
    Missouri, US
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Help with Writing A Function

    RESOLVED! Thank you so much DonkeyOte. After removing the "nuances" it worked perfect. Have a super day.

    Don

+ 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