+ Reply to Thread
Results 1 to 3 of 3

Lookup and return rows based on layout entered, perform calc on return and output file

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Lookup and return rows based on layout entered, perform calc on return and output file

    Hi All,
    I have a lengthy list in the format:
    16-08
    A 1 2
    B 3 4
    C 5 6

    I would like the user to type in the layout (16-08 for example) and the return will be the coordinates which vary in length.
    When the coordinates are returned, I need to preform a mathematical operation on them based on the input of 2 cells and output a file with the name from C2 on the desktop with no file extension.

    Thanks in advance! 11-02.xlsx

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Lookup and return rows based on layout entered, perform calc on return and output file

    Hi sdl2,

    Can easily be done with VBA, formulas are not my forte, but try if this would help you. See attached.

    In cell A8, put the following formula and copied across (make sure formatting is set to General):
    Please Login or Register  to view this content.
    Best,
    berlan
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Re: Lookup and return rows based on layout entered, perform calc on return and output file

    Quote Originally Posted by berlan View Post
    Hi sdl2,

    Can easily be done with VBA, formulas are not my forte, but try if this would help you. See attached.

    In cell A8, put the following formula and copied across (make sure formatting is set to General):
    Please Login or Register  to view this content.
    Best,
    berlan
    Hi Berlan,
    The formula is working perfect, can you do the rest in VBA or all of it, with a one click button?

+ 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. Lookup using Index & Match to Return Unique Output
    By apdiego in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2013, 03:45 AM
  2. [SOLVED] Unwanted Carriage Return in output text file
    By bhansen20 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2012, 11:15 AM
  3. Replies: 6
    Last Post: 04-21-2010, 11:59 AM
  4. [SOLVED] Tough One - Return output from Dos Process without writing to file
    By Andibevan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-30-2005, 06:05 AM
  5. Replies: 1
    Last Post: 09-14-2005, 08:05 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