If formula

eramirez148

Board Regular
Joined
Aug 17, 2022
Messages
66
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
Platform
  1. Windows
  2. MacOS
How can I get the results in column "C". If the values in column "A" are repetitive then I want the values in column "B" to only appear one time in column "C"

ABC
1​
22222​
10​
10​
2​
22222​
10​
3​
22222​
10​
4​
33333​
10​
10​
5​
33333​
10​
6​
33333​
10​
7​
44444​
20​
10​
8​
44444​
20​
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
How can I get the results in column "C". If the values in column "A" are repetitive then I want the values in column "B" to only appear one time in column "C"

ABC
1​
22222​
10​
10​
2​
22222​
10​
3​
22222​
10​
4​
33333​
10​
10​
5​
33333​
10​
6​
33333​
10​
7​
44444​
20​
20​
8​
44444​
20​
 
Upvote 0
You can try this:

Excel Formula:
=IF(COUNTIF($A$2:A2,A2)=1,B1,"")
 
Upvote 0
Solution
If I have understood correctly then even simpler would be ..

24 10 05.xlsm
ABC
1
2222221010
32222210 
42222210 
5333331010
63333310 
73333310 
8444442020
94444420 
Once
Cell Formulas
RangeFormula
C2:C9C2=IF(A2=A1,"",B2)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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