+ Reply to Thread
Results 1 to 2 of 2

Fill in the data with date range

  1. #1
    Registered User
    Join Date
    01-22-2020
    Location
    HK
    MS-Off Ver
    Office365
    Posts
    7

    Fill in the data with date range

    I am new here and I have encountered a huge challenge for days.
    I dont know how to start with this type of data filling.
    It seems not just filter, copy & paste that easy.

    Here is the backgroud, I have got 40000+ records awaiting to be filled.

    In thise case, is it better to separate file into monthly?

    Two difficulties -
    1) There are some overlapping promotion dates in file A. (See the ID = ABC)
    2) Take the highest discount rate if the ID are found overlapped period and paste to file B. (See the ID=CCC)

    Copy from File A

    Start Date | End Date | ID | Price | Discount %
    1 Dec 2019 | 10 Dec 2019 | ABC | $50 | 20%
    1 Nov 2019 | 31 Dec 2019 | ABC | $50 | 20%
    1 Dec 2019 | 10 Dec 2019 | XYZ | $550 | 20%
    1 Dec 2019 | 10 Dec 2019 | BBB | $80 | 40%
    1 Jan 2018 | 31 Dec 2020 | CCC | $200 | 50%
    10 Dec 2019 | 11 Dec 2019 | CCC | $200 | 80%
    1 Jan 2020 | 31 Jan 2020 | QWE | $500 | 20%

    Paste to File B
    2019 Dec

    ID | Price | 1 Dec | 2 Dec | .... | 10 Dec | 11 Dec |...... | 31 Dec
    ABC | $50 | 0.2 | 0.2 | .... | 0.2 | 0.2 | .... | 0.2
    XYZ | $550 | 0.2 | 0.2 | .... | 0.2 | | .... |
    BBB | $80 | 0.4 | 0.4 | .... | 0.4 | | .... |
    CCC | $200 | 0.5 | 0.5 | .... | 0.8 | 0.8 | .....|

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Fill in the data with date range

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Average Cells if Certain Fill Colour and if Within a Date Range
    By Baconking22 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-10-2014, 07:00 PM
  2. Average Cells if Certain Fill Colour and if Within a Date Range
    By Baconking22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-10-2014, 06:58 PM
  3. Replies: 15
    Last Post: 06-24-2014, 09:27 AM
  4. [SOLVED] Fill in dates based on a date range in 2 cells
    By braun.reivn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2014, 05:54 PM
  5. Fill Range based on Start/End Date
    By Regenbui in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2013, 08:02 AM
  6. Auto fill cells based on a date range given
    By timmy1254 in forum Excel General
    Replies: 2
    Last Post: 12-08-2011, 11:12 PM
  7. Formulas to Fill Range with Date
    By Gos-C in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-23-2008, 07:42 PM

Tags for this Thread

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