Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Sumproduct with Or

Hello Group,

Can Sumproduct test the same range for "a" or "b" ?

Thanks,

Michael Singmin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Sumproduct with Or

Michael,

I'm not entirely sure what you're after, but perhaps the OR function will be
useful. E.g.,
=OR(A1="A",A1="B")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Michael Singmin" wrote in message
...
Hello Group,

Can Sumproduct test the same range for "a" or "b" ?

Thanks,

Michael Singmin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Sumproduct with Or

Try this idea. Need NOT be array entered.
=-SUMPRODUCT((ChecksC={"a","b","c","d"})*(ChecksD))

--
Don Guillett
SalesAid Software

"Michael Singmin" wrote in message
...
Hello Group,

Can Sumproduct test the same range for "a" or "b" ?

Thanks,

Michael Singmin



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Sumproduct with Or

Thank you Don,

Sumproduct must be one the greatest functions of Excel.
Your solution is perfect.

Chip: My application is a Lims system for a water analysis laboratory.
Samples can have an "a" or "b"' code which implies they are still
incomplete.

Thanks,

Michael
=================================================

"Don Guillett" wrote:

Try this idea. Need NOT be array entered.
=-SUMPRODUCT((ChecksC={"a","b","c","d"})*(ChecksD))


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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct Kim Shelton at PDC Excel Discussion (Misc queries) 0 December 8th 06 09:44 PM
sumproduct RGlade Excel Discussion (Misc queries) 2 December 8th 06 09:41 PM


All times are GMT +1. The time now is 03:13 AM.

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"