increase column b12 rows

shamsu203

Board Regular
Joined
Jun 12, 2014
Messages
83
Office Version
  1. 365
Platform
  1. Windows
Hi
in this formula
IF(OR($A$1=$A$6,$A$1=$A$10),Data!$J$15,0) when i copy the formula across i wnat to increase the data j15 by 12 to show j27 . the formula starts from b6. i am just making the worksheet as do not have a sample. so b6 will show vale of data j15 c 6 should show value of data j27 and so on

shamsu
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Avoiding Passive formula, in B6 copied across.

Excel Formula:
=IF(OR($A$1=$A$6,$A$1=$A$10),INDEX(Data!$J$1:$J$1000,15+12*(COLUMNS($B$6:B$6)-1)),0)
 
Upvote 0
Excel Formula:
=IF(OR($A$1=$A$6,$A$1=$A$10),INDIRECT("Data!$J" & 12*COLUMN()-9),0)

Excel Formula:
=IF(OR($A$1=$A$6,$A$1=$A$10),INDIRECT("Data!$J" & 12*COLUMN()-9),0)
works fine:)
Excel Formula:
=IF(OR($A$1=$A$6,$A$1=$A$10),INDIRECT("Data!$J" & 12*COLUMN()-9),0)

Avoiding Passive formula, in B6 copied across.

Excel Formula:
=IF(OR($A$1=$A$6,$A$1=$A$10),INDEX(Data!$J$1:$J$1000,15+12*(COLUMNS($B$6:B$6)-1)),0)
Pls explain what passive formula means. . The earlier suggestion by myal blues works fine
 
Upvote 0
INDIRECT , OFFSET are passive (volatile) formulas. Any change in worksheet will recalculate all passive formulas. If Passive formulas are in more cells it needs more time foe recalculation. Thus excel becomes slow. So, i It is always better to avoid passive formulas
 
Last edited:
Upvote 0
Pls explain what passive formula means.
More commonly they are called ‘volatile’ functions.
Unless you have a very large number of formulas containing volatile functions it won’t make any practical difference.
 
Upvote 0
Avoiding Passive formula, in B6 copied across.

Excel Formula:
=IF(OR($A$1=$A$6,$A$1=$A$10),INDEX(Data!$J$1:$J$1000,15+12*(COLUMNS($B$6:B$6)-1)),0)
if i create name ranges how will it show in the formula. in this case the range name s globlg for the j column
 
Upvote 0
What is the name of range and what is the range..
If name is global and range is J15:BF15

Excel Formula:
=IF(OR($A$1=$A$6,$A$1=$A$10),INDEX(global,1+12*(COLUMNS($B$6:B$6)-1)),0)
 
Upvote 0
if i create name ranges how will it show in the formula. in this case the range name s globlg for the j column
Range name starts from j2 for the entire column. This is the formula I used. Offset(data!$j$2,0,0,counta(data!$j:$j)-2)
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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