Vlookup or macro to auto fill next few rows

sinned141

Board Regular
Joined
May 4, 2009
Messages
115
I have a master sheet which has different build ups of roofing system. I would like to be able to (select or type) the system in column B of a separate workbook and the have Column C autofill with the components (this can be anything from 1 to 10 rows) hen have a blank row and continue with another selection (which may be the same or a different build up)

I have tried looking for something similar on here but cannot seem to find anything that suits my needs.

Thanks in advance
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I'm not sure what this means:
"I would like to be able to (select or type) the system in column B of a separate workbook"

You mean another "Workbook"
You want to enter values in one workbook and then copy to another workbook?
You subject title says:"to auto fill next few rows "

Please explain
 
Last edited:
Upvote 0
simulated master sheetsimulated component sheet
roof1tiles3woodaroof3tiles1woodc
roof2tiles4woodd
roof3tiles1woodcroof8tiles2wooda
roof4tiles2woodb
roof5tiles3wooddroof6tiles4woodc
roof6tiles4woodc
roof7tiles1woodb
roof8tiles2wooda
roof9tiles3woode
roof10tiles4woode
formula giving tiles1 for roof3
=OFFSET($A$2,MATCH($I3,$A$3:$A$12,0),1)

<colgroup><col span="14"></colgroup><tbody>
</tbody>
 
Upvote 0
Hi My Answer Is This, my apologies
I have been out of practice and am not explaining myself well.

I have several sheets in a workbook, each sheet corresponds to a different roofing system. each system has different build ups for different areas.
e.g.

Column B Column C
Hotmelt Primer
Reinforcement mesh
Compound
Capsheet

Inverted VCL
Insulation
Capsheet





In another workbook i would like to be able to select the system being used (one of the Sheets in the original Workbook) and then be able to either select from a drop down in column B or Type into column B the type of build up e.g. "Hotmelt" and then for Column C to fill with the corresponding build and then leave one row of space and select another in column B.

Or to put the required build ups into Column B and then run a macro after to create the fill.

Hopefully that explains it better, if not i will try and look up how to insert the screen shots as it has been a while sine i have been on.
 
Upvote 0
Thanks for the response Oldbrewer, again apologies for my explanation.
I can see my second attempt has also not come out as I wanted.

Column B__ Column C
Hotmelt __ Primer
"blank" __ Reinforcement mesh
"blank" __ Compound
"blank" __ Capsheet

Inverted __ VCL
"blank" __ Insulation
"blank" __ Capsheet

hopefully that layout will be more readable, i would appreciate knowing how to space them properly though.
Column C may have between 1 and 10 components listed for the build up of each type

 
Upvote 0
Sorry if we may not understand but we always need exact details.
Now you said:
In another "Workbook"

So this means we are dealing with two "Workbooks"

So we would need to know what is the name of the two Workbooks.
We would need to know the name of the sheets we are dealing with
And maybe more.

Still not sure why your subject title says "macro to auto fill next few rows"

Sounds like we are doing a lot more then just filling next few rows.
 
Upvote 0
Again my apologies if the title is misleading.
Workbook "System Types" will be the Workbook that contains different system types (Sheets) "Axter","Bauder","Radmat" there will be several based on different manufacturers.
within each Sheet there will be breakdowns as shown in above post
.
I would like to be able to use these to create quotes in separate Workbooks (one for each quote, named as site address) I need to create the build ups then be able to add , area and prices to other columns after.
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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