Formula help for a newbie, please

S

SedonaBob

Columns A and B each can have two-character text beginning with either the
letter "W" or the letter "X". If the text in both columns begin with the
same letter, Column C would be 100, but if the text in the columns begin with
different letters, Column C would be 999.
 
M

Matthew Pfluger

Put this in cell C1 and copy it down:
=IF(LEFT(A1,1)=LEFT(B1,1),100,999)

HTH,
Matthew Pfluger
 
D

Don Guillett

try
=IF(OR(AND(LEFT(A12,1)="w",LEFT(B12,1)="w"),AND(LEFT(A12,1)="x",LEFT(B12,1)="x")),100,9999)
 
S

SedonaBob

Thank you!

Don Guillett said:
try
=IF(OR(AND(LEFT(A12,1)="w",LEFT(B12,1)="w"),AND(LEFT(A12,1)="x",LEFT(B12,1)="x")),100,9999)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top