Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Roccobarocco
 
Posts: n/a
Default formula correction

Can anyone correct the following formula:

=IF(J20="w",a!BT20,IF(J20="l",a!BT20,IF(J20="x",0, IF(J20="",a!BT20,0,if(K20="X",0))))

,or suggest an alternative?
  #2   Report Post  
tjtjjtjt
 
Posts: n/a
Default

I'm not quite sure exactly what you want. Could you describe exactly what you
would like to see happen, including which logical tests should take
precedence?
Or, you may want to look in the Help Files at the OR and AND Functions.

tj

"Roccobarocco" wrote:

Can anyone correct the following formula:

=IF(J20="w",a!BT20,IF(J20="l",a!BT20,IF(J20="x",0, IF(J20="",a!BT20,0,if(K20="X",0))))

,or suggest an alternative?

  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=IF(J20="x","",IF(OR(J20="w",J20="l",J20=""),a!BT2 0,IF(K20="X",0,"")))


Arvi Laanemets


"Roccobarocco" wrote in message
...
Can anyone correct the following formula:


=IF(J20="w",a!BT20,IF(J20="l",a!BT20,IF(J20="x",0, IF(J20="",a!BT20,0,if(K20=
"X",0))))

,or suggest an alternative?



  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 5 Dec 2004 12:59:05 -0800, Roccobarocco
wrote:

Can anyone correct the following formula:

=IF(J20="w",a!BT20,IF(J20="l",a!BT20,IF(J20="x",0 ,IF(J20="",a!BT20,0,if(K20="X",0))))

,or suggest an alternative?


Perhaps:

=IF(J20="w",a!BT20,
IF(J20="l",a!BT20,
IF(J20="x",0,
IF(J20="",a!BT20,
IF(K20="X",0)))))

or (simpler):

=IF(OR(J20={"w","l",""}),a!BT20,IF(J20="x",0,IF(K2 0="X",0)))

Note that there are a number of things that J20 might contain that are
undefined, in which case the formula will return FALSE.



--ron
  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 05 Dec 2004 17:01:29 -0500, Ron Rosenfeld
wrote:

Note that there are a number of things that J20 might contain that are
undefined, in which case the formula will return FALSE.


That should read "... J20 and K20 might contain ..."


--ron
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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 10:08 PM.

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

About Us

"It's about Microsoft Excel"