#1   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Values and maxiums

Hi!

What does "accumulated" mean?

Biff

"ben simpson" wrote in message
...
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   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default 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
  #4   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.misc
gjcase
 
Posts: n/a
Default Values and maxiums


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


--
gjcase
------------------------------------------------------------------------
gjcase's Profile: http://www.excelforum.com/member.php...o&userid=26061
View this thread: http://www.excelforum.com/showthread...hreadid=523300



  #6   Report Post  
Posted to microsoft.public.excel.misc
gjcase
 
Posts: n/a
Default Values and maxiums


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


--
gjcase
------------------------------------------------------------------------
gjcase's Profile: http://www.excelforum.com/member.php...o&userid=26061
View this thread: http://www.excelforum.com/showthread...hreadid=523300

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"