Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Propagate Array Formula Down Column

Hi,

My situation:

Sheet1

A B C D E

1 Qty 4 1 2 3
2
3 DNG2 5 5 5 5
4 DNG3 2 4 7 1
5 DNG4 6 7 9 4
6 DNG5 2 2 3 6
7 DNG6 8 5 6 6


Sheet2

Total

DNG2 50


The Array Formula for calculating the Total for DNG2 is
{=SUMPRODUCT(Sheet1!$B$1:$E$1,Sheet1!B3:E3)}

How do I create a formula to calculate the Total Quantities for DNG3
through DNG6? This is in actually a much bigger list so I
want to be able to copy the formula down the column on Sheet2 and
auto-reference the proper rows in Sheet1.

Note: the Item Numbers (DNG2, DNG3, etc.) are unique.

Thanks,
Jim

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Your formula:

{=SUMPRODUCT(Sheet1!$B$1:$E$1,Sheet1!B3:E3)}

Does not have to be entered as an array.

Assume you have on Sheet2 starting in A2 your item numbers:

A2 = DNG2
A3 = DNG3
A4 = DNG4
etc

In Sheet2 B2 enter this ARRAY formula:

=SUM(IF(Sheet1!A$3:A$7=A2,Sheet1!B$3:E$7*Sheet1!B$ 1:E$1))

Copy down as needed or just double click the fill handle.

Biff

-----Original Message-----
Hi,

My situation:

Sheet1

A B C D E

1 Qty 4 1 2 3
2
3 DNG2 5 5 5 5
4 DNG3 2 4 7 1
5 DNG4 6 7 9 4
6 DNG5 2 2 3 6
7 DNG6 8 5 6 6


Sheet2

Total

DNG2 50


The Array Formula for calculating the Total for DNG2 is
{=SUMPRODUCT(Sheet1!$B$1:$E$1,Sheet1!B3:E3)}

How do I create a formula to calculate the Total

Quantities for DNG3
through DNG6? This is in actually a much bigger list so I
want to be able to copy the formula down the column on

Sheet2 and
auto-reference the proper rows in Sheet1.

Note: the Item Numbers (DNG2, DNG3, etc.) are unique.

Thanks,
Jim

.

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
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with array formula Excel Worksheet Functions 2 January 20th 05 04:17 PM
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 08:18 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM
how to enter a formula using column() function for a range Mike Peter Excel Worksheet Functions 6 December 8th 04 07:11 AM


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