Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

formulas

ResolvedVersion 2003

Christina has attended:
Excel Advanced course
Excel VBA Intro Intermediate course

Formulas

If you have 4 worksheets named:

Savings
Spending
Earnings
Total

Is there a way to pull through the worksheet names on the Total page next to the corresponding total amount?

Thanks

RE: Formulas

Hi Christina, thanks for your query. There is no built in function to do this, surprisingly but with a bit of fiddling it is possible. This link explains the theory:

http://www.meadinkent.co.uk/worksheet-names.htm

...but try putting the following formula somewhere on each worksheet. It will output the name of the worksheet, and you can then dump that value onto the Total page next to the corresponding total amount:

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)

Hope this helps,

Anthony

Will be marked as resolved in 5 days

Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.

Tue 20 Apr 2010: Automatically marked as resolved.

Excel tip:

Make a quick copy of a worksheet

Hold down the Ctrl key, then click and drag on a sheet tab to make a copy of that sheet. Though this process usefully copies the formats of the original sheet, note that any Range Names you have on the original sheet will be duplicated too.

To make a copy of a worksheet's contents and formats without duplicating range names: (1) Ensure that you have a blank worksheet to paste to. (2) On the sheet to copy, click on the sheet selection square to the left of Column A's heading to select the whole sheet. (2) Copy the whole sheet. (3) Paste to the blank worksheet.



View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.