[mso] Re: "IF" Statement in Excel

  • From: "Pearce, Norman" <Norman.Pearce@xxxxxxxxxx>
  • To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
  • Date: Thu, 2 Nov 2006 07:47:04 -0000

John

This should do it for u....

=if(right(source,2),true statement,false statement)

Regards
Norman Pearce 
IM&T Learning Manager
The Training Centre
Ealing Hospital NHS Trust 
T: 020 8967 5085
F: 020 8967 5646
E: Norman.Pearce@xxxxxxxxxx
Developing the foundations for your success
 
 
 


-----Original Message-----
From: John Clarke [mailto:john.johnwclarke@xxxxxxxxx] 
Sent: 01 November 2006 16:30
To: mso@xxxxxxxxxxxxx
Subject: [mso] "IF" Statement in Excel


Hello All
I am having a silly day today. I am trying to do an "IF" statement. Not an
ordinary IF tho'.

I have got data in one column and I need to use only the last 2 digits of
the info for my my formula.

What I am trying to say is;

In one Column I may have:

A2345UT.
A1245RO
A2345HG
A3465UT
ETC

I want to do a formula that will give me a value in another column based
solely on the last 2 digits.

ie: If the last 2 digits equals UT, then place the value 40 in the column,
if the value equals RO place the value 50, if the value equals HG place the
value 60 etc etc

I have done this type of formula a couple of years ago, and I am now not
able to remember how I did it.

Any idea


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the
dropdown menu at the top.  This will allow you to unsubscribe your email
address or change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
with instructions.  Once you are a member of the files group, you can go
here to upload/download files: http://www.smartgroups.com/vault/msofiles

If you are using Outlook and you see a lot of unnecessary code in your email
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: