• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Bring unique values in a column |General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Bring unique values in a column |General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Bring unique values in a column
sp_PrintTopic sp_TopicIcon
Bring unique values in a column
Avatar
Muhammad Adnan

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
April 2, 2020
sp_UserOfflineSmall Offline
1
April 2, 2020 - 12:38 pm
sp_Permalink sp_Print

In the attached file i have column A with PO#, Column B with PO Total Amount, in Column C i need a PO amount to be 1000 only for PO- A instead of repeating the same 1000 on every line item. Every line item has different paid amount and other information. Once I have unique 1000 for PO A and 500 for PO B i will then use them in a Pivot. Can you suggest a formula which i can apply on Column A to get unique values in Column C.

sp_AnswersTopicSeeAnswer See Answer
Avatar
Purfleet
England
Member
Members


Trusted Members
Level 4
Forum Posts: 412
Member Since:
December 20, 2019
sp_UserOfflineSmall Offline
2
April 2, 2020 - 5:29 pm
sp_Permalink sp_Print

Hi Muhammad

I am not really sure what you are after - do you want Column C to be 1001, 1002 etc? What does PO mean? What relevance is the 1000?

Purfleet

Avatar
Muhammad Adnan

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
April 2, 2020
sp_UserOfflineSmall Offline
3
April 3, 2020 - 3:03 am
sp_Permalink sp_Print

PO means purchase order, unfortunately this is how information comes from our ERP system. Purchase order amount which is $1000 and then some line item activity like payment, payment date, invoice date and lots of other information then again on line 2 i have the same PO amount $1000 which makes it $2000(1000+1000) and again i have repeated 1000 on lines to follow which if I make a pivot would give me $10,000 vs $1000 original PO amount. That's the reason i want to fix this column in a new column where i have only one unique value of 1000 in the whole column for PO - A. and other value would remain blank.  Attached is how i want my column to appear.

Thanks

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
April 3, 2020 - 1:11 pm
sp_Permalink sp_Print

Hello,

See if attached example suits your needs.

Br,
Anders

Avatar
Muhammad Adnan

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
April 2, 2020
sp_UserOfflineSmall Offline
5
April 4, 2020 - 3:22 am
sp_Permalink sp_Print

Hi,

It's a temporary solution and would only work if the column is sorted alphabetically. For instance if there is PO C in between or PO A is repeated twice in other lines it would repeat the value of PO A which makes it a double count. I remember i had a similar issue few years ago and i fixed it by combining match and vlookup but not getting the logic again 🙂 Please refer to the attachment.

 

Thanks much

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
6
April 4, 2020 - 6:53 pm
sp_Permalink sp_Print

Hello Muhammad,

I don't really understand why you want to add this extra column, because if you don't want to sum the PO Total Amount column, then don't.
See attached, I have added a Pivot Table. I assume it is the paid amount you want to sum, as that is what is left to sum.

With that said, try this formula instead, paste it in cell C2.
=IF(COUNTIF($A$2:$A2,$A2)>1,"",$B2)

Br,
Anders

sp_AnswersTopicAnswer
Answers Post
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Velouria, Dario Serrati, yonatan zelig, Christopher Anderson
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
yashal minahil
Oluwadamilola Ogun
Yannik H
dectator mang
Francis Drouillard
Orlando Inocente
Jovitha Clemence
Maloxat Axmatovna
Ricardo Freitas
Marko Meglic
Forum Stats:
Groups: 3
Forums: 24
Topics: 6200
Posts: 27182

 

Member Stats:
Guest Posters: 49
Members: 31861
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.