+ Reply to Thread
Results 1 to 5 of 5

VBA to Lookup value based on two condition.

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    VBA to Lookup value based on two condition.

    Hi,

    I am not sure if it can be done with simple formula.. I tried to build logic but could not understnad it. All I want is Master sheet C2 value get the data from Raw sheet.

    E.g :
    C2 should fetch data from Raw sheet based on C2 value and update if it found. Like in attached example, D2 should displayed "Pune" but it is coming as #N/A

    Here is the attachment.
    Attached Files Attached Files
    Last edited by shiva_reshs; 10-03-2014 at 11:50 AM.
    Keep the Forum clean :


    1. Use [ code ] code tags [ /code ]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. Show appreciation to those who have helped you by clicking * Add Reputation below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  2. #2
    Registered User
    Join Date
    08-06-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: VBA to Lookup value based on two condition.

    Hi buddy

    There's no attachment

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: VBA to Lookup value based on two condition.

    sorry.. upload was failed and I did not notice.
    Just added again..

    Thanks

  4. #4
    Registered User
    Join Date
    08-06-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: VBA to Lookup value based on two condition.

    Put this in cell C2 and then drag to fill the rest

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


    Cheers

  5. #5
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: VBA to Lookup value based on two condition.

    Thanks.. works like charm.,

    Thanks a lot

+ 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. Populate Output sheet based on input data and lookup condition
    By Cool\m/ in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-10-2013, 04:45 AM
  2. Lookup formula based on a condition and date timeframe
    By rmitri in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-14-2013, 01:56 PM
  3. [SOLVED] If Lookup found, search cell value based on condition in matrix
    By tequilasunsette in forum Excel General
    Replies: 4
    Last Post: 06-14-2012, 12:03 PM
  4. Replies: 5
    Last Post: 05-16-2012, 01:47 PM
  5. [SOLVED] Sumproduct - Condition based on lookup of a Lookup
    By Hari in forum Excel General
    Replies: 13
    Last Post: 05-31-2006, 04:30 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