Need Flagging Formula to Return "First" or "F

otrevino3

New Member
Joined
Jan 25, 2005
Messages
22
Hello. You guys all rock!

My data column has a series of numbers - sorted in ascending order.

I want to create a formula column that:

Returns a "First" for the first appearance of a number;
Any subsequent appearance of the same number will return a "First+"

this should be easy, right?

tia
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Welcome to the board!

B1 = "First"
B2 = IF(COUNTIF($A$1:A2,A2)>1,"First+","First")

Copy B2 down.
 
Upvote 0
Re: Need Flagging Formula to Return "First" or &qu

Thanks Superman, that worked!

Have a beer. (y)
 
Upvote 0
Re: Need Flagging Formula to Return "First" or &qu

For simplicity, you may just want to start with the proposed construction in Cell b1, to wit
="First"&IF(COUNTIF($A$1:A1,A1)>1,"+","")

and copy down. This may help avoid sloppy copy and pasting problems down the road
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,185
Members
449,071
Latest member
cdnMech

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