+ Reply to Thread
Results 1 to 2 of 2

Stuck with VBA formual to copy data from another sheet with mutiple criteria

  1. #1
    Registered User
    Join Date
    08-19-2006
    Location
    New York, NY
    MS-Off Ver
    MS Office 2013
    Posts
    33

    Stuck with VBA formual to copy data from another sheet with mutiple criteria

    Hi,

    In sheet 1, "Type of currency" is entered in row 6, columns 3 to 143. "Account number" entered in column 1, rows 10 to 383.

    In sheet 2, "Type of currency" is entered in column 3, rows 2 to 1044. "Account number" entered in column 2, row 2 to 1044.

    in Sheet 2, the amount is entered in column 7, rows 2 to 1044.

    I am trying code a vba to look match the "type of currency" and "account number" in sheet 1 with the "type of currency" and "account number" sheet 2 and return the amount from sheet 2 to sheet 1.

    I am able to do it with a for loop formual if there is only i criteria but with 2 I am confused how to accomplish this.

    Any help would be greatly appreciated. If you need me to upload the file, I can do that.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,873

    Re: Stuck with VBA formual to copy data from another sheet with mutiple criteria

    show us what you did with one criteria.
    Basically - in this approach you shall probably use two loops.
    Best Regards,

    Kaper

+ 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. [SOLVED] Extract/Copy data within a range based on mutiple criteria?
    By new@excel in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-23-2013, 01:11 AM
  2. Replies: 0
    Last Post: 01-06-2012, 07:09 AM
  3. Copy and paste data to separate sheets based on mutiple criteria again
    By Ricker090 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-13-2011, 02:23 PM
  4. Copy and paste data to separate sheets based on mutiple criteria
    By Ricker090 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2011, 03:48 PM
  5. how to copy data from mutiple worksheet to a summary sheet
    By pramu in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 08-04-2009, 06:32 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