View Full Version : Extract a list of employees according to month
YasserKhalil
07-21-2010, 01:35 AM
Hi everybody
I've an attachment which describes my request
I want to extract a list of employees according to March without paying attention to the year, just the month
Thanks a lot
Bob Phillips
07-21-2010, 02:17 AM
Try this array formula
=IF(ISERROR(SMALL(IF(MONTH($B$2:$B$20)=3,ROW($B$2:$B$20)-ROW($B$2)+1,""),ROW(A1))),"",
INDEX($A$2:$A$20,SMALL(IF(MONTH($B$2:$B$20)=3,ROW($B$2:$B$20)-ROW($B$2)+1,""),ROW(A1))))
YasserKhalil
07-21-2010, 02:22 AM
perfect
But what if the employee's name is repeated and I want the list of unique names
Cross-posted http://www.mrexcel.com/forum/showthread.php?t=482601
p45cal
07-21-2010, 02:42 AM
Thanks GTO.
YasserKhalil, don't cross post, and if you must, tell people everywhere, where you have done so.
Pivot table solution in the attached.
YasserKhalil
07-21-2010, 05:26 AM
Mr. P54cal
Thanks for help
I don't know a lot about Pivot Tables
Can you help me understand how you did it???
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.