Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default Can I use a named range in SUMPRODUCT?

I am trying to use a named range in SUMPRODUCT to shorten my formula. My
named range is called Data_Sel_WA. My formula is:
=SUMPRODUCT(--(Data_Selection!$D$7:$D$25=$A10),Data_Sel_WA)
My named range is defined as:
=Data_Selection!$F$7:$F$25,Data_Selection!$J$7:$J$ 25,Data_Selection!$N$7:$N$25,Data_Selection!$R$7:$ R$25,Data_Selection!$V$7:$V$25,Data_Selection!$Z$7 :$Z$25,Data_Selection!$AD$7:$AD$25
The formula is returning a #VALUE error. When the formula had the actual
cell ranges instead of the named range it worked. What's wrong?

Thanks,
Joe M.


  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Can I use a named range in SUMPRODUCT?

Don't think discontiguous ranges will work. Maybe just use simple links in an
empty area to the right to pull everything over and "make" it contiguous.
--
Max
Singapore
---
"Joe M." wrote:
I am trying to use a named range in SUMPRODUCT to shorten my formula. My
named range is called Data_Sel_WA. My formula is:
=SUMPRODUCT(--(Data_Selection!$D$7:$D$25=$A10),Data_Sel_WA)
My named range is defined as:
=Data_Selection!$F$7:$F$25,Data_Selection!$J$7:$J$ 25,Data_Selection!$N$7:$N$25,Data_Selection!$R$7:$ R$25,Data_Selection!$V$7:$V$25,Data_Selection!$Z$7 :$Z$25,Data_Selection!$AD$7:$AD$25
The formula is returning a #VALUE error. When the formula had the actual
cell ranges instead of the named range it worked. What's wrong?

Thanks,
Joe M.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Can I use a named range in SUMPRODUCT?

see your other post

--
Biff
Microsoft Excel MVP


"Joe M." wrote in message
...
I am trying to use a named range in SUMPRODUCT to shorten my formula. My
named range is called Data_Sel_WA. My formula is:
=SUMPRODUCT(--(Data_Selection!$D$7:$D$25=$A10),Data_Sel_WA)
My named range is defined as:
=Data_Selection!$F$7:$F$25,Data_Selection!$J$7:$J$ 25,Data_Selection!$N$7:$N$25,Data_Selection!$R$7:$ R$25,Data_Selection!$V$7:$V$25,Data_Selection!$Z$7 :$Z$25,Data_Selection!$AD$7:$AD$25
The formula is returning a #VALUE error. When the formula had the actual
cell ranges instead of the named range it worked. What's wrong?

Thanks,
Joe M.




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
#REF Error in Named Range with INDIRECT, SUMPRODUCT, and OFFSET Greg in CO[_2_] Excel Worksheet Functions 6 October 13th 08 06:45 PM
Sumproduct & Named range Excel 2003 - SPB Excel Discussion (Misc queries) 6 September 10th 07 12:50 PM
Sumproduct against worksheet vs named range- any speed difference? Keith R Excel Worksheet Functions 1 August 13th 07 03:12 PM
Sumproduct Indirect Named Dynamic Range using Offset Frank Hayes Excel Worksheet Functions 6 May 6th 07 06:32 AM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM


All times are GMT +1. The time now is 11:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"