Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
What formula would I use to say: [M2] = [H2] if [K2=yes], [M2] = [J2] if
[K2=no], when cells [M2], [H2], and [J2] are dollar amounts, and [K2] is actually the word "yes" or "no"? |
#2
![]() |
|||
|
|||
![]()
What if K2 is neither yes or no? If K2 is always either yes or no you only
need one test =IF(K2="yes",H2,J2) if K2 can be blank =IF(K2="","",IF(K2="yes",H2,J2)) -- Regards, Peo Sjoblom (No private emails please) "toolman" wrote in message ... What formula would I use to say: [M2] = [H2] if [K2=yes], [M2] = [J2] if [K2=no], when cells [M2], [H2], and [J2] are dollar amounts, and [K2] is actually the word "yes" or "no"? |
#3
![]() |
|||
|
|||
![]()
Thanks so much! This was driving me cazy!
"Peo Sjoblom" wrote: What if K2 is neither yes or no? If K2 is always either yes or no you only need one test =IF(K2="yes",H2,J2) if K2 can be blank =IF(K2="","",IF(K2="yes",H2,J2)) -- Regards, Peo Sjoblom (No private emails please) "toolman" wrote in message ... What formula would I use to say: [M2] = [H2] if [K2=yes], [M2] = [J2] if [K2=no], when cells [M2], [H2], and [J2] are dollar amounts, and [K2] is actually the word "yes" or "no"? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
logic test | Excel Discussion (Misc queries) | |||
logic test | New Users to Excel | |||
hpw do I logic test a cell then copy the row to diff. SS | Excel Worksheet Functions | |||
Logic question | Excel Discussion (Misc queries) | |||
Can wildcards be used in the Logic Test of an Excel "IF" function? | Excel Worksheet Functions |