Autofill for cells in a certain pattern

etizzle

New Member
Joined
Apr 1, 2017
Messages
16
Dear Mr-Excel Community

I have been using excel for a while but i can hardly call myself a pro,

Anyways i would like to autofill a few cells which are in a pattern based on data in differant cells,
here is an example of the code that i am using

for cell g5 i entered =c0
for cell g6 i entered =c33
for cell g7 i entered =c65

The data that needs to go into the g column is in increments of 32
i was wondering if there was an easier way to do this using a formula/autofill as excel wont recognize this pattern,

Thanks in advance,
Ethan


I have to do this hundreds of times,
 
No, sorry - I don't understand at all what you are trying to achieve, but autofill cannot fill down one column based on the contents of an adjacent column, as far as I am aware.
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
No, sorry - I don't understand at all what you are trying to achieve, but autofill cannot fill down one column based on the contents of an adjacent column, as far as I am aware.

Unless it is done with an appropriate formula.
For example, based on the data in post #19, enter 1 in F4, enter =IF(E4<>"",F4+1,F4) in F5 and fill down.

It seems probable, however, that the OP's actual data is different from the sample data, so the above formula is probably entirely inappropriate.
My mind reading abilities need to be improved.
 
Upvote 0
Yes, I know what you mean, and unfortunately, my crystal ball is on the blink today. ;)
 
Upvote 0
Unless it is done with an appropriate formula.
For example, based on the data in post #19, enter 1 in F4, enter =IF(E4<>"",F4+1,F4) in F5 and fill down.

It seems probable, however, that the OP's actual data is different from the sample data, so the above formula is probably entirely inappropriate.
My mind reading abilities need to be improved.


sorry guys,
i find it really hard to explain on text,

i have a large excel spreadsheet that requires me to enter data into it,
after i enter data into it i need to create a huge matrix, each piece of the matrix must refer to a part of data entered into the data entry part on the excel document.
at the moment i am doing inspections on an apartment complex,

on the data entry part of the document i need to enter the data from the inspection aka whether or not the area showed the list of defects in the data entry section

after this i need to create a big matrix where each cell in the matrix related to a piece of data from the "data entry" section in the excel spreadsheet.

so data is displayed in patterns

in my case the apartment number was displayed on c1 then c33 then c65,

i wanted to add this data into the matrix starting at g5 and going downwards,

i hope that this sheds more clarity on the situation
 
Upvote 0
Can you give us some data (dummy) mocked up in the format you want to achieve? The problem is that you are giving us jigsaw pieces without us having any idea of what the finished picture should look like.
 
Upvote 0
OK. Try this (drag the formula in J6 down):

Excel 2016 (Windows) 32 bit
JKLMN
1DATA MATRIX
2
3
4Apartment no.Defects123
51
62

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
J5=C5
J6=INDIRECT("C"&ROWS($J$6:J6)*32+5)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Last edited:
Upvote 0
That's because you have implemented it incorrectly.

In J5:

=C5

In J6 (drag copied down):

=INDIRECT("C"&ROWS($J$6:J6)*32+5)
 
Upvote 0

Forum statistics

Threads
1,215,999
Messages
6,128,193
Members
449,431
Latest member
Taekwon

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