I was trying to do the R1c1 rotation in the excel. My question is how can we use the R1c1 on the visible cells in the Excel avoiding the hidden rows

Goverdhan

New Member
Joined
Dec 4, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
For Example, consider In excel you have 10 rows and you hid 5 rows in excel. I want the R1c1 rotation formula that calculates base on the visible cells in excel. that look like R[-4]C-R[-5]C. It is calculating the hidden rows also.


Any Help really appreciated.
 

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.
Welcome to MrExcel Messeage Board.
Please tell your formula and show an Example.
 
Upvote 0
I think this is worked for you:
Excel Formula:
=INDIRECT("E"&ROW()+5-SUBTOTAL(103,$E$5:$E$13),TRUE)-INDIRECT("E"&ROW()+4-SUBTOTAL(103,$E$5:$E$13),TRUE)

$E$5:$E$13 is Total Column Range
And formula is after the Last cell (here E14)
 
Upvote 0
I changed formula to this:

Excel Formula:
=INDIRECT("E"&SUBTOTAL(103,$E$5:$E$13)+1-SUBTOTAL(103,$E$5:$E$8)+SUBTOTAL(3,$E$5:$E$8),TRUE)-INDIRECT("E"&SUBTOTAL(103,$E$5:$E$13)-SUBTOTAL(103,$E$5:$E$8)+SUBTOTAL(3,$E$5:$E$8),TRUE)

1. $E$5:$E$13 is Total Column Range
2..And formula is after the Last cell (here E14)

3. You should change also all of $E$8 to your formula address -6 : Here formula adress is E14 then I put $E$8 .
 
Upvote 0

Forum statistics

Threads
1,215,471
Messages
6,125,000
Members
449,202
Latest member
Pertotal

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