Help with lastnonblank or similar

birnabjorns

New Member
Joined
Apr 21, 2020
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
1587512145717.png
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
ooobs, My first question gone bad. Can´t seem to figure out how to edit the first post, so I just put the question here. Sorry about that.

Anyways. I am trying to make a calculated column where the blanks are filled with last known value. I have tried the lastnonblank without luck so far. Can anybody help me out?
Thanks in advance,
Birna
 
Upvote 0
use Power Query, change data type of the last column to text then Fill Down and then change to decimals

btw. use xl2bb to post example data not a picture
 
Upvote 0
any logical description?
Hi Sandy. Sorry about that, my question is in the next comment below;

ooobs, My first question gone bad. Can´t seem to figure out how to edit the first post, so I just put the question here. Sorry about that.

Anyways. I am trying to make a calculated column where the blanks are filled with last known value. I have tried the lastnonblank without luck so far. Can anybody help me out?
Thanks in advance,
Birna
 
Upvote 0
use Power Query, change data type of the last column to text then Fill Down and then change to decimals

btw. use xl2bb to post example data not a picture
Thanks for the tip regarding xl2bb. Will do that in the future.
I will look into the Power Query suggestion.
I am using power pivot and am more familiar with that. Any suggestions that can be used directly in power pivot?
 
Upvote 0
I'd suggest to use Power Query to transform data as you need then load to DataModel directly and use Power Pivot
sorry but Power Pivot is useless to me in most cases

but if you really need DAX try this
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,793
Messages
6,174,636
Members
452,575
Latest member
Fstick546

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