Excel If blank write text

Hello Expert,

Have a list of Employers who are governmental agencies.
Need to mark them 01 (Fed), 02 (state), 03 (Local)
04 (Indian nation)

Have got all 01, 02 and 04 marked. All blank are 02.
Need to write a formula like if blank write 02 if not blank do nothing


=IF(D90:D2946 = "","02")

This returns "...circular reference..."

Can this be done?


Allen in Dallas
Allen PittsBusiness analystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NorieAnalyst Assistant Commented:

If the blanks are in a column try this.

1 Select the column.

2 Goto Find & Select>Go to Special and select Blanks.

3 In the formula bar type 02 and confirm with CTRL+ENTER.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Allen PittsBusiness analystAuthor Commented:
Works. Easier than writing formula. Thanks
Allen PittsBusiness analystAuthor Commented:
Sorting easier than writing formula.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.