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  

Dget problem. More than one row



 
 
Thread Tools Display Modes
  #1  
Old July 24th, 2004, 05:01 PM
Loranga
external usenet poster
 
Posts: n/a
Default Dget problem. More than one row

Aloha,

Here is a screen of my problem:
http://hem.bredband.net/maromb/exempel.JPG

The first exampel (Exempel 1) is working great. But when I want to add
more rows to the Dget (Dhämta in swedish) function things starts to get
interesting as you can see in the picture (exempel 2).
In this case I would like The function in G13 show the result 30, G14
to show 20 and G15 to show 25.

Can this be done or should I use adifferent function?


---
Message posted from http://www.ExcelForum.com/

  #2  
Old July 25th, 2004, 01:45 PM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default Dget problem. More than one row

DGET will return a #NUM! error if more than one record meets the
criteria (your 4th example)
In the other examples, the noncontiguous criteria range is causing the
#VALUE! error.

You could use SUMPRODUCT instead, although it would total the results
for all rows that match the criteria. For example:

=SUMPRODUCT(($A$5:$A$10=E15)*($B$5:$B$10=F15)*$C$5 :$C$10)

Loranga wrote:
Aloha,

Here is a screen of my problem:
http://hem.bredband.net/maromb/exempel.JPG

The first exampel (Exempel 1) is working great. But when I want to add
more rows to the Dget (Dhämta in swedish) function things starts to get
interesting as you can see in the picture (exempel 2).
In this case I would like The function in G13 show the result 30, G14
to show 20 and G15 to show 25.

Can this be done or should I use adifferent function?


---
Message posted from http://www.ExcelForum.com/



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Instances problem Jordan Using Forms 1 July 19th, 2004 03:21 PM
Big Problem. We need the fix Captain K Calendar 0 July 8th, 2004 04:50 PM
Passport Logout Problem Chen qiang New Users 0 May 4th, 2004 09:26 AM
Help Microsoft? WORD11.ADM File Problem Line 818? Dwight Hutchinson New Users 2 May 3rd, 2004 08:25 PM
Word 2000 footnote problem: footnotes consistently too high (again) Lori Formatting Long Documents 2 May 1st, 2004 07:15 PM


All times are GMT +1. The time now is 07:51 AM.


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