Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(AND(C2<C1,OR(D2={"O","B"})),1,IF(C2=C1,IF(D2= "B",2,IF(D2="S",3,IF(D2="X",4,"Error"))),"Erro r"))
"Jocko_MacDuff116" wrote: Im am trying to calculate the following. What is the best way to do it. if C2 < C1 (value of prev row same col) and if D2="O" or "B" then F2= 1 (numeric result) else if C2 = C1 (value of prev row same col) and if D2="B" then F2= 2 (numeric result) or if D2="S" then F2= 3 (numeric result) or if D2="X" then F2= 4 (numeric result) else "Error" How would I write the formula?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel SUM function - can it be limited to whats in parentheses? | Excel Discussion (Misc queries) | |||
Whats wrong with this OR formula? | Excel Worksheet Functions | |||
whats wrong with the formula? | Excel Worksheet Functions | |||
WHATS AN EASY FUNCTION TO USE TO ROUND TO THE NEAREST THOUSAND? | Excel Worksheet Functions | |||
Whats the function to count the total times a word is displayed | Excel Discussion (Misc queries) |