#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Date Range

If I have a column of #'s and i want a formula to tell me what is the least #
in that column (to be put on another page) how would I do that? To be more
specific, the formula i need is:

rows in detail from 1-4000

if column I = advertising and
if column Q is not empty
then tell me of those in the range, what is the lowest #

also need for highest #
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 301
Default Date Range

=MIN(Q1:Q4000)
=MAX(Q1:Q4000)

"Karen Smith" wrote in message
...
If I have a column of #'s and i want a formula to tell me what is the

least #
in that column (to be put on another page) how would I do that? To be

more
specific, the formula i need is:

rows in detail from 1-4000

if column I = advertising and
if column Q is not empty
then tell me of those in the range, what is the lowest #

also need for highest #



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Date Range

but I need the first part of the formula to read, if column I = advertising &
column Q is more than 0, than tell me max # for column P. Any ideas?

"Bob Umlas" wrote:

=MIN(Q1:Q4000)
=MAX(Q1:Q4000)

"Karen Smith" wrote in message
...
If I have a column of #'s and i want a formula to tell me what is the

least #
in that column (to be put on another page) how would I do that? To be

more
specific, the formula i need is:

rows in detail from 1-4000

if column I = advertising and
if column Q is not empty
then tell me of those in the range, what is the lowest #

also need for highest #




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Date Range

Try this array* formula:

=MAX(IF((I1:I4000="advertising")*(Q1:Q40000),P1:P 4000,0))

* As this is an array formula, then once you have typed it in (or
subsequently edit it) you must use CTRL-SHIFT-ENTER (CSE) instead of
just ENTER. If you do this correctly, then Excel will add curly braces
{ } around the formula when viewed in the formula bar - you must not
type these yourself.

Similar formula for MIN, except that you need a very large number at
the end instead of zero, i.e.:

=MIN(IF((I1:I4000="advertising")*(Q1:Q40000),P1:P 4000,100000000))

Again, CSE to commit. If your numbers are larger than the one I've
given, add a few zeros.

Hope this helps.

Pete

Karen Smith wrote:
but I need the first part of the formula to read, if column I = advertising &
column Q is more than 0, than tell me max # for column P. Any ideas?

"Bob Umlas" wrote:

=MIN(Q1:Q4000)
=MAX(Q1:Q4000)

"Karen Smith" wrote in message
...
If I have a column of #'s and i want a formula to tell me what is the

least #
in that column (to be put on another page) how would I do that? To be

more
specific, the formula i need is:

rows in detail from 1-4000

if column I = advertising and
if column Q is not empty
then tell me of those in the range, what is the lowest #

also need for highest #





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
Advanced filter a dynamic date range oneandoneis2 Excel Worksheet Functions 2 April 6th 06 08:57 AM
Crate group of date, with Dynamic Range in pivot table not working Tiya Excel Discussion (Misc queries) 3 March 1st 06 02:26 PM
Date Range within one cell Cachod1 New Users to Excel 5 October 18th 05 03:30 AM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
Date Range and calculation vgreen Excel Worksheet Functions 2 August 23rd 05 11:08 AM


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