Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Any Excel formula wizards in here?? Need some help...

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
grannylib Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Sep-22-06 05:37 PM
Original message
Any Excel formula wizards in here?? Need some help...
thanks!
Printer Friendly | Permalink |  | Top
lizziegrace Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Sep-22-06 05:38 PM
Response to Original message
1. I can give it a shot.
What do you need?
Printer Friendly | Permalink |  | Top
 
grannylib Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Sep-22-06 05:59 PM
Response to Reply #1
3. I'll explain as best I can...
I have what is for me a knotty problem that I think is going to require either a really long nested formula or maybe a lookup table...but I'm too stupid about Excel to know where to start!

I have an employee form that includes an area for calculating the payout of benefits if a person quits, and the amount paid out depends partly on the date on which the person quits. I have a table all set up with the dates (1/1-1/14; 1/15-31; 2/1-2/14; 2/15-2/29; etc.) in one column and the fraction for that part of the year in the other column of my table. On the form itself is a cell for the quit/term date. Currently, the quit/term date is entered m/dd/yyyy; the dates on the table are entered m/dd. There is also a group of cells where one manually enters the amount of vacation/personal leave allotted at the beginning of the year and the amount of each used to date.Is there a way that I can link the cells that do the calculating of payout amount to the correct cells in the lookup table, based on the quit date???

I am probably being clear as mud here...I apologize! Not sure if there is a better way to explain it or not.
But anyhoo....help would surely be appreciated!
Printer Friendly | Permalink |  | Top
 
ThomCat Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Sep-22-06 05:50 PM
Response to Original message
2. What are you trying to do.
I used to teach software classes, including Excel classes. That was many versions ago, but I still use Excel every day so I can probably help. :)
Printer Friendly | Permalink |  | Top
 
grannylib Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Sep-22-06 06:00 PM
Response to Reply #2
4. I'll explain as best I can...
I have what is for me a knotty problem that I think is going to require either a really long nested formula or maybe a lookup table...but I'm too stupid about Excel to know where to start!

I have an employee form that includes an area for calculating the payout of benefits if a person quits, and the amount paid out depends partly on the date on which the person quits. I have a table all set up with the dates (1/1-1/14; 1/15-31; 2/1-2/14; 2/15-2/29; etc.) in one column and the fraction for that part of the year in the other column of my table. On the form itself is a cell for the quit/term date. Currently, the quit/term date is entered m/dd/yyyy; the dates on the table are entered m/dd. There is also a group of cells where one manually enters the amount of vacation/personal leave allotted at the beginning of the year and the amount of each used to date.Is there a way that I can link the cells that do the calculating of payout amount to the correct cells in the lookup table, based on the quit date???

I am probably being clear as mud here...I apologize! Not sure if there is a better way to explain it or not.
But anyhoo....help would surely be appreciated!
Printer Friendly | Permalink |  | Top
 
ThomCat Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Sep-22-06 06:15 PM
Response to Reply #4
5. First,
The collumn with range of dates needs to have just single dates in it. Use the first or last day of the period, but be consistent. That will allow you to use the dates in a formula.

I'd have to play with this to find the most elegant way to do it. But a nested program is probably the easiest. (I like writing formulas so I tend to go for that option.)

Using the last date of each period, you could simply do a nested formula that asks, is this date greater then that one, if not then is it greater then that one, if not then is it greater then that one? The formula would basically say, "nope, he left after that date, and after that date, and after that date, but before that date!" You can have a value tied to each date. He left before May 1st (meaning he left during the period immediately prior to May 1st) so use this value.

A lookup table would work too. But I find look-up tables are sometimes buggy when you are matching ranges rather than lists.
Printer Friendly | Permalink |  | Top
 
grannylib Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Sep-22-06 07:22 PM
Response to Reply #5
6. Thanks for the suggestions; I will give it a try!
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Wed Apr 24th 2024, 11:04 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC