# How can I create a formula using the IF function for displaying a specific text in cell B1

1. ## How can I create a formula using the IF function for displaying a specific text in cell B1

Hi everyone. I'm a newbie to IF statements. I'm using MS Excel 2010 at home.
My question is what would be the formula using the "=IF(" function for displaying a specific text in cell B1: if cell A1: has a number entered into it with two letters entered into it immediately & automatically, following the number entered in A1:, if something is entered into A1:?

For example: If cell A1: has the number one entered into it, with the letters "st", "rd" or "nd" added to the number in the A1: cell, if possible, then, I want to have cell B2: display the word "Floor".

Also, if nothing is entered into A1: then cell B2: stays blank.

Example #1: enter 1 into A1:,
converts to "1st"
B2: gets the word, "Floor" added to it.
If nothing is entered into A1: then cell B2: stays blank.

Example #2: enter 1 into A1:,
converts to "2nd"
B2: gets the word, "Floor" added to it.
If nothing is entered into A1: then cell B2: stays blank.

-Suzi.

Sent from my ASUS Transformer Pad TF700T using Tapatalk

2. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

What you mean
enter 1 into A1:,converts to "1st"
Type 1 in A1 then format it as 0"st" ?

3. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

Huh???

Sent from my ASUS Transformer Pad TF700T using Tapatalk

4. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

Hi,

Please clarify. Does A1 have '1' entered and you wish to see '1st', or is '1st' actually entered.

5. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

A1 just has 1 entered in it. Thanks.

Sent from my ASUS Transformer Pad TF700T using Tapatalk

6. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

Help?

Sent from my ASUS Transformer Pad TF700T using Tapatalk

7. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

Hi,

I think you'll need a macro for this. Is that acceptable?

8. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

Not allowed to use macros. They've been disabled due to antivirus (or something like that) issues.

Sent from my ASUS Transformer Pad TF700T using Tapatalk

9. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

Any help on this?

Sent from my ASUS Transformer Pad TF700T using Tapatalk

10. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

Originally Posted by suzukii
Not allowed to use macros. They've been disabled due to antivirus (or something like that) issues.

Sent from my ASUS Transformer Pad TF700T using Tapatalk
You can't enter 1 in A1 and expect to see '1st', enter 2 in A1 and see '2nd' , enter 3 in A1 and see '3rd' without a macro.

11. ## Re: How can I create a formula using the IF function for displaying a specific text in cel

OK. Thanks for the heads up.

Sent from my ASUS Transformer Pad TF700T using Tapatalk

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1