Power Query - Fill Down with conditions

weslake77

New Member
Joined
May 19, 2018
Messages
10
Hi all,
I have a profit and loss report that includes a Category column and a Sub Category column.
I filled down the Category column with great success. However, there only exists a handful of Sub Categories in a data set with hundreds of rows.
See pics below. The Sub Categories normally have a cell with the text that describes the Sub Category and then a couple of blanks rows, then the same Sub Category written with the addition of the word "Total". (See pics)
How do I Fill Down between these 2 values as a typical Fill Down will also repeat the "Total...." Sub Cat as well which isn't correct.
Any ideas??
 

Attachments

  • Fill Down 1.jpg
    Fill Down 1.jpg
    94.8 KB · Views: 103
  • Fill Down 2.png
    Fill Down 2.png
    26.3 KB · Views: 102
It worked!! I just had to change a couple of bits but it's exactly what I needed!
Thanks very much for your assistance and persistence! I can finally start creating graphs!
Thanks again
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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