+ Reply to Thread
Results 1 to 4 of 4

Vba MATCH? unsure

  1. #1
    Registered User
    Join Date
    10-05-2012
    Location
    Gainsborough, England
    MS-Off Ver
    Office 2016 & Office 365
    Posts
    87

    Vba MATCH? unsure

    Hi

    Importing data each month from a monthy sheet to a yearly sheet, Looking to match the Month (January,February.......) held in H2 "europe" sheet, to the corresponding Month in Col A sheet "monthy", little bit stuck on how to use the MATCH function to Match the Month to the Month on a different sheet using vba or is there a better way??

    Thanks
    J

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Vba MATCH? unsure

    Is the month on "europe" the same format as the month list in column A on "monthly"? That is, are they both text or both dates? Then you can use MATCH just like you do in a worksheet formula. I don't know where your code is located so this uses fully qualified references. Also, if you need the exact position of the month within the list, and not just the row number, then you need to modify the highlighted range below to match the actual range used for the month list.

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    10-05-2012
    Location
    Gainsborough, England
    MS-Off Ver
    Office 2016 & Office 365
    Posts
    87

    Re: Vba MATCH? unsure

    Thanks 6StringJazzer will give it a try

  4. #4
    Registered User
    Join Date
    10-05-2012
    Location
    Gainsborough, England
    MS-Off Ver
    Office 2016 & Office 365
    Posts
    87

    Re: Vba MATCH? unsure

    6StringJazzer would this formula work if the Months in Col A:A were in merged cells?

+ 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. unsure what to do
    By scorpio_witch in forum The Water Cooler
    Replies: 17
    Last Post: 08-01-2013, 12:49 AM
  2. unsure what to do
    By scorpio_witch in forum Excel General
    Replies: 3
    Last Post: 07-30-2013, 07:34 PM
  3. AND - Unsure how to use it
    By Strathcona in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2009, 05:53 PM
  4. Unsure of how to do this..
    By karleen77 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2007, 10:23 PM
  5. Im unsure...do you know?
    By genuinegal in forum Excel General
    Replies: 6
    Last Post: 12-21-2006, 12:20 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