Excel - I need the ROW formula to go to the next row, while i drag across.

DV1987

New Member
Joined
Sep 4, 2017
Messages
2
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
0down votefavorite
I have the below formula, which i would like to drag horizontally but have the ROW(1:1) which needs to change vertically e.g ROW(2:2)
=IF(ISERROR(INDEX($B$1:$C$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)),ROW(1:1)),1)),"",INDEX($B$1:$C$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)),ROW(1:1)),1))
Your help is greatly appreciated.



<tbody style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;">
</tbody>
</body>

down votefavorite
I have the below formula, which i would like to drag horizontally but have the ROW(1:1) which needs to change vertically e.g ROW(2:2)
=IF(ISERROR(INDEX($B$1:$C$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)),ROW(1:1)),1)),"",INDEX($B$1:$C$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)),ROW(1:1)),1))
Your help is greatly appreciated.



<tbody style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;">
</tbody>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Sorry if the above is unclear. Please see below again.

I have the below formula, which i would like to drag horizontally but have the ROW(1:1) which needs to change vertically e.g ROW(2:2)

=IF(ISERROR(INDEX($B$1:$C$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)),ROW(1:1)),1)),"",INDEX($B$1:$C$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)),ROW(1:1)),1))
Your help is greatly appreciated.
 
Upvote 0
Either...

In X1 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($B$1:$B$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)-ROW($C$1)+1),ROWS($X$1:X1))),"")

Or...

=IFERROR(INDEX($B$1:$B$800,SMALL(IF($C$1:$C$800=S$2,ROW($C$1:$C$800)-ROW($C$1)+1),ROWS($1:1))),"")

P.S. The site from where you probably copied the formula is totally wrong in propogating this.
<strike>
</strike>
 
Upvote 0

Forum statistics

Threads
1,216,747
Messages
6,132,488
Members
449,729
Latest member
davelevnt

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