minifs; grab data in column for last available data

vbaisdaxing

New Member
Joined
Aug 23, 2017
Messages
12
dateamount
1/1/151
1/2/152
1/3/153
1/4/154
1/5/15

<tbody>
</tbody>

Hello everyone,

Assuming that the table starts at cell A1, this is what i am trying to accomplish:

I have excel 2016 and utilized the MINIFS formula and was able to grab 1/15/15 date by using =MINIFS(A2:A6,B2:B6,"")

what i'm trying to do is when there is a blank cell, i want to grab the date/data in the previous cell. In this case I would like to grab 1/4/15.

any suggestions or other methods would be greatly appreciated. Thank you.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi,

This should work:


Excel 2010
ABCD
1dateamount1/4/2015
21/1/20151
31/2/20152
41/3/20153
51/4/20154
61/5/2015
Sheet10
Cell Formulas
RangeFormula
D1=INDEX(A2:A6,MATCH(9.99999999999999E+307,B2:B6,1))
 
Upvote 0

Forum statistics

Threads
1,214,960
Messages
6,122,479
Members
449,088
Latest member
Melvetica

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