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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,105
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,181,748
Messages
5,931,792
Members
436,805
Latest member
waseem abbas

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