A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Data Base Functions



 
 
Thread Tools Display Modes
  #1  
Old July 31st, 2008, 12:14 AM posted to microsoft.public.excel.worksheet.functions
Gerardo
external usenet poster
 
Posts: 15
Default Data Base Functions

Hello,

I need to sum info that meets more than one criteria. Excel has Data Base
funtions that work by referencig to a range that contain criteria to be used
as filters for data. In the help of dsum() it says you can use criteria
resulting from a formula instead of using ranges, i've been trying to apply
that and nothing.

Example

A1 Test
A2 1
A3 2
A4 3
A5
A6 =A2average($A$2:$A$4)

Using range:
dsum(A1:A4,A1,A1:A2) result=1

Using formula, (as I understand the help file):
dsum(A2:A4,,A6) expected result=3, worksheet result=#¡Value!




The help file says i can use: =a2average($a$2:$a$3) as long as i use
relative reference for a2 and absolut for tha range a2:a3 and whe tha formula
returns boolean.
  #2  
Old July 31st, 2008, 02:21 AM posted to microsoft.public.excel.worksheet.functions
Infinitogool
external usenet poster
 
Posts: 53
Default Data Base Functions

Hi Gerardo
Try
=dsum(A1:A4,A1,A5:A6)

Regards,
Pedro J.

Hello,

I need to sum info that meets more than one criteria. Excel has Data Base
funtions that work by referencig to a range that contain criteria to be used
as filters for data. In the help of dsum() it says you can use criteria
resulting from a formula instead of using ranges, i've been trying to apply
that and nothing.

Example

A1 Test
A2 1
A3 2
A4 3
A5
A6 =A2average($A$2:$A$4)

Using range:
dsum(A1:A4,A1,A1:A2) result=1

Using formula, (as I understand the help file):
dsum(A2:A4,,A6) expected result=3, worksheet result=#¡Value!




The help file says i can use: =a2average($a$2:$a$3) as long as i use
relative reference for a2 and absolut for tha range a2:a3 and whe tha formula
returns boolean.

  #3  
Old August 1st, 2008, 05:25 PM posted to microsoft.public.excel.worksheet.functions
Gerardo
external usenet poster
 
Posts: 15
Default Data Base Functions

thank you Pedro, It worked fine.
I need two or more criteria to extract the right text from a data base. If
you use vlookup you can work with one criteria/field only, . The problem I
have with selecting ranges, it seems to be the same when using formula since
i need the extra row. Can I use the formula inside the data base function in
a way that those criteria vary with each row?

"Infinitogool" wrote:

Hi Gerardo
Try
=dsum(A1:A4,A1,A5:A6)

Regards,
Pedro J.

Hello,

I need to sum info that meets more than one criteria. Excel has Data Base
funtions that work by referencig to a range that contain criteria to be used
as filters for data. In the help of dsum() it says you can use criteria
resulting from a formula instead of using ranges, i've been trying to apply
that and nothing.

Example

A1 Test
A2 1
A3 2
A4 3
A5
A6 =A2average($A$2:$A$4)

Using range:
dsum(A1:A4,A1,A1:A2) result=1

Using formula, (as I understand the help file):
dsum(A2:A4,,A6) expected result=3, worksheet result=#¡Value!




The help file says i can use: =a2average($a$2:$a$3) as long as i use
relative reference for a2 and absolut for tha range a2:a3 and whe tha formula
returns boolean.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.