View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
shail shail is offline
external usenet poster
 
Posts: 195
Default Conditional IF statements

Hi Mary,

Try this one. Write this formula at cell A2


=IF(A1="BTEC National",1,IF(A1="AS",2,IF(A1="GCSE",3,"")))


Hope that helps.

Thankyou,
Shail


sike11 via OfficeKB.com wrote:
Hi All,

Please help!!

My problem is the following:

I have text in a column like this

A1
BTEC National Diploma
AS Economics
GCSE Maths

What I would like to happen in the next column is a formula like the
following:

IF A1 = "BTEC National" then A2 = 1
ELSE
IF A1 = "AS" then A2 = 2
ELSE
IF A1 = "GCSE" then A2 = 3

I am a little stumped as to how achieve this. Any ideas?

Thank you in advance!

Mary.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200701/1