excel filter function

masterx7

New Member
Joined
Nov 2, 2016
Messages
11
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?
 

Some videos you may like

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Watch MrExcel Video

Forum statistics

Threads
1,122,450
Messages
5,596,218
Members
414,046
Latest member
mbeutler1203

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
Top