Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Formula with dates in COLOR

On August 21, I submit a question regarding formulas with dates. Now I need
to color each one of the codes that I obtained with the formula.
My results of this problem :
M-00
M-01
M-02
M-03
M-04
M-05

etc.....

I need that each one have a color but for all the row that contains that
code in certain columns.

Thanks
Loulou

LAST QUESTION AND ANSER REGARDING THE SAME PROBLEM:

Assuming your dates are in A2 and onward, in B2:
="M"&TEXT(MONTH(TODAY())-MONTH(A2)+(YEAR(TODAY())-YEAR(A2))*12,"+00;-00;-00")

This will detect how far each month is away from today's date, and format it
match your coding standards.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"loulou" wrote:

I have different dates that I need to classified with different codes. The
codes are M-00, M-01, M-02, M-03, M-04, M-05, M-06, M-07, M-08, M-09, M-10,
M-11, M-12, M+01, M+02, M+03, M+04, M+05, M+06, M+07, M+08, M+09, M+10, M+11,
and M+12.
To gave a code this is the criteria:
Today's date is M-00, but is not only for today's date is for all the month
that today's date contained.
For example: 8/21/09 is M-00, but also for all the month of August will be
M-00.

Now this is the trick, as soon as September starts, September will be M-00.

M-00 means that we are on the month that we need to accomplish the task
M-01 means that we are 1 month away to acomplish the task
M-02 means that we are 2 months away to acomplish the task
M-03 .........
Now,
M+01 means that we are one month behind of that task
M+02 means that we are two months behind of the task
M+03 .......

Let me expose you some examples of code assigned already assuming that we
are on August as M-00.

8/5/09 M-00
8/20/09 M-00
9/6/09 M-01
10/5/09 M-02
11/9/09 M-03
12/12/09 M-04....................
7/09/09 M+01
6/8/09 M+02
5/5/09 M+03

Next month, August will be M+01 and September will be M-00.

How can I create a formula that as soon as change the today's date all the
codes change automatically.

Thank you
Loulou


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Formula with dates in COLOR

Hello again loulou,

How exactly do you want the codes colored? Does each code need its own
unique color identifier? Assuming a basic structure where negative values
need to be red, and positive values are green...

Select the entire row you want formatted. Goto Format - Conditional
Formatting.
Change first dropdown to "fomrula is". Input the following:
=MID($A2,2,1)="-"
Click the format button, go to pattern, choose red. Out.
Add a condition.
Formula is:
=MID($A2,2,1)="+"
Click the format button, go to pattern, choose red. Out.

Hit Ok.
(Note that I am assuming the date codes are in column A. Change letter as
appropriate).

If this is not what you were looking, or something similar, could you
explain in more detail what colors you want, and under what conditions they
would be applied? Thanks.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"loulou" wrote:

On August 21, I submit a question regarding formulas with dates. Now I need
to color each one of the codes that I obtained with the formula.
My results of this problem :
M-00
M-01
M-02
M-03
M-04
M-05

etc.....

I need that each one have a color but for all the row that contains that
code in certain columns.

Thanks
Loulou

LAST QUESTION AND ANSER REGARDING THE SAME PROBLEM:

Assuming your dates are in A2 and onward, in B2:
="M"&TEXT(MONTH(TODAY())-MONTH(A2)+(YEAR(TODAY())-YEAR(A2))*12,"+00;-00;-00")

This will detect how far each month is away from today's date, and format it
match your coding standards.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"loulou" wrote:

I have different dates that I need to classified with different codes. The
codes are M-00, M-01, M-02, M-03, M-04, M-05, M-06, M-07, M-08, M-09, M-10,
M-11, M-12, M+01, M+02, M+03, M+04, M+05, M+06, M+07, M+08, M+09, M+10, M+11,
and M+12.
To gave a code this is the criteria:
Today's date is M-00, but is not only for today's date is for all the month
that today's date contained.
For example: 8/21/09 is M-00, but also for all the month of August will be
M-00.

Now this is the trick, as soon as September starts, September will be M-00.

M-00 means that we are on the month that we need to accomplish the task
M-01 means that we are 1 month away to acomplish the task
M-02 means that we are 2 months away to acomplish the task
M-03 .........
Now,
M+01 means that we are one month behind of that task
M+02 means that we are two months behind of the task
M+03 .......

Let me expose you some examples of code assigned already assuming that we
are on August as M-00.

8/5/09 M-00
8/20/09 M-00
9/6/09 M-01
10/5/09 M-02
11/9/09 M-03
12/12/09 M-04....................
7/09/09 M+01
6/8/09 M+02
5/5/09 M+03

Next month, August will be M+01 and September will be M-00.

How can I create a formula that as soon as change the today's date all the
codes change automatically.

Thank you
Loulou


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default Formula with dates in COLOR

Read Help on Conditional Formatting
Come back with more questions but DO tell us the version of Excel you have
2003 (or earlier) or 2007
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme


"loulou" wrote in message
...
On August 21, I submit a question regarding formulas with dates. Now I
need
to color each one of the codes that I obtained with the formula.
My results of this problem :
M-00
M-01
M-02
M-03
M-04
M-05

etc.....

I need that each one have a color but for all the row that contains that
code in certain columns.

Thanks
Loulou

LAST QUESTION AND ANSER REGARDING THE SAME PROBLEM:

Assuming your dates are in A2 and onward, in B2:
="M"&TEXT(MONTH(TODAY())-MONTH(A2)+(YEAR(TODAY())-YEAR(A2))*12,"+00;-00;-00")

This will detect how far each month is away from today's date, and format
it
match your coding standards.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"loulou" wrote:

I have different dates that I need to classified with different codes.
The
codes are M-00, M-01, M-02, M-03, M-04, M-05, M-06, M-07, M-08, M-09,
M-10,
M-11, M-12, M+01, M+02, M+03, M+04, M+05, M+06, M+07, M+08, M+09, M+10,
M+11,
and M+12.
To gave a code this is the criteria:
Today's date is M-00, but is not only for today's date is for all the
month
that today's date contained.
For example: 8/21/09 is M-00, but also for all the month of August will
be
M-00.

Now this is the trick, as soon as September starts, September will be
M-00.

M-00 means that we are on the month that we need to accomplish the task
M-01 means that we are 1 month away to acomplish the task
M-02 means that we are 2 months away to acomplish the task
M-03 .........
Now,
M+01 means that we are one month behind of that task
M+02 means that we are two months behind of the task
M+03 .......

Let me expose you some examples of code assigned already assuming that we
are on August as M-00.

8/5/09 M-00
8/20/09 M-00
9/6/09 M-01
10/5/09 M-02
11/9/09 M-03
12/12/09 M-04....................
7/09/09 M+01
6/8/09 M+02
5/5/09 M+03

Next month, August will be M+01 and September will be M-00.

How can I create a formula that as soon as change the today's date all
the
codes change automatically.

Thank you
Loulou


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Formula with dates in COLOR

I would like to colored the entire row for ecxample if in the column M+/M-
the value is M-06 I would like to put the entire row yellow, if the value is
M-5, I want it pink, if the value is A-2 I wanted blue and if the value is
M-01 I wanted green.

I have MS Excell 2007.
Thank you
Loulou

"Luke M" wrote:

Hello again loulou,

How exactly do you want the codes colored? Does each code need its own
unique color identifier? Assuming a basic structure where negative values
need to be red, and positive values are green...

Select the entire row you want formatted. Goto Format - Conditional
Formatting.
Change first dropdown to "fomrula is". Input the following:
=MID($A2,2,1)="-"
Click the format button, go to pattern, choose red. Out.
Add a condition.
Formula is:
=MID($A2,2,1)="+"
Click the format button, go to pattern, choose red. Out.

Hit Ok.
(Note that I am assuming the date codes are in column A. Change letter as
appropriate).

If this is not what you were looking, or something similar, could you
explain in more detail what colors you want, and under what conditions they
would be applied? Thanks.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"loulou" wrote:

On August 21, I submit a question regarding formulas with dates. Now I need
to color each one of the codes that I obtained with the formula.
My results of this problem :
M-00
M-01
M-02
M-03
M-04
M-05

etc.....

I need that each one have a color but for all the row that contains that
code in certain columns.

Thanks
Loulou

LAST QUESTION AND ANSER REGARDING THE SAME PROBLEM:

Assuming your dates are in A2 and onward, in B2:
="M"&TEXT(MONTH(TODAY())-MONTH(A2)+(YEAR(TODAY())-YEAR(A2))*12,"+00;-00;-00")

This will detect how far each month is away from today's date, and format it
match your coding standards.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"loulou" wrote:

I have different dates that I need to classified with different codes. The
codes are M-00, M-01, M-02, M-03, M-04, M-05, M-06, M-07, M-08, M-09, M-10,
M-11, M-12, M+01, M+02, M+03, M+04, M+05, M+06, M+07, M+08, M+09, M+10, M+11,
and M+12.
To gave a code this is the criteria:
Today's date is M-00, but is not only for today's date is for all the month
that today's date contained.
For example: 8/21/09 is M-00, but also for all the month of August will be
M-00.

Now this is the trick, as soon as September starts, September will be M-00.

M-00 means that we are on the month that we need to accomplish the task
M-01 means that we are 1 month away to acomplish the task
M-02 means that we are 2 months away to acomplish the task
M-03 .........
Now,
M+01 means that we are one month behind of that task
M+02 means that we are two months behind of the task
M+03 .......

Let me expose you some examples of code assigned already assuming that we
are on August as M-00.

8/5/09 M-00
8/20/09 M-00
9/6/09 M-01
10/5/09 M-02
11/9/09 M-03
12/12/09 M-04....................
7/09/09 M+01
6/8/09 M+02
5/5/09 M+03

Next month, August will be M+01 and September will be M-00.

How can I create a formula that as soon as change the today's date all the
codes change automatically.

Thank you
Loulou


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Font Color on Dates Stacey1016 Excel Discussion (Misc queries) 1 April 24th 09 12:02 AM
Color coding dates in excel Hilly New Users to Excel 7 April 2nd 09 12:05 PM
color coded dates tbird333 Excel Discussion (Misc queries) 3 May 16th 08 10:52 PM
Correlating Color and dates on calendar speadsheet Cassdawn Excel Worksheet Functions 2 August 7th 07 10:12 PM
How do I write a formula to color code based on dates provided or. jaime Excel Worksheet Functions 2 February 17th 05 12:41 AM


All times are GMT +1. The time now is 02:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"