+ Reply to Thread
Results 1 to 6 of 6

Values and maxiums

  1. #1
    ben simpson
    Guest

    Values and maxiums

    I'm soooo lost here. I need a way to reference a hire date (E15) , and if
    the date is earlier than July 1st ,1989, allow a maxium of 201 to be
    accumulated in U35, but, if the hire date is July 1,1989 or later, allow a
    maxium of 120 to be accumulated in U35. I believe my brain just
    spontaneously cumbusted on this one......Ouch....Help....Ben

  2. #2
    Biff
    Guest

    Re: Values and maxiums

    Hi!

    What does "accumulated" mean?

    Biff

    "ben simpson" <[email protected]> wrote in message
    news:[email protected]...
    > I'm soooo lost here. I need a way to reference a hire date (E15) , and if
    > the date is earlier than July 1st ,1989, allow a maxium of 201 to be
    > accumulated in U35, but, if the hire date is July 1,1989 or later, allow a
    > maxium of 120 to be accumulated in U35. I believe my brain just
    > spontaneously cumbusted on this one......Ouch....Help....Ben




  3. #3
    Forum Contributor
    Join Date
    08-08-2005
    Location
    Kansas, USA
    MS-Off Ver
    2016
    Posts
    293
    You can use data validation if the entry is being typed into U35, but if U35 is a formula, that won't do it..

    ---Glenn

  4. #4
    Forum Contributor
    Join Date
    08-08-2005
    Location
    Kansas, USA
    MS-Off Ver
    2016
    Posts
    293
    Assuming U35 is a formula summation, how about just using a conditional format to color the cell if the value in the cell excceds the allowable? (alowable can be set via the formula, or calculated elsewhere with an If statement & then referenced in the conditional formula.)

    Not as nice as validation, but it would quickly highlight violations.

    ---Glenn

  5. #5
    Dave Peterson
    Guest

    Re: Values and maxiums

    You could use another cell:
    =MIN(U35,IF(E15<DATE(1989,7,1),201,120))
    or
    =MIN(whateverformulawasinU35,IF(E15<DATE(1989,7,1),201,120))



    ben simpson wrote:
    >
    > I'm soooo lost here. I need a way to reference a hire date (E15) , and if
    > the date is earlier than July 1st ,1989, allow a maxium of 201 to be
    > accumulated in U35, but, if the hire date is July 1,1989 or later, allow a
    > maxium of 120 to be accumulated in U35. I believe my brain just
    > spontaneously cumbusted on this one......Ouch....Help....Ben


    --

    Dave Peterson

  6. #6
    ben simpson
    Guest

    Re: Values and maxiums

    Many Thanks Dave. I can work out the rest from here.....Ben

    "Dave Peterson" wrote:

    > You could use another cell:
    > =MIN(U35,IF(E15<DATE(1989,7,1),201,120))
    > or
    > =MIN(whateverformulawasinU35,IF(E15<DATE(1989,7,1),201,120))
    >
    >
    >
    > ben simpson wrote:
    > >
    > > I'm soooo lost here. I need a way to reference a hire date (E15) , and if
    > > the date is earlier than July 1st ,1989, allow a maxium of 201 to be
    > > accumulated in U35, but, if the hire date is July 1,1989 or later, allow a
    > > maxium of 120 to be accumulated in U35. I believe my brain just
    > > spontaneously cumbusted on this one......Ouch....Help....Ben

    >
    > --
    >
    > Dave Peterson
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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