Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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)) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=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 |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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? |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=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 |
#10
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Row() Question | Excel Discussion (Misc queries) | |||
Newbie Question - Subtraction Formula Question | Excel Discussion (Misc queries) | |||
I have a question | Setting up and Configuration of Excel | |||
< or question | Excel Worksheet Functions | |||
The question is an excel question that I need to figure out howto do in excel. | Excel Worksheet Functions |