Hi,

Try also without any tables,

=LOOKUP(A2,DATE(YEAR(TODAY()),-{1342,35,12,9,6,3}+MONTH(TODAY()),0),{"Prospect";">
 
12 Month";"9 - 12 Month";"6 - 9 Month";"3 - 6 Month";"0 - 3 month"})

Or, if you activate Analysis ToolPak AddIn (unless if you are using XL2007 
or later), you can simplify,

=LOOKUP(A2,EOMONTH(TODAY(),-{1342,35,12,9,6,3}-1),{"Prospect","> 12 
Month","9 - 12 Month","6 - 9 Month","3 - 6 Month","0 - 3 month"})

Note: TODAY() is a volatile function. so try to avoid it using multiple 
times. Define a name eg: CurrDate on Refers to as =TODAY() then replace 
TODAY() with CurrDate, or enter in a cell =TODAY() then replace TODAY() 
with this cell reference.

___________
HTH, Haseeb.

-- 
FORUM RULES (934+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to