Excel Digest

  Excel help for the rest of us

Archive for December, 2008

30 Dec

How to determine if a cell has a formula or not

If you want to determine whether a specific cell has a formula or a value then you need to check a range property called “HasFormula”. Here is an example where the border color of a cell is changed to red if it has a formula, otherwise it is set to black.
Dim myRange As String
myRange = [...]

27 Dec

Calculate the number of months between two dates – knowledgebase article

This step-by-step article shows you how to calculate the number of months between any two dates.
To calculate the number of months between any two dates, use one of the following methods. Note that both methods use the following information:
• EDate = Earlier Date
• LDate = Later Date
NOTE: If you type LDate or EDate directly into this formula [...]

13 Dec

How to get the current date and time

If you want to get the current date and time in a cell then you can do one of the following:
1. To get the current date only use the TODAY() function.
Syntax
=TODAY()
2. To get the current date and time use the NOW() function.
Syntax
=NOW()
3. To get the current time only use the NOW() function, and then format [...]

04 Dec

How to create a custom time format

Excel provides a vast number of common time formats. However if you do need a format that is not included in the built-in list then you can create your own custom format as follows:

Right-click on the cell where the date is.
Select Format Cells.
When the dialogue box opens select the Number tab.
In the Category list to [...]

01 Dec

How to insert update date or timestamp in a cell

A few months ago a user asked this question in Excel Help Forum:
If you have two columns, is it possible to have column B put in the date that data was added to column A?
I have replied to the question in the forum at that time, and I have noticed since then that other users [...]

© 2010 Excel Digest | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo