Modern spreadsheet functions #114
taviso
started this conversation in
Show and tell
Replies: 4 comments 2 replies
|
@EOMONTH is another modern function missing from 123 My method requires a few steps. Get @day(#) of @Date(Y,M,D) equal to first day of next month minus 1 day. @day(@Date(@year(@now),@month(@now)+1,1)-1) Since this formula chokes in December, fix December error: EOMmonth = @Date(@year(@now),@month(@now)+@if(@month(@now)>11,-1,+1),1)-1 Finally Format cell to preferred date format |
0 replies
|
Ah-ha, thanks! I'll add it to the wiki... Hmm, I wonder if we can generalize it to any month offset... although maybe negative is hard, let me experiment! |
0 replies
|
It's very ugly, but this does seem to work:
B3 Contains: |
1 reply
|
Looks good from my house. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've started maintaining a wiki page on how to emulate modern functions in 1-2-3.
For example, there is no
@WEEKDAYfunction in 1-2-3, but that doesn't mean you can't calculate it!https://github.com/taviso/123elf/wiki/Functions#weekday
Any suggestions welcome!
All reactions