Show last date with data

luirib

Board Regular
Joined
Sep 21, 2005
Messages
56
I have a table with daily opening and closing balances. The table only has information for those days where transactions occurred (e.g. no data for weekends). However, when I am building my report, I want to show the opening and closing balance for every single day, including those days with no transactions. In other words, the opening balance for Saturday, Sunday and Monday would be Friday's closing balance.

Is there a way to go back on each line and retrieve the balance of the last day that had information?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
No ranges specified. Why not?

=LOOKUP(9.99999999999999E+307,E:E)

gives you the last balance value from column E. Adjust to suit.
 
Upvote 0
No ranges specified. Why not?

=LOOKUP(9.99999999999999E+307,E:E)

gives you the last balance value from column E. Adjust to suit.


Mine is a PowerPivot (DAX) question, that is why no reference to a range.

The table would have 3 columns: Date, Opening Balance, Closing Balance. Again, non-working days like weekends do not have an opening or closing balance. What I am trying to do is display said dates with the closing balance of he last working day. Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,099
Messages
6,176,336
Members
452,722
Latest member
lexalux

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