 |
 |
NeoOffice Spreadsheet Formula...
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
Hey
I have a spreadsheet in NeoOffice that has a column of dates.
Is it possible to come up with a formula for the next column over, that will display the number of days between [NOW] and the date in the previous column? This would be very handy. thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
If the cells are set to date format, then you can calculate differences between dates simply by subtracting one from the other. Then the question is how to set a cell to "now." That I'm not sure. Have you checked for a function, like DATE() or something?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2006
Status:
Offline
|
|
I don't know NeoOffice that well, but I'm presuming it has the same functions as Excel - there will be a function called NOW, or something like that, and a formula for calculating dates - have you poked around in the formula section?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status:
Offline
|
|
In Excel:
=NOW()-A1
will give you the difference in days between today and the date in cell A1.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
B2 = NOW() - A2
where A2 = 3/6/08
B2 = 12/31/99
wtf? NOW() along does give me todays date.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
=ROUND(DAYS(NOW();A2))
OK This is the last formula i came up with. It actually works in the 'formula builder' thing, but in my spread sheet, it gives me a date, now 1/1/00. In the formula builder it tells me '2' which is the right answer.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
OK i got it. Formatting is kind of weird, the column is formatted as a number, but the individual cell was still formatted as a date. strange.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status:
Offline
|
|
Excel likes to take a guess at how you want your cells formatted. You are subtracting two dates, so it guesses you need it formatting as a date. A bit strange, but sort of logical.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status:
Offline
|
|
Except that I008com is using NeoOffice 
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
I'm back. Hows about getting the sum of an entire column? Clicking on the column header while editing the formula doesn't do anything.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
also, why would this formula be giving me "#VALUE!" ???
=SUM((C4:C53)*50)
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Offline
|
|
Originally Posted by l008com
=(SUM(C4:C53)*50)
Fixed for ya !
-t
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status:
Offline
|
|
Originally Posted by l008com
also, why would this formula be giving me "#VALUE!" ???
=SUM((C4:C53)*50)
That occurs when the column isn't wide enough to display the result, fwiw.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Offline
|
|
Originally Posted by JKT
That occurs when the column isn't wide enough to display the result, fwiw.
Are you sure ?
Because this is definitely a formula error in Excel.
The syntax of the formula is wrong.
-t
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status:
Offline
|
|
My mistake - you're right - it is ### when the column is too narrow for the value.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|