Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello all,
How can I use the content of a cell as rule in a formula? Exammple: A2 has a A3 has b a4 has c etc, etc. Content of B1 is (as text): ="a" I want to have a formula in b2 where the content of B2 is used to compare if A2 is ="a" (the content of B2) So something like: =IF(A2 & B1 & ;1;2) it will have the same effect as =IF(A2="a";1;2) where the comparision with "a" is hardcoded. Thanks in advance for any hint or help! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
R0nald wrote:
How can I use the content of a cell as rule in a formula? Exammple: A2 has a A3 has b a4 has c etc, etc. Content of B1 is (as text): ="a" I want to have a formula in b2 where the content of B2 is used to compare if A2 is ="a" (the content of B2) So something like: =IF(A2 & B1 & ;1;2) it will have the same effect as =IF(A2="a";1;2) where the comparision with "a" is hardcoded. So, something like this? =IF(A2=B2,1,2) -- Sometimes you wake up. Sometimes the fall kills you. And sometimes, when you fall, you fly. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can a formula be "built" referencing text content from another cel | Excel Worksheet Functions | |||
Finding content of cell in visible "protected" sheets | Excel Programming | |||
Splitting out Content in 1 cell (which is currently separated by"ALT-ENTER") into multiple cells | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Combining formulas, "and" & "or" to verify content of multiple cel | Excel Discussion (Misc queries) |