We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel help
Gers
Posts: 13,368 Forumite
in Techie Stuff
Morning.
I'd appreciate some technical help with an Excel spreadsheet please.
Col A has a date in which is ahead - i.e. 16/11/16
I would like a formula which highlights, in Col B, when the date has two months to go before the Col A date is reached.
I need to warn students of the impending end of their registration (and encouorage them to do some blooming work!)
Can it be done? I've tried conditional formatting but can't work it out.
Thanks
I'd appreciate some technical help with an Excel spreadsheet please.
Col A has a date in which is ahead - i.e. 16/11/16
I would like a formula which highlights, in Col B, when the date has two months to go before the Col A date is reached.
I need to warn students of the impending end of their registration (and encouorage them to do some blooming work!)
Can it be done? I've tried conditional formatting but can't work it out.
Thanks
0
Comments
-
If you want to base it on todays date, you can use something like :-
=if(a2-today()<=60,"Y","")
This will put a Y in the relevant cell if there's 60 days or less than the date you've entered to go.
You can then conditionally format that.:wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:
Any posts are my opinion and only that. Please read at your own risk.0 -
Do you mean you just want to subtract 2 months from the value in a cell?
You'd use a function like this:
=EDATE(A1,-2)
Then make sure you set the format of the output column as a date format, or it'll just show a weird numeric version of the date
You can turn that into a True/false if you add a condition:
=IF( TODAY() < EDATE(K7,-2), "TRUE", "FALSE")
Then throw on a bit of conditional formatting to highlight stuff0 -
If you want to base it on todays date, you can use something like :-
=if(a2-today()<=60,"Y","")
This will put a Y in the relevant cell if there's 60 days or less than the date you've entered to go.
You can then conditionally format that.
Thanks, though I won't be using todays date but different dates, mostly from 2015.ringo_24601 wrote: »Do you mean you just want to subtract 2 months from the value in a cell?
You'd use a function like this:
=EDATE(A1,-2)
Then make sure you set the format of the output column as a date format, or it'll just show a weird numeric version of the date
You can turn that into a True/false if you add a condition:
=IF( TODAY() < EDATE(K7,-2), "TRUE", "FALSE")
Then throw on a bit of conditional formatting to highlight stuff
Thanks very much both of you, your help is appreciated.
Off to have a go!0 -
ringo_24601 wrote: »Do you mean you just want to subtract 2 months from the value in a cell?
You'd use a function like this:
=EDATE(A1,-2)
Then make sure you set the format of the output column as a date format, or it'll just show a weird numeric version of the date
You can turn that into a True/false if you add a condition:
=IF( TODAY() < EDATE(K7,-2), "TRUE", "FALSE")
Then throw on a bit of conditional formatting to highlight stuff
Brilliant - that worked perfectly (the first option).
Many thanks.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.3K Banking & Borrowing
- 253.6K Reduce Debt & Boost Income
- 454.3K Spending & Discounts
- 245.3K Work, Benefits & Business
- 601.1K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.2K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards