Autofill with gaps

oksanar

New Member
Joined
Oct 28, 2019
Messages
6
Hello all,
The form that I am working with requires me to pull the information from a different sheet. The information is stored with a gap of 38 rows, so standard autofill doesn't work. Is it possible to achieve this?

thank you,
Oksana
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Welcome to the Board!

I am afraid that your question might not be quite clear. Can you describe in more details?
What exactly does the data you are working with look like?
What do to you want the output to look like?

If it helps to use visual aids, you can do that. You cannot upload files to this site. But there are tools you can use to post screen images. They are listed in Section B of this link here: http://www.mrexcel.com/forum/board-a...forum-use.html.
Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.
 
Upvote 0
Welcome to the Board!

I am afraid that your question might not be quite clear. Can you describe in more details?
What exactly does the data you are working with look like?
What do to you want the output to look like?

If it helps to use visual aids, you can do that. You cannot upload files to this site. But there are tools you can use to post screen images. They are listed in Section B of this link here: http://www.mrexcel.com/forum/board-a...forum-use.html.
Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.

My output is a quote in below format. The company is dead-set on using this format for every part. I've copied down the template and need to pull the "variable" information like part number, price and quantity from a "Costing Sheet" which is used to calculate the sell price. I can manually "map" each cell and have it read result from the "costing sheet", but there has to be a quicker/better way to do this? I included the data from "costing sheet" below as well.
[TABLE="width: 682"]
<colgroup><col><col><col span="2"><col><col span="4"></colgroup><tbody>[TR]
[TD][/TD]
[TD="colspan: 2"]PART NAME:[/TD]
[TD="colspan: 2"]DISPENSING MAT[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2"]PART#:[/TD]
[TD="colspan: 2"]SF-2019-305-0100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2, align: left"]
clip_image001.png

<tbody>
[TD="colspan: 2"][/TD]

</tbody>
[/TD]
[TD]Price:[/TD]
[TD]$15.05[/TD]
[TD]Price:[/TD]
[TD]$8.25[/TD]
[TD]Price:[/TD]
[TD]$165.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Quantity:[/TD]
[TD]290[/TD]
[TD]Quantity:[/TD]
[TD]15[/TD]
[TD]Quantity:[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MOQ:[/TD]
[TD]290[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Packaging:[/TD]
[TD]5pcs/1ctn[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Materials:[/TD]
[TD="colspan: 3"]- Material 1 – CRS w/PC 5605c[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]- Material 2 – Rose gold sticker[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000}span.s1 {font-variant-ligatures: no-common-ligatures}</style>
 
Upvote 0
[TABLE="width: 1286"]
<colgroup><col><col><col><col><col><col><col span="3"><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Enter QTY below[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]Enter QTY below[/TD]
[TD][/TD]
[TD]Enter QTY below[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 5"] [/TD]
[TD]290[/TD]
[TD][/TD]
[TD][/TD]
[TD]15[/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]PART NAME[/TD]
[TD]PART NUMBER[/TD]
[TD]QTY[/TD]
[TD] [/TD]
[TD="colspan: 2"]COST[/TD]
[TD]2.15[/TD]
[TD="colspan: 2"]COST[/TD]
[TD]1.65[/TD]
[TD="colspan: 2"]COST[/TD]
[TD]1.65[/TD]
[/TR]
[TR]
[TD]EACH[/TD]
[TD]EXT[/TD]
[TD]53.5%[/TD]
[TD]EACH[/TD]
[TD]EXT[/TD]
[TD]39.4%[/TD]
[TD]EACH[/TD]
[TD]EXT[/TD]
[TD]39.4%[/TD]
[/TR]
[TR]
[TD]DISPENSING MAT[/TD]
[TD]SF-2019-305-0100[/TD]
[TD="align: right"]1.000[/TD]
[TD] [/TD]
[TD] $ 7.00[/TD]
[TD] $ 7.00[/TD]
[TD] $ 15.05[/TD]
[TD] $ 5.00[/TD]
[TD] $ 5.00[/TD]
[TD] $ 8.25[/TD]
[TD] $ 100.00[/TD]
[TD] $ 100.00[/TD]
[TD] $ 165.00[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Tooling (Amortized)[/TD]
[TD="align: right"]0.003[/TD]
[TD] [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]PM Time (Amortized)[/TD]
[TD="align: right"]0.003[/TD]
[TD] [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1.000[/TD]
[TD] [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1.000[/TD]
[TD] [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1.000[/TD]
[TD] [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[TD] $ - [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 7.00[/TD]
[TD] $ 15.05[/TD]
[TD] [/TD]
[TD] $ 5.00[/TD]
[TD] $ 8.25[/TD]
[TD] [/TD]
[TD] $ 100.00[/TD]
[TD] $ 165.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD="colspan: 3"] TOTAL SELL EACH [/TD]
[TD] $ 15.05[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 8.25[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 165.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"] GROSS MARGIN EACH [/TD]
[TD] $ 8.05[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 3.25[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 65.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"] TOTAL SELL [/TD]
[TD] [/TD]
[TD] $ 4,364.50[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 123.75[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 1,650.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"] TOTAL COST [/TD]
[TD] [/TD]
[TD] $ 2,030.00[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 75.00[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 1,000.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"] TOTAL GROSS PROFIT [/TD]
[TD] $ 2,334.50[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 48.75[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] $ 650.00[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Personally I would for that type of problem use a looping macro to extract what I needed as I assume the output will look the same each time. Especially if I needed to extract lots of it.
 
Upvote 0
Personally I would for that type of problem use a looping macro to extract what I needed as I assume the output will look the same each time. Especially if I needed to extract lots of it.
Thank you! I am starting to think that might be my only option. The question is, do I need to write a macro for each cell I want to fill? The biggest challenge here is that each set of data - information about each part - is stored in a separate "table" in the costing sheet. So, if I have 20 parts, there will be 20 "tables", one for each part.
 
Upvote 0
As long as there is some sort of logic to the data it shouldnt be to problematic to sort out what you need.

Best would be of you provide a sample workbook with raw data and a desired result
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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