Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.excel.programming > #108746
| Newsgroups | microsoft.public.excel.programming |
|---|---|
| Date | 2016-04-12 08:58 -0700 |
| References | <a3a39e2b-0de7-4df0-96b3-61dc057e6338@googlegroups.com> |
| Message-ID | <fd2faee8-faaf-47f5-ae4e-d65e9019ed6c@googlegroups.com> (permalink) |
| Subject | Re: Getting #Value error on Sumproduct with non-contiguous cells |
| From | enstahl@gmail.com |
AJ, SUMPRODUCT appears to require you to have matching array sizes AND they must be contiguous. If you only have those 9 pairs to calculate you can do something like =AB607*AY583+AB608*BD583+...AB615*BM583 Your other option is to recreate the data elsewhere in the sheet by linking the cells. So if the new location is going to be at the beginning of a sheet make A1 =AB607, B1 =AY583, etc. and then you can use SUMPRODUCT(A1:A9,B1:B9). A variant on that would be to construct the array on a separate worksheet and pass the value back to the location you want on the original worksheet. Hope that helps you
Back to microsoft.public.excel.programming | Previous | Next — Previous in thread | Find similar | Unroll thread
Getting #Value error on Sumproduct with non-contiguous cells AJ Master <amitmaster@gmail.com> - 2016-03-21 17:34 -0700 Re: Getting #Value error on Sumproduct with non-contiguous cells enstahl@gmail.com - 2016-04-12 08:58 -0700
csiph-web