While my job wasn't strictly programming, I was the only one that knew anything of the sort and was in charge of making a bunch of products that are still in use. Some of the excel formulas don't make sense to me anymore, such as this one that searches for a specific mention of a word in a column of other words: =SUMPRODUCT(SUBTOTAL(3,OFFSET(ARCHIVE_DIFM!$P$13:$P$17993,ROW(ARCHIVE_DIFM!$P$13:$P$17993)-MIN(ROW(ARCHIVE_DIFM!$P$13:$P$17993)),,1)),ISNUMBER(SEARCH("SERVICEABLE",ARCHIVE_DIFM!$P$13:$P$17993))+0)
[The image shows an Excel formula. It is not in a monospace font, but for the purposes of readability I have placed it in a code block. It reads as follows:]
29
u/recycle4science Mar 24 '22
I feel like excel is cheating. This could easily be from somebody who doesn't know anything about coding and just cobbled something together.
17
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Mar 24 '22
Image Transcription: Code
[The image shows an Excel formula. It is not in a monospace font, but for the purposes of readability I have placed it in a code block. It reads as follows:]
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
11
u/B0dona Mar 24 '22
I too program in Word
6
u/TheBrainStone Mar 24 '22
Who needs modulo when you can type out all possibilities by hand
5
u/lordheart Mar 24 '22
And here everyone was complaining that the isEven functions where so dumb nobody could possible have code like that.
3
u/zoonose99 Mar 25 '22
My kingdom for a modulo
2
u/envlemons Mar 25 '22
Minute 59 is wrong
1
u/Extension-One-9641 Mar 25 '22
As a programmer, I may have suffered a stroke looking at this
1
u/rgnkn Mar 25 '22
I think this is a nice way to fill your time slot at work without getting too much committed to your employer.