Thread: references
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stan Brown Stan Brown is offline
external usenet poster
 
Posts: 524
Default references

Fri, 14 Mar 2008 20:39:06 -0400 from Bert :
I have a list of dates (consecutive weekdays - some holidays) in Column D in
Sheet2. In sheet1, I have a reference to those days. For example in A3 I
have the formula =Sheet2!D3 which displays the correct date. I'd like to
copy the formula to every 7th cell in Column A in Sheet1. What's happening
now is that the copied formula increments by 7 The formula copied into the
cell A10 is "=Sheet2!D10". How can I force it to increment only by 1, so
that it references the dates in Sheet2 correctly?


I don't know if this is the best way, but INDIRECT will get the job
done.

=indirect("Sheet2!D" & int(3+(row()-3)/7))

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...