Results 1 to 48 of 48

Calculate the Date of an Item Based on the Date of a Similar Item in the Previous Month

Threaded View

Tegglet Calculate the Date of an Item... 02-27-2021, 12:19 PM
Pepe Le Mokko Re: Calculate the Date of a... 02-27-2021, 12:24 PM
Tegglet Re: Calculate the Date of a... 02-27-2021, 12:38 PM
Tegglet Re: Calculate the Date of a... 03-05-2021, 02:25 PM
JeteMc Re: Calculate the Date of an... 03-09-2021, 05:59 PM
Tegglet Re: Calculate the Date of an... 03-10-2021, 02:40 PM
JeteMc Re: Calculate the Date of an... 03-10-2021, 06:09 PM
Tegglet Re: Calculate the Date of an... 04-25-2021, 10:57 AM
JeteMc Re: Calculate the Date of an... 05-01-2021, 05:13 PM
Tegglet Re: Calculate the Date of an... 09-10-2021, 07:57 AM
6StringJazzer Re: Calculate the Date of an... 09-10-2021, 11:44 AM
Tegglet Re: Calculate the Date of an... 09-10-2021, 12:51 PM
6StringJazzer Re: Calculate the Date of an... 09-10-2021, 02:56 PM
JeteMc Re: Calculate the Date of an... 09-10-2021, 01:51 PM
Tegglet Re: Calculate the Date of an... 09-11-2021, 06:15 AM
6StringJazzer Re: Calculate the Date of an... 09-11-2021, 08:09 AM
Tegglet Re: Calculate the Date of an... 09-11-2021, 10:26 AM
6StringJazzer Re: Calculate the Date of an... 09-15-2021, 10:17 AM
6StringJazzer Re: Calculate the Date of an... 09-15-2021, 10:46 AM
6StringJazzer Re: Calculate the Date of an... 09-15-2021, 11:19 AM
Tegglet Re: Calculate the Date of an... 09-15-2021, 03:43 PM
Tegglet Re: Calculate the Date of an... 09-16-2021, 08:15 AM
6StringJazzer Re: Calculate the Date of an... 09-16-2021, 12:10 PM
Tegglet Re: Calculate the Date of an... 09-20-2021, 10:08 AM
Tegglet Re: Calculate the Date of an... 09-20-2021, 10:30 AM
6StringJazzer Re: Calculate the Date of an... 09-26-2021, 01:46 PM
6StringJazzer Re: Calculate the Date of an... 09-27-2021, 11:18 AM
Tegglet Re: Calculate the Date of an... 09-28-2021, 07:40 AM
6StringJazzer Re: Calculate the Date of an... 09-29-2021, 05:28 PM
Tegglet Re: Calculate the Date of an... 09-30-2021, 12:21 PM
6StringJazzer Re: Calculate the Date of an... 09-30-2021, 05:56 PM
Tegglet Re: Calculate the Date of an... 10-01-2021, 05:42 AM
6StringJazzer Re: Calculate the Date of an... 10-01-2021, 07:55 AM
Tegglet Re: Calculate the Date of an... 10-01-2021, 11:14 AM
6StringJazzer Re: Calculate the Date of an... 10-01-2021, 11:42 AM
Tegglet Re: Calculate the Date of an... 10-01-2021, 11:50 AM
6StringJazzer Re: Calculate the Date of an... 10-01-2021, 05:55 PM
Tegglet Re: Calculate the Date of an... 10-02-2021, 05:40 AM
6StringJazzer Re: Calculate the Date of an... 10-02-2021, 10:17 AM
Tegglet Re: Calculate the Date of an... 10-02-2021, 06:01 AM
AliGW Re: Calculate the Date of an... 10-02-2021, 06:03 AM
AliGW Re: Calculate the Date of an... 10-02-2021, 06:09 AM
Tegglet Re: Calculate the Date of an... 10-02-2021, 06:17 AM
Tegglet Re: Calculate the Date of an... 10-02-2021, 06:13 AM
AliGW Re: Calculate the Date of an... 10-02-2021, 06:17 AM
Tegglet Re: Calculate the Date of an... 10-02-2021, 06:24 AM
AliGW Re: Calculate the Date of an... 10-02-2021, 06:27 AM
6StringJazzer Re: Calculate the Date of an... 10-02-2021, 10:23 AM
  1. #1
    Registered User
    Join Date
    12-21-2017
    Location
    Wokingham, England
    MS-Off Ver
    office 365 2013
    Posts
    46

    Calculate the Date of an Item Based on the Date of a Similar Item in the Previous Month

    I have an Excel 2013 spreadsheet comprising twelve sheets named for the corresponding months starting with Apr (Apr, May, Jun. Jul, Aug etc). With the exception of Apr (the first sheet) each sheet needs to contain the following formula:

    Formula: copy to clipboard
    =INDIRECT((TEXT($B$4-1,"mmm")&"!"&ADDRESS(MATCH("Target Item*",Jul!$E$5:$E$49,0)+4,5)))


    It contains two references to data in the previous month (sheet).

    The first reference finds the previous month's name using the formula segment
    Formula: copy to clipboard
    (TEXT($B$4-1,"mmm"))
    where $B$4 contains the date of the first of the current month. So far this has worked as expected.

    I need to do the same thing for the second occurrence of the sheet name.

    I have tried a straight substitution as follows:
    Formula: copy to clipboard
    =INDIRECT((TEXT($B$4-1,"mmm")&"!"&ADDRESS(MATCH("Search String",(TEXT($B$4-1,"mmm"))!$E$5:$E$49,0)+4,5)))

    which is rejected out of hand.

    I have tried various forms of concatenation, wrapping various bits in double or single quotes and other variations, none of which work. They are either rejected completely or give #REF or #VALUE errors.

    This formula, or one similar, is used several times on each of the twelve sheets and manually entering the sheet name is tedious beyond measure and a plentiful source of errors. Once it is finished I will be using the workbook as a template so there is a considerable saving in solving the problem.

    Can anyone help please?
    Attached Files Attached Files
    Last edited by Tegglet; 03-05-2021 at 02:24 PM. Reason: Major error

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Index match date, receipt number, invoice number and amount from 3 worksheets
    By sunboy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-16-2020, 12:16 PM
  2. Formula To Calculate Month in a Previous Date
    By breader21 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2020, 10:44 PM
  3. Replies: 13
    Last Post: 11-22-2019, 08:27 PM
  4. [SOLVED] Actual Receipt Date Vs. Original Receipt Date (Compare & Provide Result)
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2018, 07:06 AM
  5. Replies: 5
    Last Post: 02-06-2013, 02:11 PM
  6. Date of Receipt based on In/OUT
    By cmcconna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2010, 06:47 PM
  7. Auto calculate end date of previous month
    By BusterBoy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2009, 07:57 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