Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2008

Tip: Looking for answers? Try searching our database.

references

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bert - 15 Mar 2008 01:39 GMT
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?
Thanks
Bert
Pete_UK - 15 Mar 2008 02:40 GMT
Put this in A3 of Sheet1:

=INDIRECT("Sheet2!D"&INT((ROW(A3)+4)/7)+2)

and then copy it to A10, A17, A24 etc.

Another way would be to enter your original formula and copy down
contiguous cells, then insert 6 new rows between each of the rows with
formulae in.

Hope this helps.

Pete

> 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
[quoted text clipped - 5 lines]
> Thanks
> Bert
Stan Brown - 16 Mar 2008 06:53 GMT
Fri, 14 Mar 2008 20:39:06 -0400 from Bert <bertwhit@theworld.com>:
> 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
[quoted text clipped - 3 lines]
> 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))

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.