+ Reply to Thread
Results 1 to 3 of 3

My offset formula doesn't like referencing a cell with a formula.

  1. #1
    Registered User
    Join Date
    08-15-2016
    Location
    Buckeye, AZ
    MS-Off Ver
    2010
    Posts
    13

    My offset formula doesn't like referencing a cell with a formula.

    Issue: If you look at my calendars for Crew A and C, on certain months, values appear for non month days, like the first week of Jan for Crew A, but not on other months. The formula looks at the ops schedule. I tried copying the cells over, to hide them, and simply used =XX to copy the value and the result is the same. However, if I remove the formula from the Ops schedule and simply insert numbers, it works just fine. What can I add/change?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: My offset formula doesn't like referencing a cell with a formula.

    Personally I would change every formula so that it doesn't use OFFSET (have you noticed a bit of a delay every time you change a formula or value? OFFSET is causing that).

    There is a setting in Excel options to show / hide zero values, you have it unchecked, so it hides the zeros, however they are still there for formulas to use, an empty cell, such as one of your non-month days, will match to zero, the blank cells with formulas in the Ops schedule all evaluate to zero, so the formula in the crew calendar matches to the first blank each time.

    You can quick-fix it with

    =IF(A5=0,"",OFFSET('Ops Schedule'!$B$3,MATCH(A5,OFFSET('Ops Schedule'!$F$4,0,MATCH(TEXT($A$3,"mmm"),'Ops Schedule'!$G$3:$R$3,0),99,1),0),0,1,1))

    or change all of the formulas, so that it works more efficiently (let me know if you want to do that and I'll give you a few pointers).

  3. #3
    Registered User
    Join Date
    08-15-2016
    Location
    Buckeye, AZ
    MS-Off Ver
    2010
    Posts
    13

    Re: My offset formula doesn't like referencing a cell with a formula.

    Quick fix works!. Thanks. I would however accept all pointers in other options for efficiency. I will never turn down an opportunity to learn.

+ 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. [SOLVED] Need to add to my formula so if a cell is blank the formula doesn't show
    By Rebeccak28 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2015, 05:22 AM
  2. Having trouble with macro formula referencing - offset? variable? help!
    By cljohnston64 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2015, 10:37 AM
  3. Replies: 9
    Last Post: 11-19-2014, 04:15 PM
  4. [SOLVED] Referencing different worksheets from a list in OFFSET/MATCH formula
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-09-2014, 02:51 PM
  5. VBA insert formula referencing offset cells and anchor reference
    By JPalms in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-19-2013, 10:35 AM
  6. Reformatting - insert formula with offset, then offset to next cell
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2011, 05:41 AM
  7. Formula Referencing another cell
    By billyboy630 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2008, 03:48 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