Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm trying to create a conditional formula like:
=IF(OR(F2="Change",F2="New")*AND(G2="Auto CU")*AND(Q2=1),150,IF(Q2=2,200)) It works; however, if F2 is blank it still puts in the results either for Q2=1 or Q2=2 How can I solve this. If there is no entry in F2 then I would want a "Blank" result passed. Many thanks for any help. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hmm, something like this?
=IF(OR(F2="",ISBLANK(F2)),"",IF(OR(F2="Change",F2= "New")*(G2="Auto CU")*(Q2=1),150,IF(Q2=2,200,"no conditions fully met"))) -- Regards, Dave "Programming Cells" wrote: I'm trying to create a conditional formula like: =IF(OR(F2="Change",F2="New")*AND(G2="Auto CU")*AND(Q2=1),150,IF(Q2=2,200)) It works; however, if F2 is blank it still puts in the results either for Q2=1 or Q2=2 How can I solve this. If there is no entry in F2 then I would want a "Blank" result passed. Many thanks for any help. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
No quite. I had this however, it still populates with the results of Q2 even
if F2 and G2 are blank. I'm going nuts. "David Billigmeier" wrote: hmm, something like this? =IF(OR(F2="",ISBLANK(F2)),"",IF(OR(F2="Change",F2= "New")*(G2="Auto CU")*(Q2=1),150,IF(Q2=2,200,"no conditions fully met"))) -- Regards, Dave "Programming Cells" wrote: I'm trying to create a conditional formula like: =IF(OR(F2="Change",F2="New")*AND(G2="Auto CU")*AND(Q2=1),150,IF(Q2=2,200)) It works; however, if F2 is blank it still puts in the results either for Q2=1 or Q2=2 How can I solve this. If there is no entry in F2 then I would want a "Blank" result passed. Many thanks for any help. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Well, try explaining what you want in english and I'll give you a formula.
Be sure to include every condition.. e.g. where the formula is to be placed, what cells need to be checked for blanks, etc. It may help to give all possible input/output combinations so I can see what exactly you're trying to do. -- Regards, Dave "Programming Cells" wrote: No quite. I had this however, it still populates with the results of Q2 even if F2 and G2 are blank. I'm going nuts. "David Billigmeier" wrote: hmm, something like this? =IF(OR(F2="",ISBLANK(F2)),"",IF(OR(F2="Change",F2= "New")*(G2="Auto CU")*(Q2=1),150,IF(Q2=2,200,"no conditions fully met"))) -- Regards, Dave "Programming Cells" wrote: I'm trying to create a conditional formula like: =IF(OR(F2="Change",F2="New")*AND(G2="Auto CU")*AND(Q2=1),150,IF(Q2=2,200)) It works; however, if F2 is blank it still puts in the results either for Q2=1 or Q2=2 How can I solve this. If there is no entry in F2 then I would want a "Blank" result passed. Many thanks for any help. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sorry.
If F2 is blank then no calculations. If F2 contains "Change or New" then look at G2. If G2 contains "Auto CU" then look at Q2. If G2 contains anything else, even blank, then no calculation. If Q2 contains a 1 then 150 if Q2 contains a 2 then 200. "David Billigmeier" wrote: Well, try explaining what you want in english and I'll give you a formula. Be sure to include every condition.. e.g. where the formula is to be placed, what cells need to be checked for blanks, etc. It may help to give all possible input/output combinations so I can see what exactly you're trying to do. -- Regards, Dave "Programming Cells" wrote: No quite. I had this however, it still populates with the results of Q2 even if F2 and G2 are blank. I'm going nuts. "David Billigmeier" wrote: hmm, something like this? =IF(OR(F2="",ISBLANK(F2)),"",IF(OR(F2="Change",F2= "New")*(G2="Auto CU")*(Q2=1),150,IF(Q2=2,200,"no conditions fully met"))) -- Regards, Dave "Programming Cells" wrote: I'm trying to create a conditional formula like: =IF(OR(F2="Change",F2="New")*AND(G2="Auto CU")*AND(Q2=1),150,IF(Q2=2,200)) It works; however, if F2 is blank it still puts in the results either for Q2=1 or Q2=2 How can I solve this. If there is no entry in F2 then I would want a "Blank" result passed. Many thanks for any help. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Programming Cells" wrote in
message ... .... "David Billigmeier" wrote: Well, try explaining what you want in english and I'll give you a formula. Be sure to include every condition.. e.g. where the formula is to be placed, what cells need to be checked for blanks, etc. It may help to give all possible input/output combinations so I can see what exactly you're trying to do. Sorry. If F2 is blank then no calculations. If F2 contains "Change or New" then look at G2. If G2 contains "Auto CU" then look at Q2. If G2 contains anything else, even blank, then no calculation. If Q2 contains a 1 then 150 if Q2 contains a 2 then 200. =IF(AND(OR(F2="Change",F2="New"),G2="Auto CU"),IF(Q2=1,150,IF(Q2=2,200,"result undefined")),"") -- David Biddulph |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formatting Against a Formula - not it's result | Excel Discussion (Misc queries) | |||
Conditional Sum Formula? | Excel Discussion (Misc queries) | |||
need a conditional formula to generate numbers divisible by 4 between a given starting no. & end No. | Excel Worksheet Functions | |||
Conditional formatting...cont. from 9/25 | Excel Discussion (Misc queries) | |||
Formula Dependant Conditional Formatting | Excel Discussion (Misc queries) |