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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,021
Office Version
  1. 365
Welcome to the board!

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

Copy B2 down.
 

otrevino3

New Member
Joined
Jan 25, 2005
Messages
22
Re: Need Flagging Formula to Return "First" or &qu

Thanks Superman, that worked!

Have a beer. (y)
 

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
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
 

Forum statistics

Threads
1,147,622
Messages
5,742,199
Members
423,711
Latest member
luisfreitas

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
Top