+ Reply to Thread
Results 1 to 4 of 4

VBA return result

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    VBA return result

    Hi,
    I am looking some code for the attached workbook which searches sheet 2 "Data" column D for a match to the data in sheet "Reminders" column F and outputs the value in sheet "Reminders" column N if first occurrence, column O if second occurrence and so on. I had previously used an index/ match formula for this but it proved to be too slow.
    Any help would be most appreciated.
    Many Thanks
    Johnny
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: VBA return result

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: VBA return result

    Or this...
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: VBA return result

    Hi,
    Works fine however I will have up to 10 different values to be output into sheet reminders is it possible to modify the code to show this? This would mean that the value would show in the order it has been input into sheet data from column N:W.
    Sorry for the mis-communication
    Thanks
    Johnny

+ 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. Replies: 7
    Last Post: 12-06-2015, 05:40 PM
  2. [SOLVED] If AL = a value i need B1 to return a result
    By t.regi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-06-2015, 05:44 PM
  3. VBA two inputs to return a result
    By cthorn112 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2011, 01:10 PM
  4. excel result return wrong calcuation result
    By garyww in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2006, 06:20 AM
  5. Advanced formula - Return result & Show Cell Reference of result
    By Irv in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2006, 10:40 PM
  6. I need a Lookup to return more than 1 result
    By joe1182 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-01-2006, 10:55 AM
  7. Return result only if....
    By Pat in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-06-2005, 04:34 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