[mso] Re: "IF" Statement in Excel

  • From: "John Clarke" <john.johnwclarke@xxxxxxxxx>
  • To: mso@xxxxxxxxxxxxx
  • Date: Thu, 2 Nov 2006 13:21:20 +0000

My most grateful thanks
I did manage to sort it when I came in to work this morning. Got the same as
you Jim. Isn't it annoying when you have done something in the past and then
not for a couple years.

Regards

John

On 01/11/06, Jim Hickey <jim@xxxxxxxxxxx> wrote:

> IF(RIGHT(A1,2)=3D"ut",40,IF(RIGHT(A1,2)=3D"ro",60,IF(RIGHT(A1,2)=3D"hg",6=
> 0,0))) is
> what I would try.  If you have more than seven possible combinations to
> check then build a table and use vlookup.
>
> Adjust cell "A1" accordingly.
>
> HTH
>
> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On =
> Behalf
> Of John Clarke
> Sent: Wednesday, November 01, 2006 10:30 AM
> 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
> *************************************************************
>
> --=20
> No virus found in this incoming message.
> Checked by AVG Free Edition.
>
> =20
>
> --=20
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
>
> =20
>
> *************************************************************
> 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: