Consulting

Results 1 to 4 of 4

Thread: searching data if id of column matches

  1. #1
    VBAX Regular
    Joined
    Jun 2012
    Posts
    29
    Location

    searching data if id of column matches

    Hi,
    In my sheet 'Data', one column 'case_num' with respective ID are there.

    The CLOB data of each case_num are available in another sheet 'Update'.

    My requirement.

    when I select any of the case_num from sheet 'data' and if their matching record is available in sheet 'update', then that data will displayed.

    What formual should be used.
    Attached Files Attached Files

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    What is CLOB sata?

    What data do you want displayed?

    Pleas answer using sheet and columns letters.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  3. #3
    VBAX Regular
    Joined
    Jun 2012
    Posts
    29
    Location
    CLOB data in the sense description of few ID from case_num (in sheet data) are available in update sheet.

    e.g. case_num from sheet data (PHFR2012GB006089 )--- available in narrative column of sheet update if it match with the same id
    (Case number PHFR2012GB006089 is a spontaneous initial report received from a RAVI (available in narrative column)

    my requirement without going to sheet update, how can I display the output data of individual case number in sheet 'data'.

  4. #4
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    This formula will work.
    [VBA]=VLOOKUP(B6,UPDATE!A:B,2,FALSE)[/VBA]

    This Formula works like above, but will not tell you there is no match
    [VBA]=IF(ISERROR(VLOOKUP(B6,UPDATE!A:B,2,FALSE)),"",VLOOKUP(B6,UPDATE!A:B,2,FALS E))[/VBA]
    Change "B6" to Column letter and Row number of Case_Num Cell
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Posting Permissions

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