ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   counting days (https://www.excelbanter.com/excel-discussion-misc-queries/11449-counting-days.html)

Anthony

counting days
 
Hi,
is it possible to have a cell on a worksheet that
automaticaly produces the date ie =TODAY() then in
another (hidden) cell show that date as a number.
for example if the date placed was 3rd Feb 2005 the
hidden cell would show 3 as this is the 3rd day, or if
the date shown was 21st Feb 2005, the cell would show 21
as this is day 21 of the month.

Hope I have made myslef clear, and thanks in advance

Bob Phillips

=day(A1)

How will it show anything if it is hidden?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Anthony" wrote in message
...
Hi,
is it possible to have a cell on a worksheet that
automaticaly produces the date ie =TODAY() then in
another (hidden) cell show that date as a number.
for example if the date placed was 3rd Feb 2005 the
hidden cell would show 3 as this is the 3rd day, or if
the date shown was 21st Feb 2005, the cell would show 21
as this is day 21 of the month.

Hope I have made myslef clear, and thanks in advance





hi,
assuming that your date in in Cell A1,
in the hidden cell(?) enter
=Day(A1)
-----Original Message-----
Hi,
is it possible to have a cell on a worksheet that
automaticaly produces the date ie =TODAY() then in
another (hidden) cell show that date as a number.
for example if the date placed was 3rd Feb 2005 the
hidden cell would show 3 as this is the 3rd day, or if
the date shown was 21st Feb 2005, the cell would show 21
as this is day 21 of the month.

Hope I have made myslef clear, and thanks in advance
.


Anthony

Bob,
thanks for that, it will only be hidden as I wish to use
this 'day value' as part of a calculation in another
sheet, so it is does'nt need to be seen in the orig
worksheet.
thanks for your post
-----Original Message-----
=day(A1)

How will it show anything if it is hidden?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Anthony" wrote in

message
...
Hi,
is it possible to have a cell on a worksheet that
automaticaly produces the date ie =TODAY() then in
another (hidden) cell show that date as a number.
for example if the date placed was 3rd Feb 2005 the
hidden cell would show 3 as this is the 3rd day, or if
the date shown was 21st Feb 2005, the cell would show

21
as this is day 21 of the month.

Hope I have made myslef clear, and thanks in advance



.


Bob Phillips

Then wouldn't you just use it directly in that calculation? What advantage
does an intermediary cell hold in this instance?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Anthony" wrote in message
...
Bob,
thanks for that, it will only be hidden as I wish to use
this 'day value' as part of a calculation in another
sheet, so it is does'nt need to be seen in the orig
worksheet.
thanks for your post
-----Original Message-----
=day(A1)

How will it show anything if it is hidden?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Anthony" wrote in

message
...
Hi,
is it possible to have a cell on a worksheet that
automaticaly produces the date ie =TODAY() then in
another (hidden) cell show that date as a number.
for example if the date placed was 3rd Feb 2005 the
hidden cell would show 3 as this is the 3rd day, or if
the date shown was 21st Feb 2005, the cell would show

21
as this is day 21 of the month.

Hope I have made myslef clear, and thanks in advance



.





All times are GMT +1. The time now is 03:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com