Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Sum Array Range & Individual Cells

Hello,

If I do a regular array, I would do something like:

{=SUM(A1:A5*B1:B5)}

to multiple a1*b1 + a2*b2, etc.

However, can i have a range like A1:A5, but then select individual
cells to multiply by?

For example,

{=SUM(A1:A5*D1,F5,G6,H8,I9)}

where a1*d1 + a2*f5 + a3*g6, etc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sum Array Range & Individual Cells

This is limited to 29 cells but works:

=SUMPRODUCT(A1:A5,CHOOSE({1;2;3;4;5},D1,F5,G6,H8,I 9))

--
Biff
Microsoft Excel MVP


"Native" wrote in message
...
Hello,

If I do a regular array, I would do something like:

{=SUM(A1:A5*B1:B5)}

to multiple a1*b1 + a2*b2, etc.

However, can i have a range like A1:A5, but then select individual
cells to multiply by?

For example,

{=SUM(A1:A5*D1,F5,G6,H8,I9)}

where a1*d1 + a2*f5 + a3*g6, etc



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
Redefine range of cells, array formula returns NA Ashley Excel Discussion (Misc queries) 4 February 24th 07 08:54 PM
Individual cell selection in a range Riddler Excel Discussion (Misc queries) 3 December 8th 06 10:26 PM
How to get individual dates from a date range MorningCalm Excel Discussion (Misc queries) 3 September 6th 06 05:45 PM
Excel should lock individual cells or range only centrality Excel Worksheet Functions 1 June 30th 06 08:06 PM
Convert Data Range in to individual values mistryrg Excel Discussion (Misc queries) 2 June 7th 06 04:48 PM


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