+ Reply to Thread
Results 1 to 7 of 7

VLookup formula to copy value from certein cell, if two other cell data are equal

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    Croatia
    MS-Off Ver
    2007
    Posts
    4

    VLookup formula to copy value from certein cell, if two other cell data are equal

    Hello.
    Sory on poor englishe.
    I have two excell 2007 woorkbook.
    Primjer1.xlsxPrimjer2.xlsx
    In "Primjer1" in first columns are data which i whant to search within second "Primjer2" woorbok in first columns.
    And if ther are same number, then see if in the same row in second column are writen "Geoportal",and if this aru true,then in first woorkbook on the "Stanje_predmeta" colum for that number write "Geoportal" and in the "Mjesto_predmeta" colum for that number write what is in second woorbok under "Mjesto".
    Please help if can.
    In first woorkbook,data in first colum are entered in "UP/I-361-03/13-10-1" stiyl,and in formula need to search onli last number,which can be up to four digit.
    So it will look like this UP/I-361-03/13-10-1234
    Last edited by Robot3; 09-30-2014 at 01:45 PM.

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: VLookup formula to copy value from certein cell, if two other cell data are equal

    Try with the below two formulas

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    Croatia
    MS-Off Ver
    2007
    Posts
    4

    Re: VLookup formula to copy value from certein cell, if two other cell data are equal

    It put my eror on first part of (A3,4) formula. :S
    Can we use this formula which work for my? For remowing first 18 charachters?
    Because in workbook,on this colum each time it have 18 charachter.
    =RIGHT(A3; LEN(A3)-18)
    And after this 18 charachter come number from 1 to 6000-7000.
    And this formula yours work onlie if come 4 number i think.:S

  4. #4
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: VLookup formula to copy value from certein cell, if two other cell data are equal

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-30-2014
    Location
    Croatia
    MS-Off Ver
    2007
    Posts
    4

    Re: VLookup formula to copy value from certein cell, if two other cell data are equal

    =VLOOKUP(RIGHT(A3;LEN(A3)-18)*1;[Primjer2.xlsx]Sheet1!$A$1:$C$5;2;0)
    Work like a charm. Onlie put insted "," i put ";", i use 2007 office,so i do no know are in this trobule. Can i put somehav if no values are find,to do nothing? Now it return N/A eror.

  6. #6
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: VLookup formula to copy value from certein cell, if two other cell data are equal

    Then try

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-30-2014
    Location
    Croatia
    MS-Off Ver
    2007
    Posts
    4

    Re: VLookup formula to copy value from certein cell, if two other cell data are equal

    Thanx a lot. You are very helpful,and with this i do 3 day work in no time. Thanx.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. If Cell A is equal to Cell B replace the data from Cell A with Cell C. How can I do this.
    By tristanhathaway in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2014, 08:05 PM
  2. [SOLVED] Formula Needed to copy data from a cell based on data entered into another cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-10-2013, 03:16 AM
  3. [SOLVED] Copy data with 4 cell interval and copy range of data like vlookup with structured output
    By Daydreams in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-23-2013, 04:08 AM
  4. [SOLVED] how to do "if formula for cell to equal cell when < or = another cell
    By zydecodog in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-01-2013, 08:49 AM
  5. macro to copy data where the ID is equal to what is copied from another cell
    By blink359 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-19-2010, 07:27 AM

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