Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
Hi,
I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
a formula
=LOOKUP(B1,{"a","b","c","d"},{4,3,2,1})*B4 -- Don Guillett SalesAid Software "MichelleD" wrote in message ... Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
What does your question have to do with the subject line: conditional
formatting? Try this: =IF(OR(B1={"A","B","C","D"}),B4*MATCH(B1,{"D","C", "B","A"},0),"") Biff Microsoft Excel MVP "MichelleD" wrote in message ... Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
Conditional formatting does not change the underlying value. If you want the
result in some other cell than those you listed, you could use a nested IF, like =IF(B1="D",B4*1,IF(B1="C",B4*2,IF(B1="B",B4*3,IF(B 1="A",B4*4)))) For a larger list, you might prefer to use a VLOOKUP() table. Note that you have not specified an action if none of the conditions are true. Jerry "MichelleD" wrote: Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
Hope this helps!
=IF(B1="D",B4*1,IF(B1="C",B4*2,IF(B1="B",B4*3,IF(B 1="A",B4*4,0)))) "MichelleD" wrote: Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
T. Valko, that was genius!
"T. Valko" wrote: What does your question have to do with the subject line: conditional formatting? Try this: =IF(OR(B1={"A","B","C","D"}),B4*MATCH(B1,{"D","C", "B","A"},0),"") Biff Microsoft Excel MVP "MichelleD" wrote in message ... Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
I appologize for my misuse of terminology. I'm obviously not an excell
expert.... Your help is appreciated. "T. Valko" wrote: What does your question have to do with the subject line: conditional formatting? Try this: =IF(OR(B1={"A","B","C","D"}),B4*MATCH(B1,{"D","C", "B","A"},0),"") Biff Microsoft Excel MVP "MichelleD" wrote in message ... Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
Thanks for everyone's help! I really appreciate it! Michelle and to the poster (Jerry) that asked about when none of the conditions are true..in this case it woulsd always be a, b, c or d. Thanks again! "MichelleD" wrote: Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
#10
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting
Try this:
=(69-CODE(UPPER(B1)))*B4 "MichelleD" wrote: Hi, I am trying to create a formula that does the following... if b1 is D, then multiply b4 x 1 if b1 is C, then multiply b4 x 2 if b1 is B, then multiple b4 x 3 if b1 is A, then multiply b4 X 4 Can anyone help me creat this formula?? Thanks, Michelle |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
Conditional formatting | Excel Discussion (Misc queries) | |||
Conditional Formatting that will display conditional data | Excel Worksheet Functions | |||
I need help on conditional formatting. | Excel Discussion (Misc queries) |