![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 232
|
Is there such a thing?
I've got a problem where I need to populate certain cells based on number of days old. I've started by using the datedif() function which is fine, but I need to be able to say if the day value is <30 then put the value in cell P2, if the day value is >31 but <60 put the value in Q1 and so on. Any ideas? Matt |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
Quote:
IF(A1<30,VALUE,"") in Q1 do: IF(AND(A1>30,A1<60),VALUE,"") in R1 do: IF(AND(A1>60,A1<90),VALUE,"") ... ...
__________________
It's never too late to learn something new. Ricky |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|