Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Getting the particular value on the basis of given criteria ?

I have two columns, Date and Amount

I need to extract the Amount which is greater than Zero and the Last date.

For example: What is the last Date, where Amount is Greater than Zero,
Answer is : Date: 01/01/2002 and Amount : 3000

Here is the data.

Date Amount
01/01/2000 2000
01/01/2001 1000
01/01/2002 3000
01/01/2003 0
01/01/2004 0

Any idea please ?

Best Regards,

Luqman



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Getting the particular value on the basis of given criteria ?


Luqman wrote:
I have two columns, Date and Amount

I need to extract the Amount which is greater than Zero and the Last date.

For example: What is the last Date, where Amount is Greater than Zero,
Answer is : Date: 01/01/2002 and Amount : 3000

Here is the data.

Date Amount
01/01/2000 2000
01/01/2001 1000
01/01/2002 3000
01/01/2003 0
01/01/2004 0

Any idea please ?

Best Regards,

Luqman



Dear Luqman,

Try this
1 - Put a filter for both the columns.
2 - In amount column filter go to custom and select amount greater than
0.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 136
Default Getting the particular value on the basis of given criteria ?

Hello,

array-enter (CTRL + SHIFT + ENTER)
=MAX(IF(B1:B170,A1:A17))

HTH,
Bernd

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
SUM ON BASIS OF FORAMAT OPSHARMA Excel Discussion (Misc queries) 1 November 23rd 09 09:00 AM
sum of 2 Months basis Andri Excel Worksheet Functions 1 March 26th 07 03:24 AM
NPV on a Quaterly Basis Vick Excel Discussion (Misc queries) 1 February 22nd 07 05:21 PM
Define Basis Janie Excel Worksheet Functions 7 December 19th 06 07:46 AM
Ranking on basis of 3 Parameters junoon Excel Worksheet Functions 1 April 17th 06 11:07 PM


All times are GMT +1. The time now is 01:47 AM.

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

About Us

"It's about Microsoft Excel"