Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
oteixeira
 
Posts: n/a
Default Prom with the DSUM function


Hello
I'm having a problem with the DSUM function. As everybody knows,
parameters for this function are DSUM(database, field, criteria). I
have no problems with "field" and "criteria". My worksheet has a lot of
defined names ranges (which i stored in cells) and i wanted to use them
to replace the "database" parameter each time i choose a different
department from a list. For example i have range B6:F96 named as
"area_1". If i write the formula using =DSUM(area1, field, criteria),
it works fine. However, if a store the name "area_1" into cell A1 and
change the formula to =DSUM(A1, field, criteria) i get #VALUE. The
parameter criteria must be a cell with the name of the database column
and at lest one cell above with the filter to be applied. For these
parameter i can use a named range. Will it be possible that i cannot
use this technique for the database parameter?
Any help would be very much appreciated.


--
oteixeira
------------------------------------------------------------------------
oteixeira's Profile: http://www.excelforum.com/member.php...o&userid=35320
View this thread: http://www.excelforum.com/showthread...hreadid=551007

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default Prom with the DSUM function

Hi Teixeira,

try to use an indirect function as:

DSUM(INDIRECT(A1),FIELD,CRITERIA)

Hope this helps
Regards from Brazil
Marcelo

"oteixeira" escreveu:


Hello
I'm having a problem with the DSUM function. As everybody knows,
parameters for this function are DSUM(database, field, criteria). I
have no problems with "field" and "criteria". My worksheet has a lot of
defined names ranges (which i stored in cells) and i wanted to use them
to replace the "database" parameter each time i choose a different
department from a list. For example i have range B6:F96 named as
"area_1". If i write the formula using =DSUM(area1, field, criteria),
it works fine. However, if a store the name "area_1" into cell A1 and
change the formula to =DSUM(A1, field, criteria) i get #VALUE. The
parameter criteria must be a cell with the name of the database column
and at lest one cell above with the filter to be applied. For these
parameter i can use a named range. Will it be possible that i cannot
use this technique for the database parameter?
Any help would be very much appreciated.


--
oteixeira
------------------------------------------------------------------------
oteixeira's Profile: http://www.excelforum.com/member.php...o&userid=35320
View this thread: http://www.excelforum.com/showthread...hreadid=551007


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
oteixeira
 
Posts: n/a
Default Prom with the DSUM function


Hi Marcelo,
That was a really good one! Thanks a lot!!
Greetings from Portugal


--
oteixeira
------------------------------------------------------------------------
oteixeira's Profile: http://www.excelforum.com/member.php...o&userid=35320
View this thread: http://www.excelforum.com/showthread...hreadid=551007

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default Prom with the DSUM function

Obrigado pelo retorno
saudações
Marcelo

"oteixeira" escreveu:


Hi Marcelo,
That was a really good one! Thanks a lot!!
Greetings from Portugal


--
oteixeira
------------------------------------------------------------------------
oteixeira's Profile: http://www.excelforum.com/member.php...o&userid=35320
View this thread: http://www.excelforum.com/showthread...hreadid=551007


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
Criteria problems in the DSUM function AA Excel Worksheet Functions 5 January 10th 06 10:16 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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