Issues with your account? Bug us in the Discord!

Fun with Excel

FreejackFreejack Jake the Not-so-Wise
...or lack thereof. A formula I just completed:

=IF(VLOOKUP(A12,Aging!$A$2:$C$400,3,FALSE)=0,0,IF(VLOOKUP(A12,Aging!$A$2:$C$400,3,FALSE)<=VLOOKUP(A12,Sales!$A$4:$E$400,3,FALSE),(VLOOKUP(A12,Aging!$A$2:$C$400,3,FALSE)/VLOOKUP(A12,Sales!$A$4:$E$400,3,FALSE))*30,IF((VLOOKUP(A12,Aging!$A$2:$C$400,3,FALSE)-VLOOKUP(A12,Sales!$A$4:$E$400,3,FALSE))>VLOOKUP(A12,Sales!$A$4:$E$400,4,FALSE),((30*((VLOOKUP(A12,Aging!$A$2:$C$400,3,FALSE)-VLOOKUP(A12,Sales!$A$4:$E$400,3,FALSE)-VLOOKUP(A12,Sales!$A$4:$E$400,4,FALSE))/VLOOKUP(A12,Sales!$A$4:$E$400,5,FALSE)))+60),((30*((VLOOKUP(A12,Aging!$A$2:$C$400,3,FALSE)-VLOOKUP(A12,Sales!$A$4:$E$400,3,FALSE))/VLOOKUP(A12,Sales!$A$4:$E$400,4,FALSE)))+30))))

My head hurts...

Jake

Comments

  • ShadowDancerShadowDancer When I say, "Why aye, gadgie," in my heart I say, "Och aye, laddie." London, UK
    were you bored? and dare i ask what it does? i could open excel and figure it out, but im too lazy:D
  • FreejackFreejack Jake the Not-so-Wise
    If calculates the a metric called Days Sales Open by customer, using Sales and Accounts Receivable data from two different worksheets in the same workbook.

    Jake
  • Mr_BesterMr_Bester Earthforce Officer St Louis MO
    I'm glad you can do that, the thought of doing anything excel makes me wet myself. I'd much rather work in a graphics app. At least those make sense to me. If I wanted to type a bunch of words that eventually did what I wanted them to(if I didn't have typos), I'd have become a programmer....

    Freejack,
    By the way, based on your color, are you a designer?

    Dug
  • FreejackFreejack Jake the Not-so-Wise
    Unfortunately no....485C was one of the primary colors of the RIDGID brand woodworking tools when I was a product manager that company.

    Jake
  • BigglesBiggles <font color=#AAFFAA>The Man Without a Face</font>
    Purely for maintenance reasons, you might want to consider rewriting that as a VB macro. :D
  • Random ChaosRandom Chaos Actually Carefully-selected Order in disguise
    Uh, might I suggest you just invest in a database?

    That's a sure way to:

    A. Kill a future programmer. You could be accused of "negligent forced suicide."

    B. Explode the universe.

    C. Break every MS product in existance.

    D. Become a maintenance nightmare for you.
  • FreejackFreejack Jake the Not-so-Wise
    Eh, its for a report that will get run only once an month and covers only 250 customers. I'm pretty much done with the report, I just have two simple reports that are pulled down from JDE then dropped into the spreadsheet, and it does it's magic.

    And, if I had the chance, I would indeed break every MS product in existence...

    Jake
Sign In or Register to comment.