Hi folks,
I have little spreadsheet problem and wonder if anyone here can help with
the Eureka side.
In an MS-Win side Excel spreadsheet, I have a function that gives the
number of days between two dates.
Cell C2 contains today date from =TODAY()
Cell D2 contains the date from which the days need to be calculated.
Cell C4 contains the function =DAYS(c2,d2) which does the calculation.
This works okay in Excel, but doesn't work in Eureka.
Is there a comparable function in Eureka that will perform the same action?
Thanks
Dave
--
Dave Triffid
On Wednesday, 15 March 2023 at 18:55:10 UTC, Dave wrote:
Hi folks,
I have little spreadsheet problem and wonder if anyone here can help with the Eureka side.
In an MS-Win side Excel spreadsheet, I have a function that gives the number of days between two dates.
Cell C2 contains today date from =TODAY()
Cell D2 contains the date from which the days need to be calculated.
Cell C4 contains the function =DAYS(c2,d2) which does the calculation.
This works okay in Excel, but doesn't work in Eureka.
Is there a comparable function in Eureka that will perform the same
action?
Thanks
Dave
--
Dave Triffid
Hi Dave
I am by no means a Eureka expert, but as far as I can see the following approach seems to work OK.
Cell A1 - input the date from which the days need to be calculated - dd/mm/yyyy format. Cell A2 - input the function TODAY() - paste in this function from 'Formula Menu', 'Paste Function' Sub Menu, Category 'Date
& Time'. Cell A3 - input formula "=A1-B1"
I assume that you can juggle how those cells are arranged to suit the
rest of your sheet.
Hope that helps (and that this reply lands OK where it should - my first
ever post into this forum!)
Cheers
Martyn Ellis
Hi Dave
So sorry for having (unintentionally) suggested that you might like to
try sucking some proverbial eggs - I'm afraid that I hadn't fully
grasped from your initial message what it was that you're trying to
achieve. Having seen your last message, I realise that you were way
ahead of me already as regards the niceties of !Eureka.
Only thing to add is that, having had a quick scan through the !Eureka
manual earlier today, I did find mention of a function 'DAYS360', which
seems to work and use syntax very much like your Excel one - except that (very bizarrely) it calculates the number of days between two dates on
the assumption that a year consists of 12 months of 30 days each!!
Definitely no mention of a 'DAYS' function exactly like the one in
Excel. Why that should be there but not the precise function that you're looking for is a bit of a mystery - except that I guess it was a whole
lot easier to program!
Anyway, good luck with trying to sort out the tidying up of your sheets.
Cheers
Martyn Ellis
In article <f8ba1423-09e7-48d0-9677-18aa0393cc10n@googlegroups.com>,
Martyn Ellis <martyn.ellis12@gmail.com> wrote:
Hi Dave
So sorry for having (unintentionally) suggested that you might
like to try sucking some proverbial eggs - I'm afraid that I
hadn't fully grasped from your initial message what it was that
you're trying to achieve. Having seen your last message, I
realise that you were way ahead of me already as regards the
niceties of !Eureka.
Martyn. I honestly didn't reply from that angle, I just appreciated
you taking the time to make a useful suggestion. :-)
I'm always up for a bit of learning even in my dotage. :-)
(Rhenium). So no eggs were consumed during the chat. :-)
...than Tippex.) [Does anyone remember Tippex?]
I discovered a lot of useful tricks over the years. One, is that if I
use numerical slots,
and put the date into A1 (as 17.3.23) it shows as <17 Mar 2023>
If in A2 I insert A1+7 the slot returns <24 Mar 2023>.
If in A3 I insert A2-A1 the slot returns <7>
Is there no such facility in Eureka?
(At this point, Martyn, I usually discover I've totally misunderstood
the nature of the question.)
[Does anyone remember Tippex?]
In message <5a8685a47ariscos@mdharding.org.uk>
M Harding <riscos@mdharding.org.uk> wrote:
[Does anyone remember Tippex?]
My screen used to be covered in it.
In article <5a8685a47ariscos@mdharding.org.uk>,
M Harding <riscos@mdharding.org.uk> wrote:
[Snip]
...than Tippex.) [Does anyone remember Tippex?]
Hi Michael, what fun... :-) Yes, I still have a bottle of Tippex
correction fluid here on my office desk... Mmnn! Come to think
about it, I also have a Tippex snail correction tape, and still use
both... :-)
I discovered a lot of useful tricks over the years. One, is that
if I use numerical slots,
and put the date into A1 (as 17.3.23) it shows as <17 Mar 2023>
If in A2 I insert A1+7 the slot returns <24 Mar 2023>.
If in A3 I insert A2-A1 the slot returns <7>
Is there no such facility in Eureka?
Yes that works the same in Eureka providing you've set the cell to
display a date as "dd mmm yyyy" (Sans quotes).
(At this point, Martyn, I usually discover I've totally
misunderstood the nature of the question.)
[Snip]
Michael, you were kind of on the same track as our chat, though we
were specifically noting the lack off, or the inaccurate results of
a Function.
But then I'm quite often confused myself, as you know. :-/
The original question was about the function. "=Days(cell,cell)"
Which for some reason does not exist in Eureka.
Followed by a similar but inaccurate function "=DAYS360(C2,B2)"
which I modified to make the inaccurate result a little closer to
reality. "=DAYS360(C2,B2)+5"
This of course can be overcome in Eureka by using the formula...
"=$B$2-$C$2" Where B2 has todays date "=TODAY()" and C2 has the
start date "17 Mar 2022" (Sans quotes).
Anyway, whatever... It's nice to chat with friends.
In message <5a8685a47ariscos@mdharding.org.uk>
M Harding <riscos@mdharding.org.uk> wrote:
[Does anyone remember Tippex?]
My screen used to be covered in it.
David
Cell C4 contains the function =DAYS(c2,d2) which does the calculation.
This works okay in Excel, but doesn't work in Eureka.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:50:55 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,518 |