Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The courses I took didn't cover multiple conditional statements. Can someone
help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
have you looked in help for both?
-- Don Guillett SalesAid Software "joanaww" wrote in message ... The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
two samples..
=If(AND(b1=3,c15),"Both Coditions exist","Neither Condition exists") =If(OR(b1=3,c15),"Both Coditions exist","Neither Condition exists") "joanaww" wrote: The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() =IF(AND(conditions seperated by comas),if true,if false) =IF(OR(conditions seperated by comas),if true,if false) HTH JG "joanaww" wrote: The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Yes. It only covers sincle conditions syntax. "joanaww" wrote: The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No, it only covers single condition syntax. (in error I posted the reply to
my own question, so I hope no one's confused.) "Don Guillett" wrote: have you looked in help for both? -- Don Guillett SalesAid Software "joanaww" wrote in message ... The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks. Can we go one step farther, and combine the two? Use of brackets,
parentheses, etc. would be helpful in the combined statement. I am asking the same question to pinmaster. "Jim May" wrote: two samples.. =If(AND(b1=3,c15),"Both Coditions exist","Neither Condition exists") =If(OR(b1=3,c15),"Both Coditions exist","Neither Condition exists") "joanaww" wrote: The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Same question I added for Jim May's reply: Can we go one step farther, and
combine the two? Use of brackets, parentheses, etc. would be helpful in the combined statement. Thanks. "pinmaster" wrote: =IF(AND(conditions seperated by comas),if true,if false) =IF(OR(conditions seperated by comas),if true,if false) HTH JG "joanaww" wrote: The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I think this last example should be:
=If(OR(b1=3,c15),"One or both Conditions exist","Neither Condition exists") Pete |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "Pete" wrote: I think this last example should be: =If(OR(b1=3,c15),"One or both Conditions exist","Neither Condition exists") Pete I just tried this, but maybe I did something wrong. I'm actually using this statement as a condition for a sumif statement, where a column contains several dates, and either of two of them might qualify as criteria for a given time period. I can do this if I have only one month I'm searching for. Actually, I'm trying to sum up the amounts paid, which can come in any month, by time period (corresponding to meeting dates). |
#11
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "joanaww" wrote: I just tried this, but maybe I did something wrong. I'm actually using this statement as a condition for a sumif statement, where a column contains several dates, and either of two of them might qualify as criteria for a given time period. I can do this if I have only one month I'm searching for. Actually, I'm trying to sum up the amounts paid, which can come in any month, by time period (corresponding to meeting dates). (I'm having trouble using this form, as I don't know where I'm supposed to type my reply - there is no blinking cursor.) "Pete" wrote: I think this last example should be: =If(OR(b1=3,c15),"One or both Conditions exist","Neither Condition exists") Pete I just tried this, but maybe I did something wrong. I'm actually using this statement as a condition for a sumif statement, where a column contains several dates, and either of two of them might qualify as criteria for a given time period. I can do this if I have only one month I'm searching for. Actually, I'm trying to sum up the amounts paid, which can come in any month, by time period (corresponding to meeting dates). |
#12
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
try this link
http://www.personal-computer-tutor.com/if2.htm "joanaww" wrote: Yes. It only covers sincle conditions syntax. "joanaww" wrote: The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
#13
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks so much. I think this site will provide me with the information I
need to complete my project. Joan "Dsuperc" wrote: try this link http://www.personal-computer-tutor.com/if2.htm "joanaww" wrote: Yes. It only covers sincle conditions syntax. "joanaww" wrote: The courses I took didn't cover multiple conditional statements. Can someone help me as to the proper syntax to write these? I need to do conditions of "and" and "or", acting on one or more cells and different columns. Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I create a formula for Salutation | Excel Discussion (Misc queries) | |||
Create Formula for calculating Little League Age... | Excel Worksheet Functions | |||
How to create specific formula | Excel Worksheet Functions | |||
How do I create a formula that would allow me to subtract from a d | New Users to Excel | |||
How do I create a formula in Excel that will countif or sumif bef. | Excel Worksheet Functions |