Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bill Harney
 
Posts: n/a
Default Sum the products of a formulas

I have a gradebook that returns values using the "LOOKUP"
function for a 60 question multiple choice test. I need
to sum the product of the returned values. I can use the
paste as text, then convert the text to a numeric value,
but I have to perform this function for each cell, and I
have 14,000 cells.

Is there a way to setup this formula to return a value
that i can then sum? =LOOKUP(I60,{"a","b","c","d","e"},
{"0","1","0","0","0"} The formula returns a 0 or 1 for
each test question but when I try and sum the results all
I get is a 0.
Thanks,
Bill
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUMPRODUCT(LOOKUP(Range,{"a","b","c","d","e"},{0, 1,0,0,0})

Bill Harney wrote:
I have a gradebook that returns values using the "LOOKUP"
function for a 60 question multiple choice test. I need
to sum the product of the returned values. I can use the
paste as text, then convert the text to a numeric value,
but I have to perform this function for each cell, and I
have 14,000 cells.

Is there a way to setup this formula to return a value
that i can then sum? =LOOKUP(I60,{"a","b","c","d","e"},
{"0","1","0","0","0"} The formula returns a 0 or 1 for
each test question but when I try and sum the results all
I get is a 0.
Thanks,
Bill

  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Correcting for a missing paren...

=SUMPRODUCT(LOOKUP(Range,{"a","b","c","d","e"},{0, 1,0,0,0}))

Aladin Akyurek wrote:
=SUMPRODUCT(LOOKUP(Range,{"a","b","c","d","e"},{0, 1,0,0,0})

Bill Harney wrote:

I have a gradebook that returns values using the "LOOKUP" function for
a 60 question multiple choice test. I need to sum the product of the
returned values. I can use the paste as text, then convert the text to
a numeric value, but I have to perform this function for each cell,
and I have 14,000 cells.
Is there a way to setup this formula to return a value that i can then
sum? =LOOKUP(I60,{"a","b","c","d","e"},
{"0","1","0","0","0"} The formula returns a 0 or 1 for each test
question but when I try and sum the results all I get is a 0.
Thanks,
Bill

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 named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Formulas Stan Excel Worksheet Functions 3 January 21st 05 02:58 PM
How to make Excel run limited number of formulas on a given worksh John Excel Discussion (Misc queries) 0 January 12th 05 04:29 PM
Way to make Excel only run certain formulas on a worksheet? jrusso Excel Discussion (Misc queries) 0 January 12th 05 04:23 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


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