Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Finding the date in a table when one value first exceeds another.

I have a table with three columns which show a date, balance owed and savings
respectively. Im trying to find a cell formula that returns the date of the
first instance where the savings exceeds the balance, i.e. gives me the date
I could pay the balance off. In this example it would be 01/05/08.

01/01/08 65000 62000
01/02/08 64500 62260
01/03/08 64000 62520
01/04/08 63500 62780
01/05/08 63000 63040
01/06/08 62500 63300

At present I have a formula in a fourth column saying =if(CnBn,An,"") then
in my cell put the formula =min(D1:D100). This works but is there a neater
way without having the fourth column?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Finding the date in a table when one value first exceeds another.

Assuming data within A2:C7
Try, array-entered (press CTRL+SHIFT+ENTER) in say, D2:
=MIN(IF(C2:C7B2:B7,A2:A7))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Rich P" wrote:
I have a table with three columns which show a date, balance owed and savings
respectively. Im trying to find a cell formula that returns the date of the
first instance where the savings exceeds the balance, i.e. gives me the date
I could pay the balance off. In this example it would be 01/05/08.

01/01/08 65000 62000
01/02/08 64500 62260
01/03/08 64000 62520
01/04/08 63500 62780
01/05/08 63000 63040
01/06/08 62500 63300

At present I have a formula in a fourth column saying =if(CnBn,An,"") then
in my cell put the formula =min(D1:D100). This works but is there a neater
way without having the fourth column?

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
Finding a value in a Table Mac-OTR Excel Worksheet Functions 5 December 1st 07 06:08 PM
Change cell color if date exceeds formula Harry K Excel Discussion (Misc queries) 1 March 9th 07 09:51 AM
finding value from table andyell Excel Worksheet Functions 4 June 10th 06 12:25 AM
finding a date/time in a list that is closest to an existing date/ Jamie Excel Discussion (Misc queries) 1 May 27th 06 08:54 PM
Finding the Monday date based on a different date in same week dandiehl Excel Worksheet Functions 4 April 11th 06 06:03 PM


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