Results 1 to 14 of 14

How to add offset to my formula?

Threaded View

  1. #1
    Registered User
    Join Date
    11-29-2013
    Location
    Pattaya, Thailand
    MS-Off Ver
    Excel 2013
    Posts
    71

    Question How to add offset to my formula?

    I'm using a formula that checks if a day falls between 2 dates that is listed in another sheet.
    These dates are listed in 2 columns: B and C
    The dates run down 10 rows each time, after which a 5 row break is in place before the next sequence begins

    The problem is that I can't drag my formula down the normal way, because it just adds +1 row.
    I've read about using "OFFSET", but I can't figure out how to add this to my formula.
    In my case the next row should add "+14" to all values in B and C column.

    The formula I'm using is:

    Formula: copy to clipboard
    =IF(OR(C$3=MEDIAN(C$3,Dates!$B6:$C6),C$3=MEDIAN(C$3,Dates!$B7:$C7),C$3=MEDIAN(C$3,Dates!$B8:$C8),C$3=MEDIAN(C$3,Dates!$B9:$C9),C$3=MEDIAN(C$3,Dates!$B10:$C10),C$3=MEDIAN(C$3,Dates!$B11:$C11),C$3=MEDIAN(C$3,Dates!$B12:$C12),C$3=MEDIAN(C$3,Dates!$B13:$C13),C$3=MEDIAN(C$3,Dates!$B14:$C14),C$3=MEDIAN(C$3,Dates!$B15:$C15)),1,0)


    The formula on the following row should be:

    Formula: copy to clipboard
    =IF(OR(C$3=MEDIAN(C$3,Dates!$B20:$C20),C$3=MEDIAN(C$3,Dates!$B21:$C21),C$3=MEDIAN(C$3,Dates!$B22:$C22),C$3=MEDIAN(C$3,Dates!$B23:$C23),C$3=MEDIAN(C$3,Dates!$B24:$C24),C$3=MEDIAN(C$3,Dates!$B25:$C25),C$3=MEDIAN(C$3,Dates!$B26:$C26),C$3=MEDIAN(C$3,Dates!$B27:$C27),C$3=MEDIAN(C$3,Dates!$B28:$C28),C$3=MEDIAN(C$3,Dates!$B29:$C29)),1,0)



    I've attached an example with what I would like to accomplish. I just don't want to manually change all the formulas all the way down 135 rows.

    Any help is much 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. Please Help with offset formula.
    By balois in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-02-2013, 05:28 AM
  2. function similar to offset to offset the offset
    By Jerseynjphillypa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2012, 03:07 PM
  3. 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
  4. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  5. Replies: 2
    Last Post: 01-03-2006, 05:42 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