Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to determine the minimum value with given condition?

Does anyone have any suggestion on how to determine the minimum value with
given condition?
Under column A, there is a list of date in ascending order, and
under column B, there is a list of numbers.
There is a given date in cell C1, and I would like to determine the minimum
value, which is equal or larger than the given date in cell C1, and return
this value in cell D1.
Does anyone have any suggestions?
Thank for any suggestions
Eric
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default How to determine the minimum value with given condition?

Try:

=MIN(IF(A1:A17=C1,B1:B17))

array entered w/Cntrl+Shift+Enter. If done properly, XL wil put braces { }
around your formula, otherwise you'll get 0 or an error. Adjust ranges to
suit, but don't use an entire column (ie A:A, A1:A65536) unless you have XL07.



"Eric" wrote:

Does anyone have any suggestion on how to determine the minimum value with
given condition?
Under column A, there is a list of date in ascending order, and
under column B, there is a list of numbers.
There is a given date in cell C1, and I would like to determine the minimum
value, which is equal or larger than the given date in cell C1, and return
this value in cell D1.
Does anyone have any suggestions?
Thank for any suggestions
Eric

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default How to determine the minimum value with given condition?

I would create a new column (let's say G) with the formula in G2 and copy it
down:
=IF(A2$C$1,B2,"")

Then I would put in D1:
=MIN(G1:G65536)

--
Message posted via http://www.officekb.com

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
How to determine the minimum value? Eric Excel Discussion (Misc queries) 2 May 30th 07 08:20 PM
Determine number of rows meeting a condition Snapps Excel Discussion (Misc queries) 4 November 2nd 06 08:40 PM
How to lookup the minimum, 2nd minimum and 3rd minimum......... Mark McDonough Excel Worksheet Functions 8 July 15th 06 09:39 PM
How to determine the number of units based on given condition? Eric Excel Worksheet Functions 3 March 6th 06 09:22 AM
Condition 1 overules condition 2? Bultgren Excel Worksheet Functions 2 January 20th 06 12:29 PM


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