Autofill worksheet numbers

Lewy2

New Member
Joined
Mar 16, 2002
Messages
19
I have spread sheet I am designing that has columns with the following formula in them

=Sheet(2)$c$20
=Sheet(3)$c$20

This can run through to 100 sheets is there a way I can Autofill the Sheet numbers.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
On 2002-04-07 16:21, Lewy2 wrote:
I have spread sheet I am designing that has columns with the following formula in them

=Sheet(2)$c$20
=Sheet(3)$c$20

This can run through to 100 sheets is there a way I can Autofill the Sheet numbers.

I assume you mean...

=Sheet2!$C$20
=Sheet3!$C$20

If so, you could enter "Sheet2" into a cell (e.g., A1) and fill down by dragging the Fill handle. In an adjacent column (e.g., B1) enter the formula, ="="&A1&"!$C$20".

Now, you can select, Copy and overlay the formulas in column B with their resulting values by using Paste Special... Values. Finally, with column B still selected use Edit | Replace... to replace = with =.
This message was edited by Mark W. on 2002-04-07 16:45
 
Upvote 0

Forum statistics

Threads
1,213,494
Messages
6,113,972
Members
448,537
Latest member
Et_Cetera

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top