LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel
Kevin B
 
Posts: n/a
Default Counting & Matching Text

You could get the results you want using a Pivot Table and making leave type
a pivot column.
--
Kevin Backmann


"Murtaza" wrote:

Dear Experts,

Please consider this & help me to sort this out:

I have a Data Sheet contains 5 col namely: Emp; From; To; #OfDays; LeaveType
I fill these columns on daily-basis using designed VB Form as below

Emp From To #OfDays LeaveType
-----------------------------------------------------------------------
Mr. A 01-Jan-06 02-Jan-06 2 Sick
Mr. B 08-Jan-06 08-Jan-06 1 Casual
Mr. C 12-Jan-06 16-Jan-06 5 Earned
Mr. A 18-Jan-06 20-Jan-06 3 Casual
....so on

Now, I have a complete list of Employees & we have 3 Leave Category i.e.
Sick, Casual & Earned Leave

What I want to do from above lengthy data is:

Emp Sick Casual Earned Total Leaves
------------------------------------------------------------
Mr. A 2 3 0 5
Mr. B 0 1 0 1
Mr. C 0 0 5 5
....so on

I tried the Vlookup formula but I can not use it with Count forumla...Is it
possible?

I tried my best to explain the situation, If still I am unclear, please ask

Best regards,
Murtaza

PS: I know you people must have already provide the solution for this kind
of problem, but how can I search it in Excel Newsgroups.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Counting similar text garyadders Excel Worksheet Functions 4 November 10th 05 01:42 AM
Compare cells/columns and highlight matching text strings luxbelle Excel Worksheet Functions 1 February 25th 05 06:34 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 12:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"