Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ben
 
Posts: n/a
Default Help with formula

Is there any way to do this.
I have a column of dates. The dates are at regular weekly intervals starting
from 1990 until now and they are always a Friday. In a separate worksheet I
would like a formula in a cell to return the row number of the first date
that appears for 1990.
Another cell will have the row number of the first date that appears for
1991 and so on for all years up to now. Could anybody suggest an appropriate
formula.
Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roland
 
Posts: n/a
Default Help with formula

Ben,

On each row of Sheet1 with your dates put the row number. The =ROW()
function will do nicely.

For the rest of this I'll assume that your dates are in Sheet1 column A
and the row numbers are in column B.

On Sheet2 in column A create a list of years, 1990 through 2005.

In column B, create the first day of each year along the lines of this
formula
=DATE(A2,1,1), copying the formula down alongside your list of years.

Then in Sheet2 column C use the VLOOKUP function to lookup the row
numbers from Sheet1. It should look something like this.

=VLOOKUP(B2,'Sheet1'A:B,2,TRUE)







"Ben" wrote:

Is there any way to do this.
I have a column of dates. The dates are at regular weekly intervals starting
from 1990 until now and they are always a Friday. In a separate worksheet I
would like a formula in a cell to return the row number of the first date
that appears for 1990.
Another cell will have the row number of the first date that appears for
1991 and so on for all years up to now. Could anybody suggest an appropriate
formula.
Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ben
 
Posts: n/a
Default Help with formula


That's perfect. Thanks for your help

"Ben" wrote in message
...
Is there any way to do this.
I have a column of dates. The dates are at regular weekly intervals
starting
from 1990 until now and they are always a Friday. In a separate worksheet
I
would like a formula in a cell to return the row number of the first date
that appears for 1990.
Another cell will have the row number of the first date that appears for
1991 and so on for all years up to now. Could anybody suggest an
appropriate
formula.
Thank you in advance.



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
IF formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
Formula works in some cells, doesn't in other Wowbagger New Users to Excel 13 June 30th 05 03:21 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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