Skipping Columns in Forumla and Replicating across rows

burtm05

New Member
Joined
Jan 11, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi...

I'm hoping a guru here can help answer this one...

I have a table I am trying to fill based on data from another sheet. All the data is stored in a single row UPC!D5:KM5. The data needed to fill the table is in every other column starting with E5, so my data points are E5, G5, I5, K5, M5. I've gotten this to work using an Index formula relatively well for a single row in the table.

The issue I am having is I need to replicate this formula down to the next row in my table; however, my data repeats itself horizontally in the source sheet with the next start point being O5, there is a separator column (N5) for visual formatting.

I need to repeat this exercise across a total of 24 rows down in the table with 5 columns of data in the repeating pattern.

Any ideas?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Can you provide sample data?
Attached is a rough sample of what I am trying to accomplish. I populated the first sheet (UPC) with sample data spanning row 5. On the second sheet, PriceList, I created the table I want to populate. C5:G5 I referenced the cells directly so you can see the data pattern, C6:G7 are partially filled and left open so you can see the pattern I am attempting to achieve.

ColumnSkipRepeatRowSample.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQAR
1
2A4 Mono PrinterA4 Mono PrinterA4 Mono PrinterA4 Color Printer
3Device1 ShortDevice1 LongDevice1 LongDevice1 LongDevice1 Print OnlyDevice2 ShortDevice2 LongDevice2 LongDevice2 LongDevice2 Print OnlyDevice3 ShortDevice3 LongDevice3 LongDevice3 LongDevice3 Print OnlyDevice4 ShortDevice4 LongDevice4 LongDevice4 LongDevice4 Print Only
4without escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalationwithout escalationwith escalation
5$10.05$12.57$14.33$16.55$19.25$22.58$26.58$30.05$15.00$18.01$45.01$50.12$25.47$26.99$12.35$18.55$22.45$26.58$7.58$8.58$56.58$60.58$36.59$45.10$26.35$25.99$37.88$48.52$35.21$42.51$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
UPC
Cell Formulas
RangeFormula
AI5,AK5,AM5,AO5,AQ5AI5=+AI101
AJ5,AL5,AN5,AP5,AR5AJ5=+AI108


ColumnSkipRepeatRowSample.xlsx
ABCDEFG
1
2Price List6 months36 months48 months60 months12 months
3Monthly PaymentsMonthly PaymentsMonthly PaymentsMonthly PaymentsMonthly Payments
4ModelsShort TermLong TermLong TermLong TermPrint Only
5Device1$12.57$16.55$22.58$30.05$18.01
6Device2$50.12$26.99
7Device3$48.52$42.51
PriceList
Cell Formulas
RangeFormula
C5C5=UPC!C5
D5D5=UPC!E5
E5E5=UPC!G5
F5F5=UPC!I5
G5G5=UPC!K5
C6C6=UPC!N5
D6D6=UPC!P5
F7F7=UPC!AE5
G7G7=UPC!AG5



Thanks!
 
Upvote 0
You are trying to drag from c5 to g5 that the formula should refer to 11 columns later then the previous cell. I don't think that's possible.
Maybe you can try to name your data with more detail so you can perhaps try a lookup formula instead.
 
Upvote 0
Try

C5 copied across and down
=INDEX(UPC!$B$5:$AR$5,MATCH($B5&"*",UPC!$B$3:$AR$3,0)+2*COLUMNS($C5:C5)-1)

M.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,606
Messages
6,120,483
Members
448,967
Latest member
visheshkotha

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