Editing Talk:2180: Spreadsheets
Please sign your posts with ~~~~ |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 26: | Line 26: | ||
I was hoping the explanation would say what those named functions do, LOL! Never used Google Sheets. But I've used the hell out of Excel. Can't imagine how a single cell could display a calendar, but I've often done a quick on-the-fly calendar where each cell is a day... Usually to check what weekdays certain days are. Like "What weekday was I born?". Often I designate one cell as a starting date, the first row uses the WEEKDAY function to check "Is that this weekday, an earlier weekday or a later weekday?". A later weekday, leave it blank. An earlier weekday, take yesterday and add one. This weekday, show it. Then Week 2, Sunday is Saturday + 1, Monday is Sunday + 1, etc. Copy / Paste to finish the week, Copy / Paste the week to finish the calendar. I change the cell formatting to show only the Day of the date, but each cell stores an entire date. And the 8th column shows the month every time the month changes (usually a VLOOKUP on a reference table I make with Fill Series). I can then just change the master cell to change what date range the calendar shows. I might use Excel the most for mass renaming files though. :) [[User:NiceGuy1|NiceGuy1]] ([[User talk:NiceGuy1|talk]]) 04:24, 26 July 2019 (UTC) | I was hoping the explanation would say what those named functions do, LOL! Never used Google Sheets. But I've used the hell out of Excel. Can't imagine how a single cell could display a calendar, but I've often done a quick on-the-fly calendar where each cell is a day... Usually to check what weekdays certain days are. Like "What weekday was I born?". Often I designate one cell as a starting date, the first row uses the WEEKDAY function to check "Is that this weekday, an earlier weekday or a later weekday?". A later weekday, leave it blank. An earlier weekday, take yesterday and add one. This weekday, show it. Then Week 2, Sunday is Saturday + 1, Monday is Sunday + 1, etc. Copy / Paste to finish the week, Copy / Paste the week to finish the calendar. I change the cell formatting to show only the Day of the date, but each cell stores an entire date. And the 8th column shows the month every time the month changes (usually a VLOOKUP on a reference table I make with Fill Series). I can then just change the master cell to change what date range the calendar shows. I might use Excel the most for mass renaming files though. :) [[User:NiceGuy1|NiceGuy1]] ([[User talk:NiceGuy1|talk]]) 04:24, 26 July 2019 (UTC) | ||
::excel to rename files? How very Rube Goldberg. Windows still includes shell batch commands (.bat files) for that kind of functionality.[[Special:Contributions/162.158.246.82|162.158.246.82]] 14:44, 27 July 2019 (UTC) | ::excel to rename files? How very Rube Goldberg. Windows still includes shell batch commands (.bat files) for that kind of functionality.[[Special:Contributions/162.158.246.82|162.158.246.82]] 14:44, 27 July 2019 (UTC) | ||
− | |||
− | |||
Something about the display is bugged out. [[Special:Contributions/162.158.107.67|162.158.107.67]] 05:43, 26 July 2019 (UTC) | Something about the display is bugged out. [[Special:Contributions/162.158.107.67|162.158.107.67]] 05:43, 26 July 2019 (UTC) | ||
Line 36: | Line 34: | ||
For days after this comic was uploaded I was afraid to visit explain-xkcd as I was certain that the formula mentioned in the title text would be recreated already. Call me nerd-sniped, but I could not resist giving it a try. So here it is: https://docs.google.com/spreadsheets/d/1Q5GOo6x49HkyDsDGmr61za4S5GWCuXQkd-tX9zN4Zwo/edit?usp=sharing The calendar generates entirely from cell D4. Only input is start date in A1 and end date in A2. I don't know if Randall seriously developed the formula he described, but mine differs somewhat from his description. It does make heavy use of SEQUENCE, but uses only one ARRAYFORMULA (why would you double-nest it anyway?) and does not use REGEXMATCH as I could not find any use for it. Of course, there's also a hodgepodge of functions SWITCH, IF, some operators and a bunch of functions related to date calculations. It freezes the browser for some 15 seconds just as Randall promised. Output is a calendar displaying all the months from start to end date, containing name of the month, year, weekdays and every individual day. Feel free to copy the formula from D4 into your own Google Sheets spreadsheet and add any dates you like in cells A1 and A2 (they must be in those two cells in your sheet, too) using the function =DATE(yyyy,mm,dd). For me it works easily even for dates decades apart. If you see a random N/A error in one or two cells (though I haven't spotted any), let me know, it's easily correctable. If you see a REF error, you probably inserted dates decades apart, in which case you just need to hold on and Google will add more rows automatically. Be patient with it. [[User:Ipez|Ipez]] ([[User talk:Ipez|talk]]) 15:03, 3 August 2019 (UTC) | For days after this comic was uploaded I was afraid to visit explain-xkcd as I was certain that the formula mentioned in the title text would be recreated already. Call me nerd-sniped, but I could not resist giving it a try. So here it is: https://docs.google.com/spreadsheets/d/1Q5GOo6x49HkyDsDGmr61za4S5GWCuXQkd-tX9zN4Zwo/edit?usp=sharing The calendar generates entirely from cell D4. Only input is start date in A1 and end date in A2. I don't know if Randall seriously developed the formula he described, but mine differs somewhat from his description. It does make heavy use of SEQUENCE, but uses only one ARRAYFORMULA (why would you double-nest it anyway?) and does not use REGEXMATCH as I could not find any use for it. Of course, there's also a hodgepodge of functions SWITCH, IF, some operators and a bunch of functions related to date calculations. It freezes the browser for some 15 seconds just as Randall promised. Output is a calendar displaying all the months from start to end date, containing name of the month, year, weekdays and every individual day. Feel free to copy the formula from D4 into your own Google Sheets spreadsheet and add any dates you like in cells A1 and A2 (they must be in those two cells in your sheet, too) using the function =DATE(yyyy,mm,dd). For me it works easily even for dates decades apart. If you see a random N/A error in one or two cells (though I haven't spotted any), let me know, it's easily correctable. If you see a REF error, you probably inserted dates decades apart, in which case you just need to hold on and Google will add more rows automatically. Be patient with it. [[User:Ipez|Ipez]] ([[User talk:Ipez|talk]]) 15:03, 3 August 2019 (UTC) | ||
− | |||
− |