Excel Help Please
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Excel Help Please

7 Posts
6 Users
0 Reactions
74 Views
Posts: 53
Free Member
Topic starter
 

I am just working on a product feed and need a bit of advice.

The feed has both single products and also Parent&Child products.

Is there a way that i can highlight all of the products that dont have multiples

All Parent Codes are in Column A Child Codes Column B

So i need something to pick all the Column a Codes that are singular like below it would show 54786

As there are 90,000 lines to go through i dont want to do this 1 by 1

54706 117738
54706 117739
54706 117741
54706 117742
54706 117743
54706 117744
54706 225097
54786 118589
54967 119090

Thanks
54967 119091
54967 119092
55167 119714
55167 119715
55167 119716


 
Posted : 17/01/2020 9:14 am
Posts: 1781
Free Member
 

Countif() then filter for the 1s


 
Posted : 17/01/2020 9:21 am
 Mat
Posts: 871
Full Member
 

So if I read right you have 2 columns of data, you want to show entries in column A where there's nothing in column B?

- Highlight the whole table
- click the drop down menu 'sort and filter' (on the home tab on the ribbon)
- click filter, you'll then see little drop downs appear at the top of each column
- click the drop down on column be (child column)
- untick select all
- tick blanks


 
Posted : 17/01/2020 9:30 am
Posts: 10761
Full Member
 

If you just want to get a list of the unique values in Column A, copy it to a new column (C) to preserve the orginal then highlight Column C and use Data/Remove Duplicate (make sure only Column C is ticjked in the dialogue box) and you'll be left with a list of the unique values.

Edit - Just reread your post so scratch that, go with RobHilton's COUNTIF

so set C1 = COUNTIF(A:A,A1)

copy that down the whole data set

do the autofiltering setup then select on Column C = 1

Or you could use a Pivot Table....


 
Posted : 17/01/2020 9:34 am
Posts: 53
Free Member
Topic starter
 

I just want to hightlight the rows that in column A dont have only have 1 occerance


 
Posted : 17/01/2020 9:40 am
Posts: 53
Free Member
Topic starter
 

The purist

Thanks that worked


 
Posted : 17/01/2020 9:44 am
Posts: 943
Free Member
 

if you just want to 'highlight' the number i.e. change the colour or something, then use Conditional formatting

- select all the data in column A, say A1:A100000
- Home > Conditional Formatting > New Rule
- select "Use formula to determine which cells to format"
- type in =countif($A$1:$A$100000,A1)=1
- click the a Format button and select a font colour etc.
- click OK, OK


 
Posted : 17/01/2020 3:52 pm
Posts: 0
Free Member
 

If it's only a single column, select the column then:
Home > Conditional formatting > Highlight Cells Rules > Duplicate Values

You can then select either Unique or Duplicate, plus the highlight colour.

You can then sort by that column using cell colour to bring all the unique or duplicate values to the top or bottom.


 
Posted : 18/01/2020 12:19 am

6 DAYS LEFT
We are currently at 95% of our target!