Consulting

Results 1 to 3 of 3

Thread: Solved: Excel problem

  1. #1

    Solved: Excel problem

    I have a Workbook Test2.xls with 2 worksheets: Sheet 1 and Data. WorkSheet "Data" Column A has a list of numbers. If one of those numbers appear on WorkSheet "Sheet 1", column A, then I need for the indication in WorkSheet "Sheet1" Column C to populate on WorkSheet "Data", Column G. Example: Number 13074 appears in WorkSheet "Data", column A from row 519-547. Number 13074 appears on Sheet 1, column A with indication of Hepatic Disorders/Liver - Hepatitis B. This indication "Hepatic Disorders/Liver - Hepatitis B" now needs to populate sheet "Data" on rows 519 to 547. See attached worksheet.

  2. #2
    VBAX Mentor
    Joined
    Jun 2004
    Posts
    363
    Location
    in the G column of the Data sheet in cell G2 enter:
    [VBA]=IF(ISNA(VLOOKUP(A2,Sheet1!$A$2:$A$267,1,0)),"",VLOOKUP(A2,Sheet1!$A$2:$C$2 67,3,0))[/VBA]
    Fill down as far as you need.

  3. #3
    Man, you guys are so talented. Perfect.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •