How To Populate Date Conditinally?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
531
Office Version
  1. 2010
Platform
  1. Windows
Dear All,
I do have the following sample data set across A1:F4.

[TABLE="width: 479"]
<colgroup><col span="4"><col><col></colgroup><tbody>[TR]
[TD]Site[/TD]
[TD]SKU[/TD]
[TD]Qty[/TD]
[TD]Date[/TD]
[TD]Maximum Qty[/TD]
[TD]Maximum Qty Date[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]01-Oct[/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]10-10-2019[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]10-Oct[/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]10-10-2019[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]24-Oct[/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]10-10-2019[/TD]
[/TR]
</tbody>[/TABLE]

In column E the formulae is as follows:-
E2=MAX(IF($A$2:$A$4=A2,IF($B$2:$B$4=B2,$C$2:$C$4)))

I am looking for formulae across Column F which can yield the desired result as given above.
Pls help.
Thanks
 

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
How about
=INDEX($D$2:$D$4,MATCH(A2&"|"&B2&"|"&E2,INDEX($A$2:$A$4&"|"&$B$2:$B$4&"|"&$C$2:$C$4,0),0))
 
Upvote 0
How about
=INDEX($D$2:$D$4,MATCH(A2&"|"&B2&"|"&E2,INDEX($A$2:$A$4&"|"&$B$2:$B$4&"|"&$C$2:$C$4,0),0))

Thanks a lot Fluff for helping me out again with your mesmerising solution!!:)
Really appreciate the same!!
My sincere gratitude to you!!:)
 
Upvote 0
My pleasure & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,139
Members
453,021
Latest member
Justyna P

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