Return Col A if equal to Col D = Col B in columns E:I

Norm45

New Member
Joined
Oct 7, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Can anybody help with the above problem hopefully explained in enclosed sheet

NumberSkSkR1R2R3R4R5
1191414252737
25239172934
3237132838
4143032
59522631
6236222439
7371119
8888
929515
10151018
117111221
12111223
1331336
1411420
159151033
16161633
17217
18101835
197191
201420
2111>206
226
2312
246
251
265
271
283
292
304
315
324
3315
342
3518
3613
371
383
396



Thanks Norm45
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Welcome to the MrExcel board!

Is this what you mean?
My formula disagrees with your results in one cell (green). I'm hoping that was just a typo on your part?

22 10 08.xlsm
ABCDEFGHI
1NumberSkSkR1R2R3R4R5
21191414252737
325239172934
43237132838 
54143032   
659522631  
76236222439  
87371119   
98888    
10929515   
1110151018    
12117111221   
1312111223    
141331336    
151411420    
16159151033   
1716161616    
1817217     
1918101835    
20197191    
21201420     
222111>206    
23226
242312
25246
26251
27265
28271
29283
30292
31304
32315
33324
343315
35342
363518
373613
38371
39383
40396
Norm45
Cell Formulas
RangeFormula
E2:I22E2=IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$2:$A$40)/IF(ISNUMBER($D2),$B$2:$B$40=$D2,$B$2:$B$40>$D1),COLUMNS($E:E))),"")
 
Upvote 0
Solution
Welcome to the MrExcel board!

Is this what you mean?
My formula disagrees with your results in one cell (green). I'm hoping that was just a typo on your part?

22 10 08.xlsm
ABCDEFGHI
1NumberSkSkR1R2R3R4R5
21191414252737
325239172934
43237132838 
54143032   
659522631  
76236222439  
87371119   
98888    
10929515   
1110151018    
12117111221   
1312111223    
141331336    
151411420    
16159151033   
1716161616    
1817217     
1918101835    
20197191    
21201420     
222111>206    
23226
242312
25246
26251
27265
28271
29283
30292
31304
32315
33324
343315
35342
363518
373613
38371
39383
40396
Norm45
Cell Formulas
RangeFormula
E2:I22E2=IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$2:$A$40)/IF(ISNUMBER($D2),$B$2:$B$40=$D2,$B$2:$B$40>$D1),COLUMNS($E:E))),"")
Hi Peter,

Thanks for the quick solution and you're right it was a typo on my part

Rgds

Norm45
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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