[mso] Re: Q on Excel - If statements.

As far as I know Excel only likes one cell to contain one result even 
though this may come from different inputs (f.ex you can have a number of 
grades which - using and if query can give you three different answers - 
but only in that cell).
What you are proposing seems to me like programming and you could possibly 
do this using a macro.
But what is the point? Why not using three if queries, one in each cell, 
your typing would be the same although I can see the problem if you wanted 
20 different returns. 
I do not think excel is capable.

Jens N. Outzen
Traffic Supervisor
Lea Interchange Depot
0208 988 4700
07931 904 611 (Mob)

First Capital North Limited No 0263641
First Capital East Limited No 02218277
Registered in England & Wales
B Block 3rd Floor MacMillan House, Paddington Station,London W2 1TY





d5nc1n3st1@xxxxxxxxx
Sent by: mso-bounce@xxxxxxxxxxxxx
01/12/2008 03:03
Please respond to mso
 
        To:     mso@xxxxxxxxxxxxx
        cc: 
        Subject:        [mso] Q on Excel - If statements.


Hello everyone. My first time here so please be patient.
I know more excel than the average person but not an expert by any means.

I've been foolind around with the IF STATEMENTS of late. Let me ask you

Is there a way of doing this?

IF A2=x (which it is, cause A2 contains the letter x), THEN (Do several
things like), "*put 100 in B3*" and "*put "4" in P4*","*put GREAT in P5*"
etc etc etc. ELSE: do nothing, (no values, or messages or nothing)


It seems to me this shold be simple and yet I can't make work.

For instance:

=IF(A2=x), B3=100, P4=4, P5="GREAT")


Rique


*************************************************************
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).
http://www.freelists.org/webpage/mso

To be able to share files with the group, you must join our Yahoo sister 
group.  This group will not allow for posting of emails, but will allow 
you to join and share problem files, templates, etc.:  
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for 
FILE SHARING ONLY.

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
*************************************************************


**********************************************************************
This message is confidential. It may not be disclosed to, or used by, 
anyone other than the addressee. If you receive this message in 
error, please advise us immediately.

Internet email is not necessarily secure. First does not accept
responsibility for changes to any email which occur after the email
has been sent. Attachments to this email could contain software
viruses which could damage your system. First have checked the
attachments for viruses before sending, but you should virus-check
them before opening.

For more information on our range of services or to book your tickets
online, please visit:- http://www.firstgroup.com
**********************************************************************



*************************************************************
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).
http://www.freelists.org/webpage/mso

To be able to share files with the group, you must join our Yahoo sister group. 
 This group will not allow for posting of emails, but will allow you to join 
and share problem files, templates, etc.:  
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE 
SHARING ONLY.

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: