minifs; grab data in column for last available data

vbaisdaxing

New Member
Joined
Aug 23, 2017
Messages
12
[TABLE="width: 500"]
<tbody>[TR]
[TD]date[/TD]
[TD]amount[/TD]
[/TR]
[TR]
[TD]1/1/15[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]1/2/15[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]1/3/15[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]1/4/15[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]1/5/15[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

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

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
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,223,881
Messages
6,175,159
Members
452,615
Latest member
bogeys2birdies

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