Find entry in range that equals criteria in range and places in order.

ozbeachbum

Board Regular
Joined
Jun 3, 2015
Messages
217
Office Version
  1. 2021
Platform
  1. Windows
Hi All,
Looking for a formula that will do the following.
If any cell in $CK70:210=3 than have the entry in $BY70:210 placed in order in BG starting at row 70 and than every second row after that.
EG: $CK80=3 and $BY80<>"" (then the entry in it Test 01) would show in BG70
$CK85=3 and $BY85<>"" (then the entry in it Test 02) would show in BG72
$CK200=3 and $BY200<>"" (then the entry in it Test 03) would show in BG74
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
How about:

BG70: =LET(f,FILTER(BY70:BY210,(CK70:CK210=3)*(BY70:BY210<>"")),s,SEQUENCE(2*ROWS(f),,2),IF(ISEVEN(s),INDEX(f,s/2),""))

Or for anyone with 365: =TOCOL(EXPAND(FILTER(BY70:BY210,(CK70:CK210=3)*(BY70:BY210<>"")),,2,""))
 
Upvote 0
Solution
Amazing, Thanks so much.
Never ceases to astound me what can be done in Excel and how knowable people are on this forum.
Cheers.
 
Upvote 0

Forum statistics

Threads
1,221,681
Messages
6,161,261
Members
451,692
Latest member
jmaskin

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