?
Solved

Updating Column Based on Criteria within Fields

Posted on 2016-09-14
5
Medium Priority
?
54 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 32

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 2000 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 32

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 32

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

718 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