Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2018, 08:53 AM
wheddingsjr wheddingsjr is offline Formula that determines multiple occurances within a pre-determined time period Windows 7 64bit Formula that determines multiple occurances within a pre-determined time period Office 2016
Advanced Beginner
Formula that determines multiple occurances within a pre-determined time period
 
Join Date: Mar 2017
Posts: 76
wheddingsjr is on a distinguished road
Default Formula that determines multiple occurances within a pre-determined time period

Good morning all



I have a excel spreadsheet with over 9k lines in it. Rather than going through each line individually, I was hoping someone could tell me how I could populate a field based on the attached example. The example shows four columns and what i would like to do is determine when a member has multiple professional "TYPES" that occurred within a year of each other. The formula would populate the "RETRACT" field with "Y" if a member has more than 1 professional type within a year. If the member has a "Institutional" AND Professional type, the retract field would remain empty. Any help would be appreciated.

Thanks
Reply With Quote
  #2  
Old 01-09-2018, 10:32 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Formula that determines multiple occurances within a pre-determined time period Windows 7 64bit Formula that determines multiple occurances within a pre-determined time period Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi and welcome
could you please post a sample sheet with some data and desired results ( Click - Go advanced - manage attachments and folow the wizard)
Thanks
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 01-09-2018, 11:13 AM
wheddingsjr wheddingsjr is offline Formula that determines multiple occurances within a pre-determined time period Windows 7 64bit Formula that determines multiple occurances within a pre-determined time period Office 2016
Advanced Beginner
Formula that determines multiple occurances within a pre-determined time period
 
Join Date: Mar 2017
Posts: 76
wheddingsjr is on a distinguished road
Default

Thanks for the response Pecoflyer. I have already attached an example.
Reply With Quote
  #4  
Old 01-09-2018, 11:15 AM
wheddingsjr wheddingsjr is offline Formula that determines multiple occurances within a pre-determined time period Windows 7 64bit Formula that determines multiple occurances within a pre-determined time period Office 2016
Advanced Beginner
Formula that determines multiple occurances within a pre-determined time period
 
Join Date: Mar 2017
Posts: 76
wheddingsjr is on a distinguished road
Default

If for some reason there was no attachment, which I thoought I attached I will attach now.
Attached Files
File Type: xlsx Example.xlsx (16.2 KB, 8 views)
Reply With Quote
  #5  
Old 01-09-2018, 11:55 AM
NBVC's Avatar
NBVC NBVC is offline Formula that determines multiple occurances within a pre-determined time period Windows 10 Formula that determines multiple occurances within a pre-determined time period Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Does this work?

=IF(AND(C3="Professional",C2="Professional",A3=A2, B3-B2<=365),"Y","")
Reply With Quote
  #6  
Old 01-09-2018, 03:48 PM
wheddingsjr wheddingsjr is offline Formula that determines multiple occurances within a pre-determined time period Windows 7 64bit Formula that determines multiple occurances within a pre-determined time period Office 2016
Advanced Beginner
Formula that determines multiple occurances within a pre-determined time period
 
Join Date: Mar 2017
Posts: 76
wheddingsjr is on a distinguished road
Default

Hi NBVC

That is almost perfect except that there are times when there are more than 2 lines per MEMNO (see highlighted in the attached). I guess I could go through the list after using the formula to find those MEMNO's that have more than two. I should have said the 365 days start from the first occurance, than after the 365, the whole process starts over again. Make sense?
Attached Files
File Type: xlsx Example2.xlsx (16.8 KB, 8 views)
Reply With Quote
  #7  
Old 01-10-2018, 05:49 AM
NBVC's Avatar
NBVC NBVC is offline Formula that determines multiple occurances within a pre-determined time period Windows 10 Formula that determines multiple occurances within a pre-determined time period Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

I am not sure I understand.

Why exactly should I not have a Y in the last cell?

Will there be occasions of 4 MEMNO's? Then what?
Reply With Quote
  #8  
Old 01-10-2018, 07:42 AM
wheddingsjr wheddingsjr is offline Formula that determines multiple occurances within a pre-determined time period Windows 7 64bit Formula that determines multiple occurances within a pre-determined time period Office 2016
Advanced Beginner
Formula that determines multiple occurances within a pre-determined time period
 
Join Date: Mar 2017
Posts: 76
wheddingsjr is on a distinguished road
Default

Good morning NBVC

The reason why the third line would not have a Y is because it is over a year since the first occurance. The second occurance is within a year, but when you look at the dates, the third one is more than a year. Based on review theres really not that many so I can just go through the list and manually correct those using your original formula which as I said previously worked like a charm.

Thanks
Reply With Quote
  #9  
Old 01-10-2018, 08:28 AM
wheddingsjr wheddingsjr is offline Formula that determines multiple occurances within a pre-determined time period Windows 7 64bit Formula that determines multiple occurances within a pre-determined time period Office 2016
Advanced Beginner
Formula that determines multiple occurances within a pre-determined time period
 
Join Date: Mar 2017
Posts: 76
wheddingsjr is on a distinguished road
Default

Just for clarification, once the year span is met, then the 365 days starts again from the last date. I hope that makes sence because its difficult for me to out in words even thoguh I know what I am trying to convey. Either way, I used your formula and it was perfect...I scrolled through the lines to fix those occassional hiccups but other than that your formula worked and I appreciate your assistance.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a formula to count all occurances of HH but multiply by 0.5 first stupidgirl Excel 6 06-14-2016 03:50 PM
Count the common time period (month) between two date period of time Barni Excel 6 08-15-2014 07:52 AM
Formula that determines multiple occurances within a pre-determined time period Units worked per time period carmang Excel 4 07-24-2014 08:24 AM
Formula that determines multiple occurances within a pre-determined time period How do I calculate planned work for a given time period bumpui Project 1 06-04-2014 06:37 AM
Allocation of task in certain period of time mati2 Project 1 02-25-2012 07:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft