Identify the very first occurrence of one specific value in a column

okiedokie2017

New Member
Joined
Sep 14, 2017
Messages
14
I have been struggling longer than I expected and would love to get some assistance on this task that I am doing.

I want to create a new column (column A), in which identifies the first occurrence of the number 1 in column B. If it is the first occurrence, it would be blank, for the rest it would be "X".


I have been trying multiple formulas like:

_ COUNTIF($B:$B,1)>1
_IF(MIN(IF($B$:$B$=1, ROW($B$:$B$)))>0,"","x")
_{=INDEX($B$:$B$,MATCH(TRUE,$B$:$B$<>0,0))}

However, nothing is giving what I was looking for. I have have multiple 1 in column B, I only want to identify the first 1 and make it blank, and put "x" for the remaining 1.

Thanks so much
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Like this, copied down?

Excel Workbook
AB
1 6
23
31
42
55
6x1
7x1
82
9x1
Skip First
 
Upvote 0
Hello,

thank for the reply, but what I was looking is for A7 and A9 to be blank as well, as they are not the first occurrence
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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