Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Werner Rohrmoser
 
Posts: n/a
Default Array Formula, noncontigous range

Hello,

Application: Excel XP SP2
OS: WIN XP SP 1

Problem:
Is it possible to use an array formula with an noncontigous range,
or is it normal to get "#Value!" error?

Example:

Cells A1, A3, A5, A7 = Range named "Category"
Cells B1, B3, B5, B7 = Range named "Data"

Array Formula:

={SUM((Category="Test")*Data)}

TIA,
Werner

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Don't think so as is, but you could try

=SUMPRODUCT(--(MOD(ROW(A1:A8),2)=1),--(A1:A8="Category"),B1:B8)

--
HTH

Bob Phillips

"Werner Rohrmoser" wrote in message
oups.com...
Hello,

Application: Excel XP SP2
OS: WIN XP SP 1

Problem:
Is it possible to use an array formula with an noncontigous range,
or is it normal to get "#Value!" error?

Example:

Cells A1, A3, A5, A7 = Range named "Category"
Cells B1, B3, B5, B7 = Range named "Data"

Array Formula:

={SUM((Category="Test")*Data)}

TIA,
Werner



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
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
use a date range as criteria in a countif formula mbparks Excel Worksheet Functions 3 January 2nd 05 11:06 PM
What instead of an array formula? Reg Besseling Excel Discussion (Misc queries) 3 December 6th 04 01:55 PM


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