copy every nth line and column to a new sheet

stwigge

New Member
Joined
Jul 27, 2011
Messages
18
Hi there,
I have researched this, and found answers, but unfortunately can't adapt the formula to my specific needs.
I think I either need an OFFSET formula or an INDEX formula.

Basically, I need to make a summary on Sheet 2, of what I have on Sheet1.
To do this, I need to copy the formula of certain lines, and of course it would take me forever, if i had to do every formula line by line.

I need to show it you by attachment - how do i upload an attachment, because i don't have rights at the min. Is this becos I just registered today?!!!

Many thanks
stwigge
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I need to show it you by attachment - how do i upload an attachment, because i don't have rights at the min. Is this becos I just registered today?!!!

No it's not, attachments don't work here, use the interweb, say box.net.
You may have difficulties pasting links too until you've posted a number of times, if so spell any link out like:
www dot box dot net forwardslashv ssdderdds dot whatever
 
Upvote 0
I need to copy the formula of certain lines, and of course it would take me forever, if i had to do every formula line by line.

OK, got the file, now you're not being very certain with your 'certain lines', so more details required now.

…and does it have to be formulae you copy rather than values?
 
Upvote 0
hi there.
sorry. i tried to show it on the second sheet.
for the first four lines, i have showed the formula i would like.
which i wud like to be repeated for every day

i hope that makes sense now
 
Upvote 0
The formulae are all ARRAY-ENTERED (see note at bottom of diagram).
Flaky, because it depends on the row number the formula is in, and on finding instances of "Vehicle Name 1" in column B as those instances are the base offsets from which all the other values are obtained for that day.
You can copy down the sheet, but should do so by selecting A2:D5 (shaded below) and dragging down.:
Excel Workbook
ABCD
1DateVehicleDrop offPick up
2Wednesday 30 11 11VW Transporter111
3Renault Traffic212
4VW Sharan313
5VW Transporter414
6Thursday 01 12 11VW Transporter515
7Renault Traffic616
8VW Sharan717
9VW Transporter818
10Friday 02 12 11VW Transporter919
11Renault Traffic1020
12VW Sharan00
13VW Transporter00
14Saturday 03 12 11VW Transporter00
15Renault Traffic00
16VW Sharan00
17VW Transporter00
18Sunday 04 12 11VW Transporter00
19Renault Traffic00
20VW Sharan00
21VW Transporter00
22Monday 05 12 11VW Transporter00
23Renault Traffic00
24VW Sharan00
25VW Transporter00
Summary
 
Last edited:
Upvote 0
ok excellent thank you.
that seems to work.
was hoping not to have an array formula, but if it works than great.
thought that there was an option for some sort of offset formula.
when you say flaky because of the 'vehicle name'. is it open for mistakes for me to have 2 vehicles called exactly the same name? i can get around this if required. but its just that the same vehicle can be used on the same day
many thanks again
 
Upvote 0
ok excellent thank you.
that seems to work.
was hoping not to have an array formula, but if it works than great.
thought that there was an option for some sort of offset formula.
They are offset formulae, based on finding that single instance of the literal string Vehicle Name 1, if that's not there it will fail.
when you say flaky because of the 'vehicle name'. is it open for mistakes for me to have 2 vehicles called exactly the same name?
Yes, you can, and do, have vehicles with the same name. See above
i can get around this if required. but its just that the same vehicle can be used on the same day
no need.

It's important that the results table formulae start on row 2 and that the source table starts where it does at the moment. Change either of those and it will screw up (because opf refs. to row()). Flaky.
 
Upvote 0
excellent. seems to work fine.

here is the ammended sheet
https://ultimatesnowsports.livedrive.com/Item/23888062

one last thing - i would like to summarise these results on the 3rd sheet

unsure of the formula i would need for the result in B2 and C2 of the sheet 'Daily Summary'
(which would be the sum of 'Vehicle Summary' sheet of D2:D5 and E2:E5 respectively)

many thanks
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,239
Members
452,898
Latest member
Capolavoro009

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