Row / Array

Altzz

New Member
Joined
Sep 18, 2018
Messages
3
kvq3m6
Hey,

This is my first post on here and I hope someone can help me as this is making my brain hurt!

So I want to make an array formula that returns the row number if someone has entered a number 1 in a cell. The problem I'm having is i need the formula to look at different columns depending on a drop down box list.


so far I have {=IFERROR(SMALL(IF(1=N:N, ROW(N:N)-ROW($N$6)+1), ROW(6:6)),"")}
kvq1vl


This is the first few columns of my sheet it goes on for the full school year my and the data in the drop down boxes will be the dates from this sheet

MathsEnglishCreGegoscienceetc
18th sep19th sep20th sepetcetcetc
111
1
11
1

<tbody>
</tbody>


I'm knew to posting so if you need anymore information just let me know
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Re: Row / Array - Help!!

Welcome to the Board

Your first column has two filled rows, is this going to happen?


team

ABCDEFGH
1MathGeogSciEngRow number
218/09/201819/09/201820/09/201821/09/20185Desired date:
3120/09/2018
41
51
61

<tbody>
</tbody>

Spreadsheet Formulas
CellFormula
G2=MATCH(1,INDIRECT(SUBSTITUTE(ADDRESS(1,MATCH(H3,2:2,0),4),"1","")&":"&SUBSTITUTE(ADDRESS(1,MATCH(H3,2:2,0),4),"1","")),0)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4




<strike></strike>
 
Upvote 0
Re: Row / Array - Help!!

@ Altzz

Is this input? If so, care also post the output that goes with that input?
 
Upvote 0
Re: Row / Array - Help!!

Hey,

Thanks for getting back to me and I sort of worked it out another way (with the help of a number of other threads)

I used =IFERROR(AGGREGATE(15,3,ROW($F$2:$F$180)/($F$2:$F$180<>""),A2),"")

if anyone wants it explaining I'll try my best :D
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,565
Members
449,038
Latest member
Guest1337

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