Row/Index Function

mulholm

New Member
Joined
Jul 2, 2018
Messages
49
=IF(ROWS($A$28:A28)>COUNTIF(Utilisation!C62:C68,"Paid Breaks"),"",INDEX(Utilisation!A62:A68,SMALL(IF(Utilisation!C62:C68="Paid Breaks",ROW(Utilisation!C62:C68)-ROW(Utilisation!C62)+2),ROWS($A$28:A28))))

Is there any way to amend this formula so that it searches all of column "C" for the word "Paid Breaks" and returns the corresponding namein column "A".

I have managed to get it to work if the rows in column "C" were a constant, i.e "C62:C68" as per above forumla however the rows will change depending on how many people i have in that day so is not a constant.

Therefore i need it for the whole column rather than specific rows.
 
PS it your formula to work if with C62 + A62

Currently it is C62:C68 but tomorrow it could be C69:C80 or C1:C16 so it goes up and down and isnt always a set number between ranges.
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
PS it your formula to work if with C62 + A62

Currently it is C62:C68 but tomorrow it could be C69:C80 or C1:C16 so it goes up and down and isnt always a set number between ranges.

Is there any other information which could be used to determine where the C starts end where it ends?
 
Upvote 0
Unfortunately not :(, this is where the problem comes from.

Let's try the expesive version. Control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX(Utilisation!$A:$A,SMALL(IF(Utilisation!$C:$C="Paid Breaks",ROW(Utilisation!$A:$A)),ROWS($1:1))),"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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