Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I DMAX only part of a column?

In EXCEL 2003, I have used this function
=DMAX(Incidents!O:O,"POB",Incidents!O1:O2) to find the highest figure in
column O of my Incidents spreedsheet but I can't for the life of me DMAX only
part of that same column on that same spreedsheet to get a year by year
highest total. I have tried changing the Database to be the portion I want to
DMAX without success. I have also fiddled with several different variations
of the criteria without success. O1 is column name "POB", O2 is blank, and O3
has "4" in it. I want to DMAX O546 thru to about O1000.
Help me and I'll be forever in your debt.
Thanks
Stu
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default How do I DMAX only part of a column?

If you have dates in another column you could use sumproduct.
You could also add to the criteria range to test for the dates. You would
do that by changing O1:O2 to O1:P2. Then put the heading of the year column
in P1 and put the year you want to analyze in p2.
BTW, =MAX(O:O) would return the same thing as your DMAX formula.


"Stu Leslie" wrote:

In EXCEL 2003, I have used this function
=DMAX(Incidents!O:O,"POB",Incidents!O1:O2) to find the highest figure in
column O of my Incidents spreedsheet but I can't for the life of me DMAX only
part of that same column on that same spreedsheet to get a year by year
highest total. I have tried changing the Database to be the portion I want to
DMAX without success. I have also fiddled with several different variations
of the criteria without success. O1 is column name "POB", O2 is blank, and O3
has "4" in it. I want to DMAX O546 thru to about O1000.
Help me and I'll be forever in your debt.
Thanks
Stu

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I DMAX only part of a column?

JBoulton,
Thanks. As I haven't attempted sumproduct yet, I wasn't brave enough to give
it a try. However your MAX formula go me thinking ... and I've found that I
can just MAX the portion I desire. The formula box that comes up talks about
figures 1 to 30 so I assumed I could only select 30 cells ... NOT SO! I MAX'd
450 cells and gave me the result I desired.
Thanks again
Stu



"JBoulton" wrote:

If you have dates in another column you could use sumproduct.
You could also add to the criteria range to test for the dates. You would
do that by changing O1:O2 to O1:P2. Then put the heading of the year column
in P1 and put the year you want to analyze in p2.
BTW, =MAX(O:O) would return the same thing as your DMAX formula.


"Stu Leslie" wrote:

In EXCEL 2003, I have used this function
=DMAX(Incidents!O:O,"POB",Incidents!O1:O2) to find the highest figure in
column O of my Incidents spreedsheet but I can't for the life of me DMAX only
part of that same column on that same spreedsheet to get a year by year
highest total. I have tried changing the Database to be the portion I want to
DMAX without success. I have also fiddled with several different variations
of the criteria without success. O1 is column name "POB", O2 is blank, and O3
has "4" in it. I want to DMAX O546 thru to about O1000.
Help me and I'll be forever in your debt.
Thanks
Stu

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
Display missing Part Number if Column A does not match column B Erik T Excel Worksheet Functions 2 April 17th 06 11:23 PM
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Copying Part of a row down part of a column Not Excelling Excel Discussion (Misc queries) 3 January 6th 06 11:58 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM


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