Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Array Formula : Problems with sharing workbook

I currently use an array formula to capture data from a specific
location. The problem is that the array formula prevents the workbook
being shared by more than one person. Please can you advice on what to
do to the formula below i.e. to use non array instead tol capture the
same data. Below is an illustration of the type of task the formula id
currently used for;

SOURCE DATA
Column A B C
1
2 KMAA 5101 450
3 KMAA 5101 320
4 KMSA 4102 987
5 KMSD 5454 189


RESULT AREA (this is where the array formula is)
Column A B C
1 KMAA
2
3 5101 {=SUM('[IF(Book1.xls]SOURCE DATA'!A2:A5=$B
$1,IF(Book1.xls]SOURCE DATA'!B2:B5=$A3,Book1.xls]SOURCE DATA'!
C2:C5)))}

4
5

I have tried everything to change the above to non array so that that
the workbook could be shared with no success. Any advice would be much
appreciated.

Many thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Array Formula : Problems with sharing workbook

First, it's better to post the working formula--just copy from the formula bar
and paste into the message. It makes it easier for people to help.

Second, sometimes you can use =sumproduct() for =sum(if())'s:

=SUMPRODUCT(--('[book1.xls]Source Data'!A2:A5=$B$1),
--('[book1.xls]Source Data'!B2:B5=$A3),
('[book1.xls]Source Data'!C2:C5))

Adjust the ranges to match--but you can't use whole columns (except in xl2007).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html



Ola2B wrote:

I currently use an array formula to capture data from a specific
location. The problem is that the array formula prevents the workbook
being shared by more than one person. Please can you advice on what to
do to the formula below i.e. to use non array instead tol capture the
same data. Below is an illustration of the type of task the formula id
currently used for;

SOURCE DATA
Column A B C
1
2 KMAA 5101 450
3 KMAA 5101 320
4 KMSA 4102 987
5 KMSD 5454 189

RESULT AREA (this is where the array formula is)
Column A B C
1 KMAA
2
3 5101 {=SUM('[IF(Book1.xls]SOURCE DATA'!A2:A5=$B
$1,IF(Book1.xls]SOURCE DATA'!B2:B5=$A3,Book1.xls]SOURCE DATA'!
C2:C5)))}

4
5

I have tried everything to change the above to non array so that that
the workbook could be shared with no success. Any advice would be much
appreciated.

Many thanks.


--

Dave Peterson
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
Sharing Problems- users keep reappearing even though logged out. Gai Excel Discussion (Misc queries) 0 February 23rd 07 02:53 AM
Array Formula Limits (around 2800 or so) ? Lotus DSUM has no problems with it ! xlguy Excel Discussion (Misc queries) 6 December 15th 05 06:24 PM
Sharing problems FendeTestas Excel Discussion (Misc queries) 1 November 3rd 05 02:31 AM
problems with Sharing excel files mmayfield Excel Discussion (Misc queries) 0 January 22nd 05 08:45 PM
File Sharing Problems - Error Message Kristi - Skills Group Excel Discussion (Misc queries) 1 December 17th 04 05:50 PM


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