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 / New Users / January 2006

Tip: Looking for answers? Try searching our database.

refer to a cell using a formula?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
me - 24 Jan 2006 01:59 GMT
Hi, I want to refer to the contents of a cell with a variable representing
the column, but I can't figure out how to make Excel do this in A1
(preferred) or R1C1 format - sort of the reverse of the ADDRESS function.
More specifically, I want to sum the values for months of a year where the
month is the variable. What's the syntax?

   A    B    C    D
1    J    F    M    A
2    2    3    2    4
3    2/1/05
4    =sum(text("A1:"&month(A3),))

other ideas that I can't seem to make work:
char(month(a3)+64)
column(a3)

Thanks,
Mike
JE McGimpsey - 24 Jan 2006 18:39 GMT
If I understand you correctly, one way:

   =SUM(OFFSET(A2,0,0,1,MONTH(A3))

> Hi, I want to refer to the contents of a cell with a variable representing
> the column, but I can't figure out how to make Excel do this in A1
[quoted text clipped - 14 lines]
> Thanks,
> Mike
 
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.