#1   Report Post  
Pete
 
Posts: n/a
Default Formula Help.

I need a way to have a formula sum 6 #'s out of a list of 18 based on a
random generated list.

(B1:S1) hole # 1-19
(B3:S3) Player Score on that hole
(Z3:Z8) Random holes picked based on par.

I have tried the sumif function but it does not look at multiple cell at
once. All the lookup funtions return errors.
=SUMIF($B$1:$S$1,$Z$3:$Z$8,B3:S3)*3-$T$2 (this returns -60 when it should
return a +15)

I think I need to us a IF statement, but the problem with this is it could
be that my IF staement would longer than the alotted 7 argumebnts.

Any suggestions?
Thanks
--
Pete
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

=SUM(LOOKUP($z$3:$z$8,$b$1:$s$1,$b$3:$s$3))
array entered (ctrl+shift+enter)
Ensure that the random numbers generated between z3:z8 are within the range
1-19(holes) otherwise you are going to get an error.



"Pete" wrote in message
...
I need a way to have a formula sum 6 #'s out of a list of 18 based on a
random generated list.

(B1:S1) hole # 1-19
(B3:S3) Player Score on that hole
(Z3:Z8) Random holes picked based on par.

I have tried the sumif function but it does not look at multiple cell at
once. All the lookup funtions return errors.
=SUMIF($B$1:$S$1,$Z$3:$Z$8,B3:S3)*3-$T$2 (this returns -60 when it should
return a +15)

I think I need to us a IF statement, but the problem with this is it could
be that my IF staement would longer than the alotted 7 argumebnts.

Any suggestions?
Thanks
--
Pete



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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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