- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
WT?
Admin
TRWTF is that they used CHOOSE(MATCH(...),...) instead of VLOOKUP(...). Friggin' financiers.
Admin
[quote user="Auction_God"]Here's a formula I recently had to build. It is easily as long/complex as the WTF cell, but because of the formating it is easier to read and understand. I used CTRL-Enter to add lines to the actual formula.
=IF(AND($D$1="F1",ISNUMBER($K5)),IF($K5<Pass_Retained_Capacity,"Retain Capacity,",""),"") & IF(AND($D$1="F1",ISNUMBER(Dis_2_min),ISNUMBER(Dis_2_max),ISNUMBER($J5)),IF(OR($J5<Dis_2_min,$J5>Dis_2_max),"2nd Discharge Cap,",""),"") & ... snip ... [/quote] Dude... that is not more readable, no matter how you delude yourself. Take a step back, and use your brain. I promise you, there is a better way.
Bonus points if you can identify the industy...[/quote]
Admin
As best as I can tell, it determines the next date for a periodic event. 5Y is 5 years, Y is 1 year, 26W is 26 weeks, etc.
The Designer embedded a bunch of Logic into the formula to add the correct number of days based on the code.
If the application permitted, this would have been simpler.
=DATE(YEAR(H$1),MONTH(H$1),Day(h$1) + Vlookup(f$1,'Interval Lookup!$A$1:$B$50',1,False)
and created another tab with two columns. Interval Code, Number of Days 5y,=3655 Y,365 26W,=267 90D,90 4W,=4*7
The problem with this approach is that it would have to make assumptions about the lengths of Months and years. I.e. assuming that 2 months = 61 days is wrong 1/3 of the time.
Another approach would have used 3 Vlookups, one for years, one for months, one for days. That is probably the most legible correct solution.
Date and time math in excel is icky.
Here is another fun one. It Converts "Integer8" times into excel timestamps. These are 64 bit numbers representing (the number of nanoseconds since 1/1/1601)/100. Curiously this is how active directory stores timestamps.. =IF(C2>0,C2/(8.64*10^11) - 109205,"")
-ellie
captcha: ideo .. what I feel like for learning too much excel. Thats what I get for hanging out with accountants.
Admin
It's from the airline industry, isn't it?
Pass_Retained_Capacity = # of passengers that were on plane for entire flight Dis_2_max = Flight distance if plane makes it to destination. DCR_max = Maximum runway distance needed. ACR_max = Average runway distance needed. OCV_max = Runway distance needed if you want to crash. Shoulder_concession_height = Height (to shoulder) of flight attendants. Concession_height_min = Height of that little wheeled cart that nails me in the knee.
Simple!
Admin
Maybe he's a Nissan guy.
Admin
I've been using the Format Painter icon pretty much since I've been using Office.
It always amazed me that people use these products for years and never click on anything new. I see my coworkers struggling to build Word docs and spreadsheets, doing everything the long way, and when I try to show them a faster way, they always say, "Well, I need to take a class."
I didn't take a class. Clicking "Help" pretty much taught me everything I need to know about Word and Excel.
Admin
"the other women who never leaned how to file a trouble ticket where baffled about how to get their problems fixed."
Interesting how many women say they're tired of the usual stereotypes and want equality, yet they still resort to the old 'bat eyelashes' and 'sweet talk' to get men to do stuff for them. Also interesting how many men get sucked into that.
Admin
Most of the accountants I know can barely use SUM and COUNT. A few can use VLOOKUP if they have an example from from another spreadsheet and several hours to spare. A formula that complex had to be done by a college intern or an IT busybody. They will, however, do everything in a spreadsheet including database tables and word processing documents. A word to the newbies, don't spend more than 30 seconds formatting a report for accounting, they are only going to re-key it into Excel and reformat it themselves anyway.
Admin
WIN
Admin
Mind you, møøse bites kan be pretty nasti...
Admin
Admin
The Real WTF is all the hard-coded stuff in there. I've written a similar spreadsheet myself and I used the actual cells in the spreadsheet instead, so that if anyone adds a column it doesn't break the world's ugliest spreadsheet formula.
Admin
The cell formula resolves to her phone number.
Admin
Obvious. It's porn.
Admin
Fixing this kind of horrid Excel formulae is officially my day job. For Real. And I don't even get sexual favors.
Captcha: tristique Aint that a fact!
Admin
Admin
Admin
No, the suspense is killing me... won't someone please tell us what the !&" error is? I don't want to have to fight the spiders in the attic just to dig out my "Excel 1.0 for Dummies" book.
Admin
I'm just suprised no one has mentioned yet that you can double click on the little paint-brush to continue applying the same format until you click it again.
Saves so much time (and yes, I also use styles, and define my own, and use the Alt + Shift + left or right shortcuts to switch to header 1,2,3 etc (and up or down can re-order bullet points or word tables).
That may have sounded a little geeky
Admin
Admin
Friends don't let friends do stuff in Excel.
For the cute accountant, use a database.
For the fancy-schmancy data analysis formula fellow, use R or maybe MatLab.
OK, so I'm not funny. Neither is Excel.
Admin
Actually, I do know about it, but only because I attended a three day course on Microsoft Access. (Instructor happened to mention it while she was comparing/contrasting MS Excel and MS Access).
Yeah, the format brush thingie is pretty sweet. Note that, that course I attended is supposed to be the sort of thing that geeks like me wouldn't need. Well, in fact, it was pretty darn helpful. (Not just for the format brush--I learned a lot of useful things about MS Access that I otherwise would not have discovered for quite some time.)
-- Furry cows moo and decompress.
Admin
TRWTF is that he edited out the part that the cubie was really Irish Girl.
Now I ask, who wouldnt have tried to fix it?
Admin
"OK, Miss Brunette, I see what the problem is. Cell Y32 needs your phone number, so if you'd please just fill that in, we'll try it again."
Admin
-Harrow.
Admin
My thoughts exactly. Ugh, there goes my break.
Admin
Oh! I thought Cell 24Z was the room in the psych ward that he occupied after trying to debug an Excel formula.
Admin
Most useful thing to know about Access: close button is in top right
Admin
Silly nerds. You don't solve problems for fame or fortune, you solve problems because they exist.
Admin
No realli! She was Karving her initials on the møøse with the sharpened end of an interspace tøøthbrush given her by Svenge - her brother-in-law - an Oslo dentist and star of many Norwegian møvies: "The Høt Hands of an Oslo Dentist", "Fillings of Passion", "The Huge Mølars of Horst Nordfink"...
Admin
Admin
The industry is undoubtedly theme park rides.
I can not tell you, however, who is in dusty.
--Lego
captcha: sino. Perhaps dusty is Chinese...
Admin
Sure they do. Its just that the definition of "cute guy" has nothing to do with looks.
"Cute guys" are the ones with money hanging out their pockets and a office assistant under their desks.
They don't get get any preferential treatment from you because they will never need it.
Admin
Amen Sister (I'm assuming sister?)!!
Apparently we're the small mintority that can teach themselves. I'm usually getting yelled at for using styles and (gasp!) autonumber in Word. Heck, I learned a lot just by playing around, and if that didn't work I'd resort to "Help".
It's a tool, use it. Don't treat it like a neat typwriter for $Diety's Sake!
Admin
Yes absolutely and it sucks! I've had people assume that just because I program computers that I also routinely assemble the cellphones that they use. Sigh
Admin
Admin
It's often industy within my cpu fan.
Admin
Good grief. Get a room you two.
Admin
Hopefully not Ferrari... :)
Admin
"...*365.25+1900" is going to fail when you pass 2100, which is not a leap year. 2000 was an exception to an exception to an exception to the rule (that years have 365 days).
There MIGHT be a much more straightforward way to accomplish all this with date manipulation functions... except that no one with any experience trusts Microsoft's date handling. http://support.microsoft.com/kb/214330 http://office.microsoft.com/en-us/excel/HA102201961033.aspx etc...
Admin
... and did you know that if you double-click the Format Painter button, you can apply the selected cells' format to multiple other cells? (You'll be in "apply format mode", where every cell or range you click on will receive the previously selected format, until you press Esc).
Excel truly does excel... insert clever mandatory Microsoft slam here ___________________
Admin
Same with me. Some people see me as "someone which knows all about electronics and computers", and if I tell them I don't know they usually come with excuses of the type "c'mon, don't be unhelpful". I so damn hate that.
To make it worse, I study electronics engineering. This makes people think I can repair pretty much anything which uses batteries or goes plugged into an outlet.
Admin
Maybe they want to give you some free hands-on experience. Maybe you aren't busy enough as it is.
Admin
and a camera
Admin
Looks like insurance - possibly some sort of rating engine?
Admin
'Cause you can't? I'd say it's more about want-to. I guess I figure if I'm on the clock to help people it doesn't really matter what I'm helping them with.
captcha: decet -- That's like when you have on just a bathrobe right?
Admin
Admin
Ok, what I'm dying to know is what did she change and what was going on in her head at that very moment.