Results 1 to 10 of 10

Next Assignment Due - Not Working (Strange behavior)

Threaded View

  1. #1
    Forum Contributor delaing's Avatar
    Join Date
    07-16-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    192

    Next Assignment Due - Not Working (Strange behavior)

    I decided to create an alternative post on this Formula board to help eliminate confusion which may come from the VBA-related post it was sourced from.
    This is the post where I extracted this from: http://www.excelforum.com/excel-prog...eted-date.html and put a note in there to reference to this board, to eliminate double-posting.
    ========================================================

    I've run into a problem with the formula which I adapted from tigeravatar's post#6 suggestion in that referenced post.

    The formula in A3 of Assignment Schedule is intended to show the next assignment I need to work. The assignment with the nearest (to Today) 'Trial Date", with no date in the "Supplement Date" column, and either marked as a C or R in the "Test for Comm or Rez" column, depending on the reference selected in C3 of the Assignment Schedule worksheet.

    Here is a view of what a good result of the formula looks like and what you will see when you first open the test workbook:

    good result1.jpg

    I am using the same formula for the B3 cell but Indexing to the CauseNum column on Data dump.
    If I can fix the formula for the Cause Name, I can apply the same fix for the B3 version.

    I've attached a test workbook with the formula which should fail if you will do this:
    On Data dump, enter today's date in F14, clearing CFT as the next case to work.
    Trustees Maritime Assn should show as the next case to work since its Supplement Date is empty, yet you should see the #NA error in A3.
    Now, change the date in Data dump B15 to 1/9/2017 and you should see Trustees Maritime as the next case to work in A3.

    Toggle back 'n forth between the 1/9/17 and 1/16/17 dates in Data dump B15 to see it switch from error to good result.

    What is wrong with the formula? Or is something wrong with the column references?

    Again, this has been working perfectly for two weeks worth of use until I came to a case with a two-digit day for the Trial Date instead of a one-digit day. I can't imagine that is the issue, but that is a strange behavior.

    Let me know what you think.

    Frustrated,
    Delain
    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. GetPivotData - strange behavior
    By baijixu in forum Excel General
    Replies: 4
    Last Post: 11-09-2013, 12:27 PM
  2. Strange behavior of pivot
    By roberto21 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-21-2013, 05:13 PM
  3. Strange Findlastrow behavior.
    By DECROMAX in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2013, 08:03 PM
  4. Userform strange behavior
    By Shaun_email in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2007, 07:47 PM
  5. VBA - Strange behavior
    By MVM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2006, 02:50 PM
  6. [SOLVED] Strange TAB behavior
    By m davidson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2006, 01:15 PM
  7. [SOLVED] Strange behavior.
    By Wiley Coyote in forum Excel General
    Replies: 7
    Last Post: 10-18-2005, 12:05 PM
  8. [SOLVED] Strange VBE Behavior
    By Jeff Robson in forum Excel General
    Replies: 4
    Last Post: 01-14-2005, 07:06 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