INDEX result with date criteria & skip empty cell

phithack

New Member
Joined
May 21, 2018
Messages
6
[TABLE="width: 350"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"] G [/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]DATE[/TD]
[TD="align: center"]FROM[/TD]
[TD="align: center"]TO[/TD]
[TD="align: center"]PRICE[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]01-03-18[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Z[/TD]
[TD]18,900[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]10-03-18[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Z[/TD]
[TD]18,500[/TD]
[TD][/TD]
[TD]DATE : [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]29-03-18[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]Z[/TD]
[TD]18,900[/TD]
[TD][/TD]
[TD]FROM :[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]11-04-18[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Z[/TD]
[TD][/TD]
[TD][/TD]
[TD]TO :[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]18-04-18[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Z[/TD]
[TD]19,500[/TD]
[TD][/TD]
[TD]RESULT :[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]18-04-18[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]Z[/TD]
[TD]19,800[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]26-04-18[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Z[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD]27-04-18[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD]27-04-18[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

HI, I want to extract result (G6) that would skip empty cell if I input data DATE (G3), FROM (G4), TO (G5) for examples:

EX1:

DATE : 26-04-18
FROM : A
TO : Z
RESULT : 19,500 (D6)

EX2:

DATE : 12-04-18
FROM : A
TO : Z
RESULT : 18,500 (D3)


Sorry for my bad English
Thank you so much
 
Sorry Peter..
My bad..
I'm using Excel 2007..

Thank you for trying to help me..
No problem, but AGGREGATE wasn't introduced until Excel 2010 so that was the issue. :)

However, still for that first problem, you could also try this similarly compact standard-entry formula.

Excel Workbook
ABCDEFG
1DATEFROMTOPRICE
21/03/2018AZ18,900
310/03/2018AZ18,500DATE :12/04/2018
429/03/2018BZ18,900FROM :A
511/04/2018AZTO :Z
618/04/2018AZ19,500RESULT :18500
718/04/2018BZ19,800
826/04/2018AZ
927/04/2018AY
1027/04/2018BY
Skip Empty
 
Last edited:
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,223,767
Messages
6,174,395
Members
452,561
Latest member
amir5104

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