Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default looking up cell address

I want to create a formulae that dynamicaly alters the row references of a
SUM function nested within a INDIRECT function based on a start and end date
variables.

In order to to this I need a lookup that returns the row number and/or cell
adress of the first cell that matches or exceeds the date variable and
utilises the result in a SUM function nested within the the INDIRECT formulae
(If possible I want to avoid inserting an additional column in the original
data table that calculates the row refrence to be used with a simple vlookup)

Any help offered would be appreciated

Kind Regards
Andrew
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 269
Default looking up cell address

for your sum you probably wnat to do something like this

=SUM(OFFSET(B4,2,0,3,1))

this will sum b6:b8. If you add a formula to instead of the 2 you can set
the first cell of your range. Then you can change the 3 (height of the
range) to match match the height of the data.

A MATCH formula would probably give you the formula for the first position
and a COUNT - MATCH would give you the height.


--
If this helps, please remember to click yes.


"Andrew Hodgson" wrote:

I want to create a formulae that dynamicaly alters the row references of a
SUM function nested within a INDIRECT function based on a start and end date
variables.

In order to to this I need a lookup that returns the row number and/or cell
adress of the first cell that matches or exceeds the date variable and
utilises the result in a SUM function nested within the the INDIRECT formulae
(If possible I want to avoid inserting an additional column in the original
data table that calculates the row refrence to be used with a simple vlookup)

Any help offered would be appreciated

Kind Regards
Andrew

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
=HYPERLINK("#"&CELL("address", ADDRESS(MATCH(VALUE(B3),QuoteNotes, sarah Excel Worksheet Functions 2 February 17th 09 02:59 PM
=HYPERLINK("#"&CELL("address", ADDRESS(MATCH(VALUE(B3),Range ... ? sarah Excel Worksheet Functions 0 February 17th 09 02:06 PM
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
find last cell in range with data, display cell address sevi61 Excel Worksheet Functions 14 October 29th 07 08:36 PM
How make hyperlink refer to cell content rather than cell address. Omunene Excel Discussion (Misc queries) 3 March 2nd 06 01:07 AM


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