Results 1 to 18 of 18

Dynamic copy & paste according to multiple criteria

Threaded View

  1. #1
    Registered User
    Join Date
    08-23-2022
    Location
    London, England
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2206 Build 16.0.15330.20144) 32-bit
    Posts
    8

    Dynamic copy & paste according to multiple criteria

    Hi all - I really appreciate the help in advance.

    I am stuck with the following problem.

    Sheet2 shows a list of prices for a derivative contract for a set of tenures (Jun22, Jul22, Aug22 ... etc.). This data is pulled through from another worksheet via VLOOKUP and INDEX MATCH formulas.

    At the end of each day, I want to create a macro that takes these prices from Sheet2 and stores them into Sheet3 once the macro is run. I require the data from Sheet2 to be put into the correct tenure (columns) and to the correct date (rows). The desired output for 20/05/2022 is displayed in Sheet3.

    I have previously solved this using a macro to copy and transpose the data, however it is only a short term solution as the tenures are changing as time goes along. For example Jun22 will expire and be made redundant at the end of May and this means that it requires regular checking to ensure the correct data is put into the correct row/column and issues are caused when a contract expires.

    Note
    1) The format of the data in the tenures column in both Sheet2 and Sheet3 is in text and not as a date. This has to stay this way because of how data is pulled into my worksheets both between different sheets and through external RTD sources and workbooks.
    2) The data in Sheet2 changes daily and is taken from various other Sheets in the same workbook via VLOOKUP and INDEX MATCH formulas

    Please let me know if further explanation is needed!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Copy & Paste Macro (needs finishing) - multiple Criteria
    By Dan_B in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-27-2017, 05:18 PM
  2. Copy and Paste multiple lines with the same criteria in one cell
    By CassieW in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2016, 04:31 PM
  3. [SOLVED] Copy rows from multiple worksheets with multiple criteria - greater than dynamic values
    By stackout in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2015, 04:36 PM
  4. [SOLVED] Copy/Paste Multiple Dynamic Ranges below each other
    By sudric in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-28-2015, 10:13 AM
  5. Copy/Paste Formula for Multiple Criteria
    By quibilty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2014, 11:07 PM
  6. VBA Copy Column data based on multiple dynamic criteria
    By rotolytics in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-19-2011, 07:26 PM
  7. Replies: 1
    Last Post: 09-22-2010, 11:00 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