PROBLEM WITH FORMULA / FUNCTION

team.sitel

New Member
Joined
Dec 4, 2005
Messages
1
Hi... Any one helping me with this.

I have an employee attendance sheet wherein I have Employee Names in COLUMNs & Dates in ROWs. What i want is if suppose I have taken a LEAVE on 08th Jan 2005 (code for LEAVE = "L") it should give me a list of LEAVE's that i have taken in the year 2005 with dates in ROWs.
For EX....
Date: 08 Jan 13 Mar
L L

ANY SUGGESTIONS......
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the board!

Try:

=SMALL(IF(INDEX($B$2:$G$10,MATCH($A14,$A$2:$A$10,0),0)="L",$B$1:$G$1),COLUMN()-COLUMN($A$14))

Confirmed with Ctrl + Shift + Enter in B14, then dragged right.
Book1
ABCDEFG
12002-10-102002-10-112002-10-122002-10-132002-10-142002-10-15
2Name 1
3Name 2L
4Name 3L
5Name 4LLL
6Name 5L
7Name 6L
8Name 7
9Name 8L
10Name 9
11
12
13
14Name 42002-10-122002-10-132002-10-15
15
Sheet7
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,311
Members
449,080
Latest member
jmsotelo

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