+ Reply to Thread
Results 1 to 6 of 6

If ve Vlookup Formula with Macro

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2010
    Posts
    77

    If ve Vlookup Formula with Macro

    Hi,
    I can find the results according to three variables with using IF (eğer) and VLOOKUP (düşeyara) formula. But l will use this formula 1500 difference cells, therefore can be shortened with macro?

    Formula:
    Please Login or Register  to view this content.
    Macros can be shortened with the following?
    =value(target;A;B;C) as.

    I've added a sample file.
    Thanks.
    Regards.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If ve Vlookup Formula with Macro

    This looks a index / match question to me.

    See the attached file.

    please reply.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    02-25-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: If ve Vlookup Formula with Macro

    Thanks oeldere.
    İf "name" value is another value other than DH1,DH2,DH3,DH4 and DH5, result should be 0. But indis formula fails as "#NO".

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If ve Vlookup Formula with Macro

    See the attached file with the amended formula.

    if you use excel 2007 you can use the formula iferror()
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-25-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: If ve Vlookup Formula with Macro

    Thank you,
    Formula is working. But The formula was long again. a little shorter.
    First:
    Please Login or Register  to view this content.
    Second:
    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If ve Vlookup Formula with Macro

    Maybe you can translate your formula into englisch.

    You can read turkish, I can't.

    Or post your solution as an excel file, so excel will translate it for is in our own language.

+ 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. Need a macro that will emulate a VLOOKUP formula
    By jeepinjeff in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2013, 05:46 PM
  2. [SOLVED] Macro Insert Vlookup Formula
    By smmeader in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2012, 12:18 PM
  3. Plz help me to replace vlookup formula with a macro
    By A100KA in forum Excel General
    Replies: 3
    Last Post: 12-30-2011, 10:05 PM
  4. [SOLVED] Macro for looped VLOOKUP and IF Formula
    By DancingElvisLives in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2011, 03:11 PM
  5. [SOLVED] Macro puts #REF in VLOOKUP formula
    By DJH224 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2006, 01:40 PM

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