Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jess
 
Posts: n/a
Default Function to summarize based on 2 conditions?

Hi...i cant quite figure out how to do this or if there is a way to.
Ive got 3 columns.Employee Name in A,AccCode in B, Total of Hours in C. Each
employee has multiple entries of hours per account code.Account codes are
100,101,102.How do list all the employee's who have put in time for Account
100 only.
The result should look like
Empname AccountCode Hours
ABC 100 20
XYZ 100 56

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default Function to summarize based on 2 conditions?


As the number and names of your employees are not know in which case I
would use sumproduct, try using data_pivottable report

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=555934

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jess
 
Posts: n/a
Default Function to summarize based on 2 conditions?

Hi again, im currently using the sumproduct function,its just too tedious
when dealing with 50 rows.I dont prefer to use pivot tables because im not
familiar to formatting it the way i want.So i still dont have an easier way...


  #4   Report Post  
Posted to microsoft.public.excel.misc
starguy
 
Posts: n/a
Default Function to summarize based on 2 conditions?


select your column headers i-e Empname, AccountCode, Hours, go to Data
Filter Auto Filter
now filter your data from the drop down list appearing on your
AccountCode column by selecting 100 (or any other code)

hope this will solve your problem.

Jess Wrote:
Hi...i cant quite figure out how to do this or if there is a way to.
Ive got 3 columns.Employee Name in A,AccCode in B, Total of Hours in C.
Each
employee has multiple entries of hours per account code.Account codes
are
100,101,102.How do list all the employee's who have put in time for
Account
100 only.
The result should look like
Empname AccountCode Hours
ABC 100 20
XYZ 100 56

Thanks in advance



--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=555934

  #5   Report Post  
Posted to microsoft.public.excel.misc
Jess
 
Posts: n/a
Default Function to summarize based on 2 conditions?

I could not use the option of auto filter.no options to select my criteria
would come up.i did try advanced filter...but i couldnt...i need a solution
because doing it manually is too time consuming.


"starguy" wrote:


select your column headers i-e Empname, AccountCode, Hours, go to Data
Filter Auto Filter
now filter your data from the drop down list appearing on your
AccountCode column by selecting 100 (or any other code)

hope this will solve your problem.

Jess Wrote:
Hi...i cant quite figure out how to do this or if there is a way to.
Ive got 3 columns.Employee Name in A,AccCode in B, Total of Hours in C.
Each
employee has multiple entries of hours per account code.Account codes
are
100,101,102.How do list all the employee's who have put in time for
Account
100 only.
The result should look like
Empname AccountCode Hours
ABC 100 20
XYZ 100 56

Thanks in advance



--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=555934




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Function to summarize based on 2 conditions?


i dont know why you have not seen any option to select. it may be
because you may have an empty row between your column headers and data.
delete that row and try autofilter again.

Jess Wrote:
I could not use the option of auto filter.no options to select my
criteria
would come up.i did try advanced filter...but i couldnt...i need a
solution
because doing it manually is too time consuming.
[/color]


--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=555934

Reply
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
Use IF function for two conditions wuwu Excel Worksheet Functions 3 April 29th 23 11:42 AM
Total or Count based on multiple conditions CC Excel Discussion (Misc queries) 4 May 17th 06 10:50 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Add cells from a range based on 2 conditions from 2 other ranges Kelly Excel Worksheet Functions 3 July 7th 05 07:40 PM
Help with function to add percentage to cell based on checkbox. foxgguy2005 Excel Worksheet Functions 3 June 1st 05 05:52 AM


All times are GMT +1. The time now is 03:12 PM.

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"