#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 151
Default Formula


=IF(W32=1,IF(T32-U32=0,"pb",IF(AND(T32-U32=-100,T32-U32<=50),"immaterial","")),V32)

what I need is t-u or u-t is <=50 and = -100 should be
immaterial and t-u or u-t is 50 or < -100 is left blank
--

--
Libby
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Formula

try:

=IF(W32=1,IF(T32-U32=0,"pb",IF(OR(AND(T32-U32=-100,T32-U32<=50),AND(U32-T32=-100,U32-T32<=50)),"immaterial","")),V32)


HTH

"Libby" wrote:


=IF(W32=1,IF(T32-U32=0,"pb",IF(AND(T32-U32=-100,T32-U32<=50),"immaterial","")),V32)

what I need is t-u or u-t is <=50 and = -100 should be
immaterial and t-u or u-t is 50 or < -100 is left blank
--

--
Libby

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Formula

I propose the following formula:

=IF(W32=1, IF(OR(AND(T32-U32<=50, T32-U32=-100),
AND(U32-T32<=50,U32-T32=-100)), "Immaterial", ""), V32)
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 151
Default Formula

Thx that's it.
--
Libby


"Stephane Quenson" wrote:

I propose the following formula:

=IF(W32=1, IF(OR(AND(T32-U32<=50, T32-U32=-100),
AND(U32-T32<=50,U32-T32=-100)), "Immaterial", ""), V32)

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Formula

The mid point of -100 and 50 is -25 and the range is +- 75 so I think that
this may do it:

=IF(W32<1,V32, IF(T32=U32,"pb",IF(ABS(ABS(T32-U32)-25)<=75, "Immaterial",
"")))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Libby" wrote in message
...

=IF(W32=1,IF(T32-U32=0,"pb",IF(AND(T32-U32=-100,T32-U32<=50),"immaterial","")),V32)

what I need is t-u or u-t is <=50 and = -100 should be
immaterial and t-u or u-t is 50 or < -100 is left blank
--

--
Libby



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



All times are GMT +1. The time now is 03:40 AM.

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"