LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 553
Default Using booleans in sumproduct formulas to extract boolean range

I have a list of option with bolleans associated with them in range A1:B3:

Option 1 TRUE
Option 2 TRUE
Option 3 FALSE

Then I have data list which uses these Options as validation items in range
C1:C7:
Option 1
Option 1
Option 1
Option 2
Option 2
Option 2
Option 3

I want to pull the range in C1:C7 into a SUMPRODUCT formula in the form
{TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,} and then coverted to booleans
{1,1,1,1,1,1,0,}.

I know that if C1:C7 were excpressed as TRUE/FALSE I would do thei following
below.

SUMPRODUCT(--(C1:C7=TRUE))

How do I do the same considering the the values in C1:C7 are not expressed
as TRUE/FALSE. I need to include a lookup extract the booleans.


 
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
Can SUMPRODUCT be used to extract varying data in a column? Jakki Excel Worksheet Functions 8 August 25th 06 09:39 PM
Extract last and next-to-last entries in a range Teri Excel Worksheet Functions 18 June 30th 06 07:29 PM
Advanced Filtering Extract Range Missing,etc bridges_22 Excel Worksheet Functions 1 February 6th 06 04:19 PM
Boolean comparison: range vs. single cell msimms Excel Worksheet Functions 4 January 12th 06 12:50 AM
Extract values from formulas BJL Excel Discussion (Misc queries) 1 November 14th 05 11:11 AM


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