POV-Ray : Newsgroups : povray.off-topic : Excel 2007 ?? : Re: Excel 2007 ?? Server Time
29 Jul 2024 06:26:04 EDT (-0400)
  Re: Excel 2007 ??  
From: Aydan
Date: 6 Mar 2012 09:40:00
Message: <web.4f5620a66c83198d3771cd8e0@news.povray.org>
"Shay" <nomail@nomail> wrote:
> I've got a spreadsheet here of employee schedules. Each column represents an
> employee, and each row a date. A typical column would look like:
>
> Name
> off
> off
> off
> ---start
> work
> work
> work
> work
> work
> ---end
> off
> off
> off
>
> Looking for a tip for the best way to change the start and end rows and have the
> rest update. I know there's a scripting language, but I'm looking for a solution
> that won't scare others away. The current copy-paste method being used is
> producing a lot of errors.

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.

Regards
Aydan


Post a reply to this message

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