Home

Excel Spreadsheet Extract Data

%3CLINGO-SUB%20id%3D%22lingo-sub-774060%22%20slang%3D%22en-US%22%3EExcel%20Spreadsheet%20Extract%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-774060%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20an%20intermediate%20Excel%20user.%26nbsp%3B%20I%20am%20looking%20for%20ideas%2Fhelp%20on%20creating%20a%20worksheet%20using%20formulas%20and%20maybe%20macros%20to%20count%20how%20many%20Fridays%20and%20Saturdays%20a%20year%20an%20employee%20takes%20time%20off.%26nbsp%3B%20I%20have%20attached%20a%20sample%20spreadsheet%20(my%20info).%26nbsp%3B%20I%20have%20a%20spreadsheet%20(I%20created)%20like%20the%20attached%20for%20each%20employee.%26nbsp%3B%20One%20of%20our%20policies%20is%20staff%20cannot%20take%20more%20than%204%20Friday%2FSaturdays%20off%20a%20year.%26nbsp%3B%20I%20am%20using%20QuickBooks%20software%20as%20my%20payroll%20software%2C%20but%20because%20the%20way%20we%20accrue%20leave%20time%2C%20I%20am%20not%20using%20QB%20but%20I%20am%20using%20Excel%20to%20keep%20up%20with%20accruals.%26nbsp%3B%26nbsp%3B%20If%20anybody%20has%20any%20thoughts%20or%20ideas%20I%20would%20appreciate%20them.%26nbsp%3B%20Thank%20you%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-774060%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-774641%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Spreadsheet%20Extract%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-774641%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20try%20this%20formula%20and%20validate%20results.%26nbsp%3B%3C%2FP%3E%3CP%3E%3DSUM(IF(IFERROR(WEEKDAY(E3%3AE21)%2C0)%26gt%3B%3D6%2CF3%3AG21%2C0))%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20checks%20for%20weekday%20of%20Day%2FMonth%20column.%26nbsp%3B%20Condition%20%26gt%3B%3D6%20means%26nbsp%3B%20Fridays%20and%20Saturdays.%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20formula%20assumes%20that%20vacation%20dates%20are%20in%20E3%3AH21%20range%20and%20first%20column%20has%20valid%20dates.%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20will%20work%20for%20you%20!!%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
brneyes91507
Occasional Visitor

I am an intermediate Excel user.  I am looking for ideas/help on creating a worksheet using formulas and maybe macros to count how many Fridays and Saturdays a year an employee takes time off.  I have attached a sample spreadsheet (my info).  I have a spreadsheet (I created) like the attached for each employee.  One of our policies is staff cannot take more than 4 Friday/Saturdays off a year.  I am using QuickBooks software as my payroll software, but because the way we accrue leave time, I am not using QB but I am using Excel to keep up with accruals.   If anybody has any thoughts or ideas I would appreciate them.  Thank you in advance.

 

 

1 Reply

You can try this formula and validate results. 

=SUM(IF(IFERROR(WEEKDAY(E3:E21),0)>=6,F3:G21,0))

 

This checks for weekday of Day/Month column.  Condition >=6 means  Fridays and Saturdays. 

This formula assumes that vacation dates are in E3:H21 range and first column has valid dates.    

 

Hope this will work for you !!  

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
16 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
11 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies