Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default SUMPRODUCT problem, using OR within statement

My basic problem is I want SUMPRODUCT to have a value of 1 if all the below
conditions are met (ie. if D10 is Analyst Full Time, E10 contains any
text,and M10 is Offer Outstanding the value should be one). Whilst this does
happen, it also counts a value of 1 if anything is filled in column E, even
if the other columns aren't completed at all, it just adds everything up
generally. Can anyone see anything glaringly wrong with my formula?

=SUMPRODUCT(OR($D$10:$D$209="Analyst Full Time",$D$10:$D$209="Associate Full
Time")*(ISTEXT($E$10:$E$209))*(OR($M$10:$M$209="Of fer
Accepted",$M$10:$M$209="Offer Declined",$M$10:$M$209="Offer Outstanding")))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default SUMPRODUCT problem, using OR within statement

Excellent, works a charm thanks for that.

I have another one which should be less difficult to figure out.

I want to put validation into cells G10:G209 which will only allow a text
entry if F10:F209 is blank. How would I go about that?

"Don Guillett" wrote:

try
=SUMPRODUCT((RIGHT(D10:D12,4)="time")*(LEN(E10:E12 )1)*(LEFT(M10:M12,5)="offer"))

--
Don Guillett
SalesAid Software

"Alex" wrote in message
...
My basic problem is I want SUMPRODUCT to have a value of 1 if all the
below
conditions are met (ie. if D10 is Analyst Full Time, E10 contains any
text,and M10 is Offer Outstanding the value should be one). Whilst this
does
happen, it also counts a value of 1 if anything is filled in column E,
even
if the other columns aren't completed at all, it just adds everything up
generally. Can anyone see anything glaringly wrong with my formula?

=SUMPRODUCT(OR($D$10:$D$209="Analyst Full Time",$D$10:$D$209="Associate
Full
Time")*(ISTEXT($E$10:$E$209))*(OR($M$10:$M$209="Of fer
Accepted",$M$10:$M$209="Offer Declined",$M$10:$M$209="Offer
Outstanding")))




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
problem with IF statement wolfpack95 Excel Discussion (Misc queries) 1 August 21st 06 08:36 PM
Problem with SumProduct dinadvani via OfficeKB.com Excel Discussion (Misc queries) 5 July 31st 06 01:55 PM
IF statement problem webstju Excel Worksheet Functions 3 April 21st 06 12:58 PM
IF Statement problem trixma New Users to Excel 3 September 27th 05 06:36 AM
Another Nesting IF Statement Problem bigwilly11189 Excel Worksheet Functions 3 September 12th 05 02:05 AM


All times are GMT +1. The time now is 07:44 PM.

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

About Us

"It's about Microsoft Excel"