Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Colour cell to return date

Hi all, this is what i wish to have happen; i have created a list of
activities B5:B25 say, next to them i have two column Start & Finish D & E,
next to them i have columns G to J, where G1:J1 has date fields in cells 8th
Jan 10, 15th Jan 10, to 29th Jan 10 week between them. The question is how
can i retrurn a date in cell D5 if i populate G5 (or fill with a colour)?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Colour cell to return date

Hi,
see Chip explanation

Color Change And Calculation

Excel normally calculates the formula in a cell when a cell upon which that
formula depends changes. For example, the formula =SUM(A1:A10) is
recalculated when any cell in A1:A10 is changed. However, Excel does not
consider changing a cell's color to be significant to calculation, and
therefore will not necessarily recalculate a formula when a cell color is
changed. Later on this page, we will see a function named CountColor that
counts the number of cells in a range that have a specific color index. If
you change the color of a cell in the range that is passed to CountColor,
Excel will not recalculate the CountColor function and, therefore, the result
of CountColor may not agree with the actual colors on the worksheet until a
recalculation occurs. The relevant functions use Application.Volatile True to
force them to be recalculated when any calculation is done, but this is still
insufficient. Simply changing a cell color does not cause a calculation, so
the function is not recalculated, even with Application.Volatile True

if this helps please click yes thanks

"whatzzup" wrote:

Hi all, this is what i wish to have happen; i have created a list of
activities B5:B25 say, next to them i have two column Start & Finish D & E,
next to them i have columns G to J, where G1:J1 has date fields in cells 8th
Jan 10, 15th Jan 10, to 29th Jan 10 week between them. The question is how
can i retrurn a date in cell D5 if i populate G5 (or fill with a colour)?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 834
Default Colour cell to return date

D5: =I(G5<"",G5,"")

--

HTH

Bob

"whatzzup" wrote in message
...
Hi all, this is what i wish to have happen; i have created a list of
activities B5:B25 say, next to them i have two column Start & Finish D &
E,
next to them i have columns G to J, where G1:J1 has date fields in cells
8th
Jan 10, 15th Jan 10, to 29th Jan 10 week between them. The question is how
can i retrurn a date in cell D5 if i populate G5 (or fill with a colour)?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Colour cell to return date

Bob, thanks for the response....unfortunately when i cut and paste into D5,
it return "#name?", i was expecting it to return whatever is in G1

"Bob Phillips" wrote:

D5: =I(G5<"",G5,"")

--

HTH

Bob

"whatzzup" wrote in message
...
Hi all, this is what i wish to have happen; i have created a list of
activities B5:B25 say, next to them i have two column Start & Finish D &
E,
next to them i have columns G to J, where G1:J1 has date fields in cells
8th
Jan 10, 15th Jan 10, to 29th Jan 10 week between them. The question is how
can i retrurn a date in cell D5 if i populate G5 (or fill with a colour)?



.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 834
Default Colour cell to return date

I dropped an F

=IF(G5<"",G5,"")


--

HTH

Bob

"whatzzup" wrote in message
...
Bob, thanks for the response....unfortunately when i cut and paste into
D5,
it return "#name?", i was expecting it to return whatever is in G1

"Bob Phillips" wrote:

D5: =I(G5<"",G5,"")

--

HTH

Bob

"whatzzup" wrote in message
...
Hi all, this is what i wish to have happen; i have created a list of
activities B5:B25 say, next to them i have two column Start & Finish D
&
E,
next to them i have columns G to J, where G1:J1 has date fields in
cells
8th
Jan 10, 15th Jan 10, to 29th Jan 10 week between them. The question is
how
can i retrurn a date in cell D5 if i populate G5 (or fill with a
colour)?



.





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 cell colour by date Dri New Users to Excel 5 February 8th 06 10:29 PM
After a cell changes colour when a date is near cityfc Excel Discussion (Misc queries) 3 January 10th 06 03:58 PM
How can i change cell colour depending on month of date in cell? andy75 Excel Discussion (Misc queries) 2 January 6th 06 07:46 AM
Can I fill colour in a excel cell from a return from an "IF" test. williamw Excel Worksheet Functions 1 March 24th 05 10:31 AM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 05:54 PM


All times are GMT +1. The time now is 11:04 AM.

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"