Results 1 to 10 of 10

Compare a date and identify which number it falls in based on date range.

Threaded View

maryflower Compare a date and identify... 01-23-2023, 01:25 PM
beyond Excel Re: Compare a date and... 01-23-2023, 04:06 PM
beyond Excel Re: Compare a date and... 01-23-2023, 04:09 PM
maryflower Re: Compare a date and... 01-24-2023, 02:18 PM
beyond Excel Re: Compare a date and... 01-24-2023, 04:21 PM
maryflower Re: Compare a date and... 01-24-2023, 05:03 PM
maryflower Re: Compare a date and... 01-24-2023, 06:31 PM
beyond Excel Re: Compare a date and... 01-24-2023, 09:44 PM
maryflower Re: Compare a date and... 01-27-2023, 02:40 PM
beyond Excel Re: Compare a date and... 01-27-2023, 04:41 PM
  1. #1
    Registered User
    Join Date
    03-27-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    39

    Compare a date and identify which number it falls in based on date range.

    Hi,
    I have a workbook, with two sheets - sheet 1, sheet 2.

    Sheet 1 has headers - Account, Date
    Sheet 2 has headers - Account, Period, Date 1, Date 2. Date 1 is start date, date 2 is end date.

    What I am trying to achieve is for excel macro or formulas to update sheet 1 with period from sheet 2, based on the date lited in sheet 1.

    For example: first entry in sheet 1, account 1 has date 06/22/2016. In sheet 2, this account 1 has various dates with period number attached to it. For this particular entry in sheet 1, I want to see 1 as an answer in column C because 06/22/2016 falls between the date range 12/1/2015 - 11/30/2016, which is period 1 in sheet 2. Similarly, row 65 in sheet 1 says "2" because 12/2/2016 falls in between 12/01/2016 thru 11/30/2017 in sheet 2.

    Notes:
    - Sheet 1 and Sheet 2 will have multiple lines with same dates. I have 20 more columns explaining what happened on that particular date.
    - I will have 100's of accounts in both sheets.


    Attached is a sample. Thank you for looking into this.
    Your help is appreciated.
    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] identify which week a specified date falls in
    By Ricky Wilko in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 08-24-2022, 11:12 AM
  2. [SOLVED] Identify if date falls within a date range
    By Chris F in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 02-23-2022, 08:40 AM
  3. Return a number if a date falls between range of two dates
    By zmanzander in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-03-2020, 02:46 PM
  4. Compare date range to list of ranges and identify gaps
    By James Keuning in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2019, 12:05 AM
  5. [SOLVED] IF/Then Formula to add to a date depending if a number falls w/in a certain range
    By RMFM55 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-06-2019, 09:59 AM
  6. [SOLVED] Formula that pulls across a value based on the which date range the given date falls into.
    By h2holbro22 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2018, 04:30 PM
  7. Replies: 15
    Last Post: 04-08-2013, 12:40 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