+ Reply to Thread
Results 1 to 2 of 2

if cell in Sheet1 Column A = cell in Sheet2 Column A than fill data in Sheet1 Columns B-I

  1. #1
    Registered User
    Join Date
    12-30-2012
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    1

    Thumbs up if cell in Sheet1 Column A = cell in Sheet2 Column A than fill data in Sheet1 Columns B-I

    Hi there,

    I am really new to all this and tried to look up myself for an solution to my "problem" in a workbook excel 2010.
    I am trying to create a "simply" formula in a cell as text (where I can type in an article number) in sheet1, which will lookup this specific article number in sheet2, column A and if it is finding one, will autofill the data from columns B,C,D,E.......into the same columns on sheet1.
    Sounds really complicated, but it really is not, so let me give you a specific example:

    In sheet2 I have entered all details for a certain product in seperate columns which I have bought. In sheet1 I am creating a sales list and if I am entering the article number, which I have defined in sheet2 columnA, I want some of the related product data (defined in sheet2 columns B,C,D,E,......) to be autofilled in the new sales list on sheet1.

    Please find a dummie to play with attached.
    Thank you so much guys......or girls.

    Best

    Mike

    ForumDummy.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,600

    Re: if cell in Sheet1 Column A = cell in Sheet2 Column A than fill data in Sheet1 Columns

    Put this formula in B2:

    =IF(Sales[[#This Row],[parcel no.]]="","",IF(VLOOKUP(Sales[[#This Row],[parcel no.]],Buys,COLUMNS($A:B),0)="","",VLOOKUP(Sales[[#This Row],[parcel no.]],Buys,COLUMNS($A:B),0)))

    then copy it across - it should automatically copy down to the bottom of your table. Then enter a sales code in column A.

    This will not find those items with no code in column A of Sheet2.

    Hope this helps.

    Pete

+ 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