Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...A lot of the information I've found at this site would've taken me forever if I'd have attempted to research it on my own. Thanks again."

Geography

Where in the world do Tek-Tips members come from?

How to add and update Expiry Date Column?

saqi2000 (Programmer)
15 Jul 12 3:28
Dear Tekkies,

Hope all is well and you are enjoying the summer.

I am novice user of Excel and I have to perform a complex task and hope you can help me with that.

I have been handed over Membership responsibility for our organisation and it's Membership database is not very good state. Please find the details below:

It's in Excel format
It has 7000 Members
There is no title field in the database and I would like to add the title field based on relationship field that starts S/O, D/O, W/O
S/O = Son Of
D/O = Daughter of
W/O = Wife of

Based on info ib Relationship field I would like to update title field to the following values:

Mr
Miss
Mrs

Second Question is a bit complex

The database does have Membership joining date but expiry column is blank.

There are 6 different types of Memberships but I only would like to add expiry date for annual Membership. Where Membership_Type="Annual Membership"

For example, if someone joined on 1st April 2011, his/her Membership would expire on 31st March 2012

Please advise how can I do this?

Kind Regards


Knowledge is something no one can steal from you and it increase as time goes by. Saqi

SkipVought (Programmer)
15 Jul 12 9:38
Hi,

In both Questions, you should use an IF() function. Do you know how the IF() function works?

In the first case, you will need two nested IF() functions, structured like this, but referencing the appropriate cells

=if(s/o cell<>"","Mr.",if(d/o cell<>"","Miss","Mrs."))

The other you'll do a similar thing referencing the Membership_Type

=if(mem typ cell="Annual Membership",date(Year(join dt cell)+1, month( join dt cell), day(join dt cell))),"")

The date formula wll probably need to be tweaked.

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close