# Edit Multiple Cells

J

#### Jenn

I need to select multipe cells and change just the reference page for the
selected cells, not the other reference information in the cell. Find and
Replace does not work. Example, this are four cell, I want to just change the
5 (which is the refence page).

='5'!C36, ='5'!C377, ='5'!C38, ='5'!C39

Or, I am trying to create a spreadsheet for example January's information
will have 10 rows that reference 10 different organization that are
referenced from Sheets 1 through 10 (sheet 1 is organization #1, etc...) When
I try to use the autofill function, instead of changing the the reference
page number it will increase the cell number (autofill down) or autofill to
the right will increase the column name but not change the page or cell
number. What I really need to be able to do is autofill down keeping the
same column and cell but increasing the page reference.

Any help would be appreciated. Thanks in advance.

G

#### Gord Dibben

Jenn

For the first question try Edit>Replace

What: '5!'

With: '6'!

Replace all.

For second question, use the INDIRECT function to fill down or across

=INDIRECT("'organization #" & (ROW()) & '"!B12")

entered in A1 and copied down.

To copy across, change ROW() to COLUMN()

Gord Dibben MS Excel MVP

J

#### Jenn

I can't seem to get the indirect function to work

J

#### Jenn

lets see if I put this in correct

=INDIRECT("'1" & (ROW(31) & '"!C31")

Organization # is Sheet 1
the Row Number in Sheet 1 is 31
and the Cell # is C31

J

#### Jenn

the Edit Replace does not work either, says it can not find data

G

#### Gord Dibben

I hope you didn't use my example because there was a typo in it.

'5'! not '5!'

Also, in Options do you have "look in">Formulas checked?

Gord

G

#### Gord Dibben

I am confused. Your first post said they were "organization #1 etc."

Where will you be entering the first formula to fill down?

Which sheet and what cell?

Gord

J

#### Jenn

yes the formulas options is selected

I tried several variations of searching, nothing worked.

J

#### Jenn

The workbook has 12 sheets for each month they are name January, February,
etc...

The organization sheets are names simply 1,2,3,4,5 etc.....

I would start the fill down on the January sheet, C6

Row 6 contains info from organization 1 column C

Row 7 contain info from organization 2 column C

etc..

G

#### Gord Dibben

In January sheet in C6 enter =INDIRECT(ROW(1:1)&"!C10") and copy down etc
number of rows.

Will return the C10 values of sheets 1,2,3,4,5 etc.

Gord

G

#### Gord Dibben

That is most unfortunate.

I cannot replicate the problem with the samples you first posted

='5'!C36 ='5'!C377 ='5'!C38 ='5'!C39

They are formulas that return values from a test sheet 5

They will all change to 6 or 4 or whatever number I choose and return values
from test sheets 6 or 4

Gord

J

#### Jenn

when I enter this function, it says there is a error, it shows the (row(1:1)
in blue.

Does it make a difference what version of exel I am using. right now I am
using 2002 but I have a new version it it would make a difference.

G

#### Gord Dibben

Jenn

In January sheet in C6 enter =INDIRECT(ROW(1:1)&"!C10") and copy down etc
number of rows, which would have given you a circular reference........my error.

I think you better change the C10 to C20 to test, assuming you have 10 sheets
named 1 through 10

Drag/copy the formula from C6 to C15

Will return the C10 values of sheets 1,2,3,4,5 etc.

No difference in Excel versions.

I gotta quit doing this at night.

Gord

G

#### Gord Dibben

Correction again............

If formula is entered in C6 of January sheet there will be no circular
references involved so that is not an issue.

Gord

G

#### Gord Dibben

If you are still hanging in and having problems, email me personally with a copy
of the workbook unless the data is too confidential.

Change the AT and DOT to un-mung my address.

Gord

J

#### Jenn

I emailed you a copy of the workbook, I tried the function again up to C60
but it was still showing a problem with the row section.