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 2007

Tip: Looking for answers? Try searching our database.

copy a specified name range

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lori - 31 Dec 2006 17:53 GMT
I have an estimating program file with 30+ worksheets in which I need to be
able to specify a specific range name from four available, then paste the
data from a 5 column by 6 row range relating to that named range to a
different worksheet to calculate overheads, field supervision, AFDC and
profit using the specified range name (the four range names have different
values).  I think an 'IF' statement would work but I do not know how to tell
it to choose the range and then paste it to the specific area on the 1st
worksheet and be able to overwrite that data if another range name is used.  
I originally created this program in Lotus 1-2-3 using a macro.
Signature

Lori

Max - 01 Jan 2007 22:51 GMT
Perhaps something like this ..

In the target sheet,

Assuming B2 will house the input of the range name,

Put in say, the formula bar for B4:
=IF($B$2="","",OFFSET(INDIRECT($B$2),ROW(A1)-1,COLUMN(A1)-1))

Array-enter the formula in B4 by pressing CTRL+SHIFT+ENTER,
instead of just pressing ENTER

Copy B4 across to F4, fill down to F9
to populate the range size (5C x 6R)

B4:F9 will return the required results* depending on the input in B2
*the contents of the named range

For a neater look, suppress display of extraneous zeros in the sheet
via clicking Tools > Options > View tab > Uncheck "Zero values" > OK
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> I have an estimating program file with 30+ worksheets in which I need to be
> able to specify a specific range name from four available, then paste the
[quoted text clipped - 5 lines]
> worksheet and be able to overwrite that data if another range name is used.  
> I originally created this program in Lotus 1-2-3 using a macro.

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.