exceluser29
New Member
- Joined
- Sep 8, 2010
- Messages
- 10
Hi,
I have two tables in hand:
Table 1: has data showing Customer no, Renewal Month, last_active_date, report_pull_dt and other columns.
Table 2: has Renewal Month and Cancel Dt Limit
What I have to do is add a column in table 1 (Status) based on their last_active_date .
For example, If renewal Month is July and last_active_date < Cancel Dt Limit, then status = 'cancel' else 'Active'.
I will have to lookup the Cancel Dt Limit from table 2, based on their renewal month.
Can someone please help? I was thinking a combination of Vlookup and if statement but dont know how to write!
Thanks!
I have two tables in hand:
Table 1: has data showing Customer no, Renewal Month, last_active_date, report_pull_dt and other columns.
Table 2: has Renewal Month and Cancel Dt Limit
What I have to do is add a column in table 1 (Status) based on their last_active_date .
For example, If renewal Month is July and last_active_date < Cancel Dt Limit, then status = 'cancel' else 'Active'.
I will have to lookup the Cancel Dt Limit from table 2, based on their renewal month.
Can someone please help? I was thinking a combination of Vlookup and if statement but dont know how to write!
Thanks!