#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Formula needed

I have a sorted range of dates (in date format) from the past to the future
in column A. Cell B1 has =TODAY(). I need a formula that will give me the
row that divides the past from the future. So if today is 1/20/10 and cell
A75 has 1/15/10 and cell A76 has 2/3/10, the formula should return a value of
75. Thanks for any help on this.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default Formula needed

Maybe: =MATCH(B1,A1:A100)
Micky


"dhstein" wrote:

I have a sorted range of dates (in date format) from the past to the future
in column A. Cell B1 has =TODAY(). I need a formula that will give me the
row that divides the past from the future. So if today is 1/20/10 and cell
A75 has 1/15/10 and cell A76 has 2/3/10, the formula should return a value of
75. Thanks for any help on this.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Formula needed

How about:
=MATCH(VLOOKUP(B1,A:A,1),A:A)
--
Gary''s Student - gsnu200909


"dhstein" wrote:

I have a sorted range of dates (in date format) from the past to the future
in column A. Cell B1 has =TODAY(). I need a formula that will give me the
row that divides the past from the future. So if today is 1/20/10 and cell
A75 has 1/15/10 and cell A76 has 2/3/10, the formula should return a value of
75. Thanks for any help on this.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Formula needed

=MATCH(B1,A:A)
--
David Biddulph

"dhstein" wrote in message
...
I have a sorted range of dates (in date format) from the past to the future
in column A. Cell B1 has =TODAY(). I need a formula that will give me
the
row that divides the past from the future. So if today is 1/20/10 and
cell
A75 has 1/15/10 and cell A76 has 2/3/10, the formula should return a value
of
75. Thanks for any help on this.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Formula needed


All 3 of these worked. David gets extra credit for saving bits. I plan on
using the bit savings as a down payment on my next formula. Thanks guys.




"David Biddulph" wrote:

=MATCH(B1,A:A)
--
David Biddulph

"dhstein" wrote in message
...
I have a sorted range of dates (in date format) from the past to the future
in column A. Cell B1 has =TODAY(). I need a formula that will give me
the
row that divides the past from the future. So if today is 1/20/10 and
cell
A75 has 1/15/10 and cell A76 has 2/3/10, the formula should return a value
of
75. Thanks for any help on this.



.

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
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
if formula needed Theresa Excel Discussion (Misc queries) 6 October 6th 08 10:03 PM
Formula Help Needed BDY Excel Discussion (Misc queries) 3 October 26th 05 05:35 PM
Formula Needed! Roman Excel Discussion (Misc queries) 2 June 19th 05 09:29 PM
Formula, Help needed themax16 Excel Worksheet Functions 2 May 22nd 05 06:55 PM


All times are GMT +1. The time now is 02:23 PM.

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"