Solved

Updating Column Based on Criteria within Fields

Posted on 2016-09-14
5
50 Views
Last Modified: 2016-09-26
Hi there, I have been trying to wrap my head around this for a bit and am wondering if Crystal would be better for this but prior to moving in that direction I thought I'd ask the experts!

I have attached a file of sample data and here is the summary:

>If someone is deceased using deceased date within 07/01/2015 to 06/30/2016 AND the CodeDate is in the same range, update the field list to "In Memoriam Current"
>If someone has deceased = Yes and no deceased date but the CodeDate is between 07/01/2015 and 06/30/2016 the update the list column to In Memoriam Current.
>If someone is deceased using deceased date prior to 07/01/2015 and the CodeDate is less than 07/01/2015 then update the column list to "In Memoriam"
>If someone has deceased = Yes and no deceased date and CodeDate is less than 07/01/2015 then update the column list to "In Memoriam"
>all others would be "Current"

Can excel do this or did I just confuse everyone? I'm curious because I normally use crystal and really don't want to make a ton of different reports but would like to automate this for future.

Thanks very much in advance -
CS
EE-Test.xlsx
0
Comment
Question by:rporter45
  • 3
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41798503
Maybe this?

=IF(AND(M2>=DATEVALUE("07/01/2015"),M2<=DATEVALUE("06/30/2016"),OR(AND(G2>=DATEVALUE("07/01/2015"),G2<=TODAY()),AND(F2="Yes",G2=""))),"In Memoriam - Current",IF(AND(M2<TODAY(),G2<TODAY()),"In Momoriam","Current"))

Open in new window

0
 

Author Comment

by:rporter45
ID: 41798586
So far that looks like it will work - I had a minor tweak to a cell letter but other than that - it looks ok so far. I will test live on the entire group and will let you know!  thanks - CS
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41798590
You're welcome!
0
 

Author Closing Comment

by:rporter45
ID: 41817064
Perfect thanks - after seeing this I really have to see what else excel can do to make life easier!

thank you - CS
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41817113
You're welcome again!
There are endless possibilities, you only need to explore them. :)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question