![]() |
=IF(OR question
Hi,
Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks -- Traa Dy Liooar Jock |
=IF(OR question
On Aug 28, 10:22 am, Jock wrote:
Hi, Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks -- Traa Dy Liooar Jock =IF(OR(B6=0,B7=0),"",IF(B6<B7,"",B6-B7)) |
=IF(OR question
Done it; I found Noob Jedi's post below!
-- Traa Dy Liooar Jock "Jock" wrote: Hi, Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks -- Traa Dy Liooar Jock |
=IF(OR question
=IF(OR(B6=0,B7=0,B6<B7),"",B6-B7)
however do you want zero if B6=B7, if not change the formula to =IF(OR(B6=0,B7=0,B6<=B7),"",B6-B7) -- Regards, Peo Sjoblom "Jock" wrote in message ... Hi, Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks -- Traa Dy Liooar Jock |
=IF(OR question
How about: =IF(OR(B6=0,B7=0),"",IF(B6<B7,"",B6-B7))
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Jock" wrote: Hi, Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks -- Traa Dy Liooar Jock |
=IF(OR question
One way:
=IF(OR(B6=0,B7=0, B6<B7),"",B6-B7) In article , Jock wrote: Hi, Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks |
=IF(OR question
Thanks to all. To take it one more step; if there was a range of cells (ie
B6:B18), rather than the two (B6 & B7) that need to be any value other than 0, how would the formula be modified? -- Traa Dy Liooar Jock "Jock" wrote: Hi, Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks -- Traa Dy Liooar Jock |
=IF(OR question
Hard to modify your formula: what would would you be subtracting from
what in that case? Perhaps you can modify: =IF(COUNTIF(B6:B18,0)=0,<some formula,"") In article , Jock wrote: Thanks to all. To take it one more step; if there was a range of cells (ie B6:B18), rather than the two (B6 & B7) that need to be any value other than 0, how would the formula be modified? |
=IF(OR question
=IF(COUNTIF(B6:B18,0)0,"", and so on
depending on what you want, the above test if any of those cells are zero -- Regards, Peo Sjoblom "Jock" wrote in message ... Thanks to all. To take it one more step; if there was a range of cells (ie B6:B18), rather than the two (B6 & B7) that need to be any value other than 0, how would the formula be modified? -- Traa Dy Liooar Jock "Jock" wrote: Hi, Having a problem here. Essentially: In cell B9 =IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7) Can someone sort this one out for me? Thanks -- Traa Dy Liooar Jock |
=IF(OR question
Hi JE,
it was only hypothetical. I was curious to see if it was possible to use a range of cells with the OR function because putting OR(B6=0,B7=0,B8=0,B9=0) etc is a bit messy. -- Traa Dy Liooar Jock "JE McGimpsey" wrote: Hard to modify your formula: what would would you be subtracting from what in that case? Perhaps you can modify: =IF(COUNTIF(B6:B18,0)=0,<some formula,"") In article , Jock wrote: Thanks to all. To take it one more step; if there was a range of cells (ie B6:B18), rather than the two (B6 & B7) that need to be any value other than 0, how would the formula be modified? |
All times are GMT +1. The time now is 06:49 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com