LastNonBlank Help

nicoan

New Member
Joined
Apr 6, 2013
Messages
25
Hello All


We have an Earnings table like this:

Date Symbol Reported EPS
22-01-2013 GOOG $10.59
22-01-2013 IBM $5.39
24-01-2013 MSFT $0.76
28-01-2013 YHOO $0.32
16-04-2013 YHOO $0.38
18-04-2013 GOOG $11.58
18-04-2013 MSFT $0.72
18-04-2013 IBM $3.00
16-07-2013 YHOO $0.35
17-07-2013 IBM $3.91
18-07-2013 GOOG $9.56
18-07-2013 MSFT $0.66
15-10-2013 YHOO $0.34
16-10-2013 IBM $3.99
24-10-2013 MSFT $0.62


And a pivot table with a Calendar[FullDate] on filter context and a SymbolKey[Symbol] on the row context.
We´re trying to return the Last values ("Date" and "Reported EPS") from the Earnings table that are in the period from the selected Calendar[FullDate] to 63 trading days back.
(In that period it should be only one row for each symbol in the Earnings table) (trading days are marked as 1 in the Calendar table).

The sample spreadsheet is here:
https://www.mediafire.com/?ls7bos8gm5c8ub4


(not really sure if Lastnonblank will do the work.)

I appreciate any help that you can provide.
Thanks in advance.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,224,019
Messages
6,175,963
Members
452,688
Latest member
spookralls

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