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 / October 2006

Tip: Looking for answers? Try searching our database.

referencing cells in relation to named Cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
partyof4 - 11 Oct 2006 03:50 GMT
Not sure if this is possible but have named cells a1:a8 named as test01

what i want to do is in formulas be able to use =countif(test01+ 4
colomns),"Test")

eg want to be able to use say e1:e8 in a formula but not have to use
references each time
have got a lot of formulas that use this range ?1:?8 and want to be
able to simplify the way the formulas work

can anyone help with this

PS using Excel 2003

Not sure if Iam going about this the right way but any solution would
be great

Thanks

Damien
Biff - 11 Oct 2006 04:25 GMT
You can try something like this:

=COUNTIF(INDEX(A1:E8,,5),"Test")

Where 5 refers to the column number of the range to count. In this case
column 5 is the range E1:E8. If you want to count A1:A8 then use column
number 1. The column number is RELATIVE to the indexed range.

To give it more flexibility you can use a cell to hold the column number and
then refer to that cell:

G1 = 5

=COUNTIF(INDEX(A1:E8,,G1),"Test")

If G1 is empty then the entire range, A1:E8, will be calculated.

Biff

> Not sure if this is possible but have named cells a1:a8 named as test01
>
[quoted text clipped - 16 lines]
>
> Damien

Rate this thread:






 
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.