excel filter function

masterx7

New Member
Joined
Nov 2, 2016
Messages
16
Hi, everyone,

I have a table that looks something like that.
A B C D
Part Number Quantity Supplier Total Quantity
8-093 10 Adam 80
8-025 50 IPL 50
8-352 30 Optical 30
8-093 70 Adam 80

column D sums column B for the same part number in column A

I used the filter function and got this result (it's fine)

A B C D
Part Number Supplier Total Quantity Comments
8-093 Adam 80
8-025 IPL 50
8-352 Optical 30

now I added manually column name "Comments" at the end and start writing.
if I'm filtering after that any column, the comment I wort in D keeps it's place and moving accordantly to the part number.
now when I'm trying to sort by any column, it gives me an error "you cannot change part of an array excel",
so I tried adding the sorting to the filter formula, but in this case the sorting not working on the field I've added manually (Comments) and the comment I wrote for one part not matching anymore.

1. what can I do?
2. is it possible In the filter function to also get the headers from the original table?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,214,912
Messages
6,122,204
Members
449,072
Latest member
DW Draft

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