I assume you mean column AD and not D?
=VLOOKUP(AD1,{0,"0-30";31,"31-60";61,"61-120";121,"121-180";181,"181-300";241,"241-300";301,"365+"},2)
replace AD1 with the cell you want to use
copy down
--
Regards,
Peo Sjoblom
"klmiura" <(E-Mail Removed)> wrote in message
news:3B8DB936-C029-4569-A804-(E-Mail Removed)...
>I have a worksheet with column AD currently showing the number of days
>based
> upon todays date they are past due. I have the following criteria that I
> want the formula to return in column AC if the number in columns D is
> between
> those numbers.
>
> Days:
> 0-30
> 31-60
> 61-120
> 121-180
> 181-240
> 241-300
> 365+
|