Extract the names of the Items purchased at different prices

ala995

New Member
Joined
Aug 15, 2022
Messages
11
Office Version
  1. 2021
Platform
  1. Windows
Hello,
I have a very large database of Items, And most of the Items have the same prices and are purchased at the same common price.
What I want in my case is that if I purchased some item at different prices, I want Excel to show me their names so that I can deal with them later.
For example, in my case, I have this data.

Items.xlsx
ABCDE
1Purchase NumberInvoice TypeInvoice DateItemPrice
21Purchase Invoice23/09/2022Item 15
329Purchase Invoice16/03/2023Item 15
41Purchase Invoice23/09/2022Item 15
529Purchase Invoice16/03/2023Item 15.2
646Purchase Invoice26/04/2023Item 26
746Purchase Invoice26/04/2023Item 26
81Purchase Invoice23/09/2022Item 26
929Purchase Invoice16/03/2023Item 26
1046Purchase Invoice26/04/2023Item 26
1146Purchase Invoice26/04/2023Item 26
1246Purchase Invoice26/04/2023Item 33
1346Purchase Invoice26/04/2023Item 49
1464Purchase Invoice15/06/2023Item 52.9
1564Purchase Invoice15/06/2023Item 52.9
1664Purchase Invoice15/06/2023Item 52.7
1764Purchase Invoice15/06/2023Item 52.9
181Purchase Invoice23/09/2022Item 610.5
1929Purchase Invoice16/03/2023Item 610.5
2046Purchase Invoice26/04/2023Item 610.9
Sheet1


I want the excel to give me the name of the item (Item 1, Item 5, Item 6) because they are the only Items that were purchased at different prices.

I hope my question is clear and thank you very much in advance
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hello, something like this maybe:

Excel Formula:
=IF(SUMPRODUCT(($E$2:$E$20)*($D$2:$D$20=D2))/COUNTIFS($D$2:$D$20,D2)=E2,"",D2)
 
Upvote 0
Solution

Forum statistics

Threads
1,221,417
Messages
6,159,789
Members
451,589
Latest member
Harold14

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