[libreoffice-users] LO Calc - Only display results on active row?

2014-07-09 Thread Ian Whitfield

Hi All

I have several of Spreadsheets that work with monthly figures. They also 
have columns with calculations of these figures. (ie Totals, averages 
etc). At the moment I get a lot of 'DIV by Zero' results and the current 
total repeating BELOW the current month.


Is there a way to only show calculated results on active (ie current) 
month rows?? Maybe the equivalent of the old 'If - Then' Basic function. 
(If there is a figure 0 in column B then calculate column C.


Would be interested to know - thanks.

OpSys PClinuxOS, LO 4.1.3.2.

IanW
Pretoria RSA

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] LO Calc - Only display results on active row?

2014-07-09 Thread Brian Barker

At 11:11 09/07/2014 +0200, Ian Whitfield wrote:
I have several of Spreadsheets that work with monthly figures. They 
also have columns with calculations of these figures. (ie Totals, 
averages etc). At the moment I get a lot of 'DIV by Zero' results ...


Then you must have your formulae wrong.


... and the current total repeating BELOW the current month.


Er, one can only guess what you might be trying to do.

Is there a way to only show calculated results on active (ie 
current) month rows?? Maybe the equivalent of the old 'If - Then' 
Basic function. (If there is a figure 0 in column B then calculate column C.


Yes: there is the IF() function: is that a close enough equivalent? Just put
=IF(condition;expression-for-true;expression-for-false) .
Your expression for false may well be consecutive double-quote marks, 
representing the null string.


I trust this helps.

Brian Barker


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



[libreoffice-users] How to solve the build error?

2014-07-09 Thread Zhen Anddavid
Hi, All

I'm trying to build the LibreOffice 4.2.4.2 source.
But while building, I met the error.
The error follows as below.

libreoffice-4.2.4.2\embedserv\source\inc\stdafx.h(22) : fatal error C1083:
Cannot open include file: 'atlbase.h': No such file or directory
make[1]: ***
[D:/0-Office-Work/Source/libreoffice-4.2.4.2/workdir/CxxObject/embedserv/source/embed/docholder.o]
Error 2
make[1]: *** Waiting for unfinished jobs
make[1]: ***
[D:/0-Office-Work/Source/libreoffice-4.2.4.2/workdir/CxxObject/embedserv/source/embed/ed_idataobj.o]
Error 2
make: *** [build] Error 2


There is atlbase.h file in C:\Program Files\Microsoft Visual Studio
10.0\VC\atlmfc\include on my computer.
My build environment follows as below.
Windows 7 SP1 (32bit), Visual Studio 2010 Ultimate SP1, cygwin

I used following instructions to build it.
mkdir -p /opt/lo/bin/make
cd $(SRC_ROOT)\Tools\dev-tools\make-3.82-gbuild
./configure
make
cp ./make.exe /bin/
cp ./make.exe /usr/bin/
cp ./make.exe /usr/local/bin/make.exe
cp ./make.exe /opt/lo/bin/make.exe
cd $(SRC_ROOT)
chmod 755 * -R
./autogen.sh
--with-ant-home=/cygdrive/d/0-Office-Work/Tools/apache-ant-1.9.4/
--without-junit --disable-activex --disable-directx --enable-dbgutil
--without-help --without-myspell-dicts --without-doxygen
time make

Please help me. Thanks.

Regards.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] How to solve the build error?

2014-07-09 Thread Regina Henschel

Hi Zhen,

I think, this list is inappropriate. You should try it on the developer 
list or chat, see part if you need help getting started,.. on 
https://wiki.documentfoundation.org/Development.


Kind regards
Regina

Zhen Anddavid schrieb:

Hi, All

I'm trying to build the LibreOffice 4.2.4.2 source.
But while building, I met the error.
The error follows as below.

libreoffice-4.2.4.2\embedserv\source\inc\stdafx.h(22) : fatal error C1083:
Cannot open include file: 'atlbase.h': No such file or directory
make[1]: ***
[D:/0-Office-Work/Source/libreoffice-4.2.4.2/workdir/CxxObject/embedserv/source/embed/docholder.o]
Error 2
make[1]: *** Waiting for unfinished jobs
make[1]: ***
[D:/0-Office-Work/Source/libreoffice-4.2.4.2/workdir/CxxObject/embedserv/source/embed/ed_idataobj.o]
Error 2
make: *** [build] Error 2


There is atlbase.h file in C:\Program Files\Microsoft Visual Studio
10.0\VC\atlmfc\include on my computer.
My build environment follows as below.
Windows 7 SP1 (32bit), Visual Studio 2010 Ultimate SP1, cygwin

I used following instructions to build it.
 mkdir -p /opt/lo/bin/make
 cd $(SRC_ROOT)\Tools\dev-tools\make-3.82-gbuild
 ./configure
 make
 cp ./make.exe /bin/
 cp ./make.exe /usr/bin/
 cp ./make.exe /usr/local/bin/make.exe
 cp ./make.exe /opt/lo/bin/make.exe
 cd $(SRC_ROOT)
 chmod 755 * -R
 ./autogen.sh
--with-ant-home=/cygdrive/d/0-Office-Work/Tools/apache-ant-1.9.4/
--without-junit --disable-activex --disable-directx --enable-dbgutil
--without-help --without-myspell-dicts --without-doxygen
 time make

Please help me. Thanks.

Regards.




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] LO Calc - Only display results on active row?

2014-07-09 Thread Ian Whitfield


On 07/09/2014 11:28 AM, Brian Barker wrote:
Yes: there is the IF() function: is that a close enough equivalent? 
Just put

=IF(condition;expression-for-true;expression-for-false) .
Your expression for false may well be consecutive double-quote marks, 
representing the null string.


Thanks Brian

I have managed to get rid of the 'DIV 0' problem but still have a 
problem with a decreasing total.


My DEC TOTAL formula is 'Current Cell minus the Cell above' and this 
echos the last result down the whole Spreadsheet. Is there a way round 
this as well?'


IanW
Pretoria RSA


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] LO Calc - Only display results on active row?

2014-07-09 Thread Brian Barker

At 12:06 09/07/2014 +0200, Ian Whitfield wrote:

On 07/09/2014 11:28 AM, Brian Barker wrote:

Yes: there is the IF() function: is that a close enough equivalent? Just put
=IF(condition;expression-for-true;expression-for-false) .
Your expression for false may well be consecutive double-quote 
marks, representing the null string.


I have managed to get rid of the 'DIV 0' problem but still have a 
problem with a decreasing total.


My DEC TOTAL formula is 'Current Cell minus the Cell above' and this 
echoes the last result down the whole Spreadsheet. Is there a way 
round this as well?'


Yes - but you don't say what the controlling factor might be. There 
must be some aspect of the list that indicates the point at which you 
want the totals to stop. Instead of using

=X100-X99
you need something like
=IF(condition;X100-X99;)
with condition being something like A1000 or A100 - referring 
to whichever column shows how far you want your values to be calculated.


Brian Barker 



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] LO Calc - Only display results on active row? [SOLVED]

2014-07-09 Thread Ian Whitfield


On 07/09/2014 12:23 PM, Brian Barker wrote:


Yes - but you don't say what the controlling factor might be. There 
must be some aspect of the list that indicates the point at which you 
want the totals to stop. Instead of using

=X100-X99
you need something like
=IF(condition;X100-X99;)
with condition being something like A1000 or A100 - referring 
to whichever column shows how far you want your values to be calculated.


Thanks a lot Brian - that did it!!!

My formula is now 'IF(First column cell0,subtract the two cells,)'

And that has fixed it 100% - I appreciate the help!!

IanW
Pretoria RSA



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted