Vacation Days

georgeawarriner

New Member
Joined
Apr 16, 2011
Messages
10
Hello, I have a worksheet named "Vacation-Time" with Columns for "Vacation Date", "Employee ID", "Time-Off" in days, and "Employee-Name". Each employee may have more than one break in a year.

I have another worksheet labeled "Annual Report" where the "Time-Off" are totaled according to the "Employee ID" or "Employee-Name".

A Vlookup won't work due to the multiple entries in "Vacation-Time".

Any ideas? :confused:

Regards...George
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
How about SUMIF()?

The formula in H2 is...

=SUMIF($A$2:$A$5,F2,$D$2:$D$5)

Looks like this...

<b>Excel 2003</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="font-weight: bold;;">EmplID</td><td style="font-weight: bold;;">Name</td><td style="font-weight: bold;;">Date</td><td style="font-weight: bold;;">Days Off</td><td style="font-weight: bold;text-align: right;;"></td><td style="font-weight: bold;;">EmplID</td><td style="font-weight: bold;;">Name</td><td style="font-weight: bold;;">Days Off</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">00001</td><td style=";">George</td><td style="text-align: right;;">1/1/2011</td><td style="text-align: right;;">2</td><td style="text-align: right;;"></td><td style="text-align: right;;">00001</td><td style=";">George</td><td style="text-align: right;background-color: #FFFF00;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">00001</td><td style=";">George</td><td style="text-align: right;;">5/30/2011</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">00002</td><td style=";">Sallie</td><td style="text-align: right;;">2</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">00002</td><td style=";">Sallie</td><td style="text-align: right;;">1/1/2011</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;">00002</td><td style=";">Sallie</td><td style="text-align: right;;">5/30/2011</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br />
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,734
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top