Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2015, 12:31 PM
stuwoolf stuwoolf is offline Using IF statement to flag a required action Windows 8 Using IF statement to flag a required action Office 2010 64bit
Novice
Using IF statement to flag a required action
 
Join Date: Dec 2014
Posts: 14
stuwoolf is on a distinguished road
Default Using IF statement to flag a required action

Hello again,



I intend producing a spreadsheet (Excel 2003) which holds training course details and the dates each employee must complete the refresher.

What I want to do is construct a formula which will show a "FLAG" which is 30 days before the date in the cell being looked at. For example. a training course is completed on 28 January 2014. The refresher for the course is annual and the next renewal would be 27 January 2015.

I want the flag to pop up, saying "REFRESHER DUE" in the same column/row (F7), 30 days before the due date of 27 January 2015. In order to further highlight the flag the cell showing the answer will be in red text.

What I have in mind is something like =IF(E7<=(E7-30),REFRESHER DUE,"") where Cell E7 has the date of the review.

For the life of me I cant get this to work.

I have attached a spreadsheet showing what I have in mind.

Grateful for any help.
Attached Files
File Type: xls Training Record DRAFT.xls (33.5 KB, 7 views)
Reply With Quote
  #2  
Old 01-27-2015, 12:54 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Using IF statement to flag a required action Windows 7 64bit Using IF statement to flag a required action Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
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

Perhaps
Code:
=IF(E7-30<=TODAY(),"refresher due","")
?
Use CF to colour the text like =F7<>"" format red
__________________
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-27-2015, 02:10 PM
stuwoolf stuwoolf is offline Using IF statement to flag a required action Windows 8 Using IF statement to flag a required action Office 2010 64bit
Novice
Using IF statement to flag a required action
 
Join Date: Dec 2014
Posts: 14
stuwoolf is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Perhaps
Code:
=IF(E7-30<=TODAY(),"refresher due","")
?
Use CF to colour the text like =F7<>"" format red
Thank you for the prompt response.

It looks like your suggestion will work.

I'm not sure how to use the CF part of your response. Grateful of you could show where the =F7<>"" would be placed using the code you supplied?

Also, is it possible to shade the cell in yellow as well as red text?

Again, if so I will be grateful for a demonstration.

Thanks. I'm very pleased.
Reply With Quote
  #4  
Old 01-28-2015, 01:40 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Using IF statement to flag a required action Windows 7 64bit Using IF statement to flag a required action Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
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

Supposing you need to use the formula in F7: F100,select that range. In the Home ribbon select CF, -New Rule -use a formula...-enter =$F7<>"" and set your formatting accordingly. ( red font and fill yellow) -Ok - Apply

I also noticed you are working with some weird merging of cells. Best to get rid of that
__________________
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
  #5  
Old 01-28-2015, 12:27 PM
stuwoolf stuwoolf is offline Using IF statement to flag a required action Windows 8 Using IF statement to flag a required action Office 2010 64bit
Novice
Using IF statement to flag a required action
 
Join Date: Dec 2014
Posts: 14
stuwoolf is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Supposing you need to use the formula in F7: F100,select that range. In the Home ribbon select CF, -New Rule -use a formula...-enter =$F7<>"" and set your formatting accordingly. ( red font and fill yellow) -Ok - Apply

I also noticed you are working with some weird merging of cells. Best to get rid of that
Thanks again for your help.

I did what you suggested and the outcome seems to be what I seek.

I have attached 2 spreadseets detailing how I will proceed. As you will see, A Brown is the source and Training Record DRAFT1 is where the details of all employees (there are 38) will be gathered together.

On the DRAFT sheet, is there any way to show the date of a Review which isnt due, ie rather than show a blank cell it will show the date the review is due and without any CF?

Also, as mentioned above, I have 38 individual records to produce and then transfer to the consolidated sheet. The easiest way to populate the consolidated sheet is using the COPY command. What I mean is enter the link on the consolidated sheet for example, in cell E3 and drag it to the right. However as the 2 sheets are constructed differently ie Portrait and Landscape, Copy and Drag isnt immediately possible. Is there anything I can do to make this possible? Or an aternative way to do it?

Very grateful for your continuing help and guidance.

P.S. Not quite sure what you mean about weird merging of cells. Unfortunately the format of the sheet was given to me and needs to be kept that way. However I am sure there is room to persuade the boss and improve things
Attached Files
File Type: xls A Brown.xls (47.5 KB, 6 views)
File Type: xls Training Record DRAFT1.xls (45.5 KB, 8 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
flag identical words? 21rouge Word 1 09-21-2013 08:42 AM
Using IF statement to flag a required action Follow-up Flag Behavior curtis.walker@sgmc.org Outlook 1 03-06-2013 08:52 AM
Task closing when flag is cleared pro3carp3 Outlook 1 12-05-2011 10:21 PM
Using IF statement to flag a required action What IF statement required dr4ke Excel 8 09-01-2011 07:41 AM
How to link an action on one slide on a powerpoint with the same action on another slevinmj PowerPoint 0 02-24-2011 05:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:22 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