Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Formula Help (basic) 2

Status
Not open for further replies.

nervous2

IS-IT--Management
Feb 24, 2003
125
CA
I have a spread sheet we use for mailers with addresses.

3 columns in the spread sheet indicate which mailer we will be sending out indicated with either a "Yes" or "No"

I would like to put a small code system on the label which I can tell our receptionist that if the label has a "*" that means mail our mailer 1 or mailer 2 or 3 etc.

How can I create a formula that would say if column "P" states "Yes" then in empty column "Q" fill cell with "*" if column "P" states "No" then in empty column "Q" leave blank.

Thank You



 



Hi,

Assiming that you are in row 2...
[tt]
Q2: =if(p2="Yes","*","")
[/tt]
if column "P" states "Yes" then in empty column "Q" fill cell with "*" if column "P" states "No" then in empty column "Q" leave blank.



Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
=IF(P2="Yes",CHAR(42),"")

I don't particularly care about apathy
 
Thank guys that worked!

One question regarding CHAR(42) (How woudl i know that this represents a "*"?
 



Check ASCII in help.

BTW, having an ASTERISK in data is a potential for problems, as ASTERISK is a wildcard for searches. So it becomes VERY DIFFICULT in the event that you have to FIND all of them.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top