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 reference a cell by using a returned value as the row or column nu

I've been trying to find a way to do this and it is driving me crazy.

Is there away (without going into programming mode, just with functions) to
reference a cell by saying <usethe integer result returned by this formula
as the row number<the column number returned by this formula as the cloumn
number ????

I don't think this is possible with either INDIRECT or LOOKUP

The specific problem is a workbook with two sheets, DAYS and WEEKS. DAYS
has 356 rows, one per day of the year, with some data. WEEKS has 52 rows,
with calculated weekly data. In a certain column on WEEKS, in each row, I
want to reference the value in a column on DAYS from every 7th row.

This would be so easy if on the weeks sheet I could just write in cell A1 of
WEEKS something like

=DAYS!A[7*ROW()] (or some such syntax)

meaning "return the value of the cell in DAYS whose column value is "A" and
whose
row number is found by taking row number of the cell this formula (on WEEKS)
and multiplying it my 7.

If I put this formula A1 of WEEKS and copied it to all the other rows, I
would then have a colum of 52 values in column A of WEEKS equal to the values
in every 7th cell in column A of DAYS.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default reference a cell by using a returned value as the row or column nu

=INDIRECT("Days!A"&7*ROW())
=INDEX(Days!A:A, 7*ROW())


"Hfreeman" wrote:

I've been trying to find a way to do this and it is driving me crazy.

Is there away (without going into programming mode, just with functions) to
reference a cell by saying <usethe integer result returned by this formula
as the row number<the column number returned by this formula as the cloumn
number ????

I don't think this is possible with either INDIRECT or LOOKUP

The specific problem is a workbook with two sheets, DAYS and WEEKS. DAYS
has 356 rows, one per day of the year, with some data. WEEKS has 52 rows,
with calculated weekly data. In a certain column on WEEKS, in each row, I
want to reference the value in a column on DAYS from every 7th row.

This would be so easy if on the weeks sheet I could just write in cell A1 of
WEEKS something like

=DAYS!A[7*ROW()] (or some such syntax)

meaning "return the value of the cell in DAYS whose column value is "A" and
whose
row number is found by taking row number of the cell this formula (on WEEKS)
and multiplying it my 7.

If I put this formula A1 of WEEKS and copied it to all the other rows, I
would then have a colum of 52 values in column A of WEEKS equal to the values
in every 7th cell in column A of DAYS.

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
Reference to a cell returned by MIN...how? Mac Excel Worksheet Functions 3 October 16th 07 03:04 PM
Formula so if reference is selected, a specific value is returned. Boss Excel Worksheet Functions 1 July 24th 07 07:22 AM
Formula so if reference is selected, a specific value is returned Boss Excel Discussion (Misc queries) 1 July 24th 07 04:41 AM
limit characters returned a cell reference Lila Excel Worksheet Functions 8 September 6th 06 03:33 AM
Need reference in adjacent column returned Dan Excel Worksheet Functions 9 March 5th 06 07:05 PM


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