Results 1 to 7 of 7

Using INDIRECT() on Date type header

Threaded View

edost4 Using INDIRECT() on Date type... 10-04-2018, 01:35 PM
Glenn Kennedy Re: Using INDIRECT() on Date... 10-04-2018, 01:40 PM
edost4 Re: Using INDIRECT() on Date... 10-04-2018, 01:54 PM
63falcondude Re: Using INDIRECT() on Date... 10-04-2018, 02:01 PM
edost4 Re: Using INDIRECT() on Date... 10-04-2018, 02:05 PM
63falcondude Re: Using INDIRECT() on Date... 10-04-2018, 02:07 PM
iMrTidy Re: Using INDIRECT() on Date... 10-04-2018, 03:09 PM
  1. #1
    Registered User
    Join Date
    10-02-2014
    Location
    NY,NY
    MS-Off Ver
    MS Office 2010
    Posts
    13

    Using INDIRECT() on Date type header

    I am trying to dynamically calculate Week over Week for a spreadsheet, as new data is added to the columns every week on the date in the header. My data looks like so:

    Name   WoW   9/27/2018   10/4/2018   10/11/2018   10/18/2018   10/25/2018
    A      ?     100         120              
    B      ?     120         140
    WoW for A should be 120/100-1 = 20%. WoW for B should be 140/120-1 = 16.67%.

    I was trying to use indirect() in cell B2 to calculate WoW like so: =INDIRECT(IF(MATCH(TODAY(),C$1:G$1,0),TODAY(),""))/INDIRECT(IF(MATCH(TODAY()-7,C1:G1,0),TODAY()-7,""))-1 however it just returns #REF!.

    Any idea what I am doing wrong? Thanks!

    P.S. On second thought it looks like this will fail on today()+1 through today()+6 so if there is a way to perhaps update the match() that would be highly appreciated
    Attached Files Attached Files
    Last edited by edost4; 10-04-2018 at 01:54 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Filter my tabel's header accroding to when i type in a1, b1, c1, and d1 value
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-02-2017, 07:26 AM
  2. Using Indirect with Dynamic Header Name
    By stan101 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-23-2016, 04:40 AM
  3. [SOLVED] Excel array formula and structured table date header fails with date number <10
    By sdassira in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-27-2015, 11:32 AM
  4. Sumifs formula, indirect tab, and coloumn header
    By gman17295 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-10-2012, 07:44 AM
  5. Adding Header via Add-In - Compile error: Type Mismatch
    By koticphreak in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2009, 12:13 PM
  6. Some type of header
    By david in forum Excel General
    Replies: 3
    Last Post: 07-01-2006, 04:20 PM
  7. font type and size in header
    By jamesobala in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-09-2005, 06:56 AM

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