Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Possible Sumproduct with Or Function

Hi All,

I have tried to figure this out but really am stuck.

I have about 300 staff who are designated AS or RS in one column.

There are also the following columns - Searching, Screening, Comparing, Evaluating and Reporting. As soon as an AS or RS achieves one of these a date is entered into the appropriate cell. Not all members of staff achieve this at the same time so there will be gaps until they are achieved.

I would like to know how many AS's have achieved at least one of Searching, Screening or Reporting. As you can see above some may have achieved all 3 and some may have achieved only 1 however I only need to record if one of these have been achieved.

I have tried using a sumproduct function but this only counts the cells and doesnt give the right result. I have even tried using + as a separator but this doesnt work either.

Obviously the formula below will only sum the cells meeting the criteria, it wont take into account whether someone has Searching or Screening or Reporting but does anyone have any suggestions?

=SUMPRODUCT(--(Role=B33),--(Searching=1),--(Screening=1),--(Reporting=1))

Any help will be greatly appreciated.

Thanks Olly
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by OllyR View Post
Hi All,

I have tried to figure this out but really am stuck.

I have about 300 staff who are designated AS or RS in one column.

There are also the following columns - Searching, Screening, Comparing, Evaluating and Reporting. As soon as an AS or RS achieves one of these a date is entered into the appropriate cell. Not all members of staff achieve this at the same time so there will be gaps until they are achieved.

I would like to know how many AS's have achieved at least one of Searching, Screening or Reporting. As you can see above some may have achieved all 3 and some may have achieved only 1 however I only need to record if one of these have been achieved.

I have tried using a sumproduct function but this only counts the cells and doesnt give the right result. I have even tried using + as a separator but this doesnt work either.

Obviously the formula below will only sum the cells meeting the criteria, it wont take into account whether someone has Searching or Screening or Reporting but does anyone have any suggestions?

=SUMPRODUCT(--(Role=B33),--(Searching=1),--(Screening=1),--(Reporting=1))

Any help will be greatly appreciated.

Thanks Olly

Would a "helper column" be a possibility?

As per the attached, a column that counts the number of "achievements" then the SUMPRODUCT (or COUNTIFS if using 2007 or later) just looks for those rows with a count of greater than zero.

Any help to you?
Attached Files
File Type: zip OllyR Example.zip (6.4 KB, 39 views)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default Possible Sumproduct with Or Function

On Monday, October 22, 2012 2:39:01 PM UTC-5, OllyR wrote:
Hi All,



I have tried to figure this out but really am stuck.



I have about 300 staff who are designated AS or RS in one column.



There are also the following columns - Searching, Screening, Comparing,

Evaluating and Reporting. As soon as an AS or RS achieves one of these a

date is entered into the appropriate cell. Not all members of staff

achieve this at the same time so there will be gaps until they are

achieved.



I would like to know how many AS's have achieved at least one of

Searching, Screening or Reporting. As you can see above some may have

achieved all 3 and some may have achieved only 1 however I only need to

record if one of these have been achieved.



I have tried using a sumproduct function but this only counts the cells

and doesnt give the right result. I have even tried using + as a

separator but this doesnt work either.



Obviously the formula below will only sum the cells meeting the

criteria, it wont take into account whether someone has Searching or

Screening or Reporting but does anyone have any suggestions?



=SUMPRODUCT(--(Role=B33),--(Searching=1),--(Screening=1),--(Reporting=1))





Any help will be greatly appreciated.



Thanks Olly









--

OllyR


Try (NOT tested)
=SUMPRODUCT((Role=B33)+(Searching=1)+(Screening= 1)+(Reporting=1))
based on this idea
=SUMPRODUCT(--(H6:H8=5),--(I6:I8=5),--(((J6:J8=5)+(K6:K8=5))0))
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
Using SUMPRODUCT Function on Calculated (Function-Derived) Data jtertin Excel Programming 5 October 3rd 09 07:59 AM
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
SumProduct function Vicky Excel Discussion (Misc queries) 6 February 10th 09 05:12 AM
sumproduct function / VB user defined function aw Excel Discussion (Misc queries) 3 September 23rd 08 09:05 AM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM


All times are GMT +1. The time now is 06:05 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"