#1   Report Post  
toolman
 
Posts: n/a
Default logic test

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   Report Post  
tjtjjtjt
 
Posts: n/a
Default

If yes and no are the only possibilities for K2, put this in M2:
=IF(K2="yes",H2,J2)
If there are other possibilities, the formula will need to be modified -
post back, if necessary.

--
tj


"toolman" wrote:

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   Report Post  
toolman
 
Posts: n/a
Default

Thanks for your help!

"tjtjjtjt" wrote:

If yes and no are the only possibilities for K2, put this in M2:
=IF(K2="yes",H2,J2)
If there are other possibilities, the formula will need to be modified -
post back, if necessary.

--
tj


"toolman" wrote:

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Highest Score for each Test abqhusker Excel Worksheet Functions 4 October 8th 05 06:25 PM
hpw do I logic test a cell then copy the row to diff. SS Debi Excel Worksheet Functions 4 October 5th 05 09:42 PM
Logic Tree, MS help = useless roffler Excel Worksheet Functions 3 August 22nd 05 09:42 PM
Logic question ACDenver Excel Discussion (Misc queries) 1 August 16th 05 04:29 AM
Can wildcards be used in the Logic Test of an Excel "IF" function? Monte Excel Worksheet Functions 3 August 15th 05 01:25 PM


All times are GMT +1. The time now is 03:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"