POV-Ray : Newsgroups : povray.off-topic : Excel 2007 ?? : Re: Excel 2007 ?? Server Time
29 Jul 2024 06:19:53 EDT (-0400)
  Re: Excel 2007 ??  
From: bart
Date: 6 Mar 2012 13:57:34
Message: <4f565e1e@news.povray.org>
>You can do something like that:
 >
 >=If(OR(C4="";C4="end");"off";IF(OR(C4="start";C4="work");"work";"off"))
 >Put that in cell C5 (that's where I started) and copy it wherever you 
 >need it
 >
 >It will fill out all cells with "off" if the cell above is anything 
 >but "start"
 >or "work", and anything after "end" is "off" again.
 >

Similar effect would be with this formula in the cell C5:
   =if((C4<>"---start")*(C4<>"work");"off";"work")
or, if the list separator is not";" but "," :
   =if((C4<>"---start")*(C4<>"work"),"off","work")


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.