Need help setting up a >< IF formula in Excel,
This is what I think the formula should read:
=IF(K18<SUM(k87+110)SUM(K87+90),SUM(K18+800),"") Excel doesn't agree. I'm trying to say that K18 is an entry cell and if that value falls between K98+100 (+/-10) that the result will add 800 to K18. If it falls outside of the +/- range, then the value will return blank. Help please! |
The SUM is superfluous, + makes it add
=IF(AND(K18<K87+110,K18K87+90),K18+800,"") -- HTH Bob Phillips "Gary Brown" wrote in message ... =IF(AND(K18<SUM(k87+110),K18SUM(K87+90)),SUM(K18+ 800),"") hth, -- Gary Brown "Sheryl" wrote: This is what I think the formula should read: =IF(K18<SUM(k87+110)SUM(K87+90),SUM(K18+800),"") Excel doesn't agree. I'm trying to say that K18 is an entry cell and if that value falls between K98+100 (+/-10) that the result will add 800 to K18. If it falls outside of the +/- range, then the value will return blank. Help please! |
Maybe just another option...
=IF(ABS(K18-K87-100)<10,K18+800,"") HTH -- Dana DeLouis Win XP & Office 2003 "Gary Brown" wrote in message ... =IF(AND(K18<SUM(k87+110),K18SUM(K87+90)),SUM(K18+ 800),"") hth, -- Gary Brown "Sheryl" wrote: This is what I think the formula should read: =IF(K18<SUM(k87+110)SUM(K87+90),SUM(K18+800),"") Excel doesn't agree. I'm trying to say that K18 is an entry cell and if that value falls between K98+100 (+/-10) that the result will add 800 to K18. If it falls outside of the +/- range, then the value will return blank. Help please! |
All times are GMT +1. The time now is 09:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com