LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #24   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Excel Date Format

What I mean is that if you change a cell, the worksheet will recalculate.
Excel is smart enough to not recalculate everything every time,it is all
based upon a complex algorithm, precedents, descendants, etc. But all
volatile functions calculate EVERY time, regardless of whether they have
changed, or any referenced cells have changed. That is why you will often
see people offering INDEX solutions over OFFSET, INDEX is not volatile,
OFFSET is.

I may be wrong, but I don't think it recalculates on a save, but it
certainly does on an open for volatile functions.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
Thank you, Bob. You are truly my teacher. Previously, I asked what was a
dirty cell when we discussed TODAY( ), and no one responded. You explained
it to me without me asking. Great! Do you mind elaborating a bit more?

......recalculate any time anything changes in a workbook......<<


My understanding is that even if I just open the worksheet to print without
making changes, I'll be prompted to save. When I say "yes" to save, I
assume it will recalculate. So, strictly speaking, recalculation takes
place even without a change?? Please tell me if I understand this
correctly.

Appreciate it.

Epinn

"Bob Phillips" wrote in message
...
Indeed it will. In fact, TODAY() is a volatile function that will
recalculate any time anything changes in a workbook. Being volatile means
that opening the workbook also makes it 'dirty', so you will be asked to
save when closing it.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
Bob and Roger,

Yes, template is the way to go.

Please help me understand something here. Is it true that if we use a cell
for TODAY( ), the date formula will be calculated each time when the
worksheet is calculated, even if we use template?

One reason to use "Paste SpecialValue" is to avoid recalculation of a
heading. I know it probably doesn't take long.

Epinn

"Roger Govier" wrote in message
...
Hi Epinn

Of course the user could do as you suggest.
I had imagined the blank report would be set up once and saved as a
template to be used each successive month (whereas I think romelsb may
have assumed this task was to be repeated on each occasion).

Therefore the simple task of just Typing Ctrl + ; into one cell in the
workbook (A1 or any other cell of choice) would IMO be a lot easier than
having to carry out a Copy Paste Special Values to 2 cells in the
workbook, each on a separate sheet.

--
Regards

Roger Govier


"Epinn" wrote in message
...
Clarification

One can insert Bob's semi-monthly formula to one sheet and the
monthly formula to another after the 15th. <<


I am trying to say that when the user prepares the semi-monthly report,
he/she can prepare the heading for the monthly report *ahead of time*.
The idea is to capture the current month in time. When the user is
ready to compile the monthly report after the last day of the month,
he/she can just fill in the worksheet which has already got the heading
set up.

The user can modify my suggestion according to his/her needs. Is it
true that one can make a macro global for many users to take advantage
of?

Epinn

"Epinn" wrote in message
...
Roger,

I think Bob's formula is very doable even without A1. It depends on how
one uses it.

I see that the user will prepare the semi-monthly report after the 15th
of the month but before the end of the month. One can insert Bob's
semi-monthly formula to one sheet and the monthly formula to another
after the 15th. TODAY() will pick up the month to be reported. Then
add one crucial step.

EditCopy and then EditPaste SpecialValues

This way, we don't have to be concerned about volatility of TODAY().

Of course, one can argue that the user may forget to Paste
SpecialValues. I see that the steps can be recorded to a macro/a
keystroke. This is the shortcut I have in mind.

Any comments?

Epinn

"Roger Govier" wrote in message
...
Hi

My response was to Idan's comment.
If he is concerned about the dates changing with the use of the volatile
function Today(), he can substitute cell A1 in place of Today()
throughout Bob's formulae.

On Sheet 2 in cell 1 enter =Sheet1!A1
On sheet 1, each month when he creates a new report enter Control + ;
(that's control + semicolon) as this will hard fix the value of Toay to
the cell.

On sheet1
="Name of Report "&TEXT(A1mmmm")&" 1 - 15"
On sheet2
="Name of Report "&TEXT(A1mmmm")&" 16 -
"&TEXT(DATE(YEAR(A1),MONTH(A1)+1,0),"dd")

So the only typing to be made each month is Ctrl + ;

--
Regards

Roger Govier


"romelsb" wrote in message
...
excuse me...You are right 2........see Idan's wish applying in his
real
world....

"Roger Govier" wrote:

Hi

so I guess I'll just continue to type it every two weeks. Thanks
again.


Why?
Bob's two solutions, one for each sheet does exactly what you ask.

--
Regards

Roger Govier


"ldan122000" wrote in message
...
Thanks for everyone's help, so I guess I'll just continue to type
it
every
two weeks. Thanks again.

"romelsb" wrote:

Excuse me Gary n Bob.....Try my suggestion....Idan is pertaining
to a
recorded Report within semi-monthly basis, one report in every
sheet....if he
save his workbook today and then reopen it after one year, u know
the
devastating result....try to be cautious on our helpful
suggestions
cause it
may contribute to users boredom in using excel again....Of
course -
Ida will
do his report a little later after the said period....Better type
it
as text,
sometimes its worthy and only way !!!

"ldan122000" wrote:

I would like to use a formula to display the following:

"Name of Report" October 1 - 15 as the date, then on the next
sheet,

"Name of Report" October 16 - 31

But also make adjustments when the months are shorter, such as
November 30.

Thanks, any help would be appreciated.













 
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
Excel date format issue rs-excel Excel Discussion (Misc queries) 1 October 17th 06 11:37 PM
How to format date cells, Excel template Project scorecard matrix Sugar Creek Packing Excel Worksheet Functions 0 October 5th 06 06:36 PM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Excel: I enter date and format for date, but shows as number spohar Excel Discussion (Misc queries) 2 March 10th 06 08:40 PM
Excel Query Wizard Date Format aldsv Excel Discussion (Misc queries) 1 May 31st 05 12:44 PM


All times are GMT +1. The time now is 05:40 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"