[Solved] Referencing Sheets

Discuss the spreadsheet application
Post Reply
hwgill
Posts: 4
Joined: Tue Oct 02, 2018 7:35 pm

[Solved] Referencing Sheets

Post by hwgill »

I'm trying to reference a cell in a different sheet, but the same file, and it gives me an Invalid Value error if I click out of the cell, or click the green check. OO crashes if I attempt to switch sheets.

The value I'm trying to get is a summed value, to be placed on a summary page. According to the help file, it should be entered as =pagename.cell
I've tried it that way, and with parentheses and single quotes, but always get the same error.

The document is a Cash Flow Projection for the bank, so I need it working fast!

Help!
Last edited by robleyd on Thu Oct 04, 2018 1:40 pm, edited 1 time in total.
Reason: Tagged [Solved] [robleyd, Moderator]
OpenOffice 4.1.3 on Windows 10
User avatar
Zizi64
Volunteer
Posts: 11481
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Referencing Sheets

Post by Zizi64 »

A simple example:

Code: Select all

=$Sheet1.A1
A tip:
Do not use special characters and spaces in the name of the sheets.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
FJCC
Moderator
Posts: 9549
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Referencing Sheets

Post by FJCC »

As an example, the attached file has in cell A1 of Sheet1 a reference to cell A9 of Sheet2.
Attachments
SheetRef.ods
(7.79 KiB) Downloaded 103 times
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
hwgill
Posts: 4
Joined: Tue Oct 02, 2018 7:35 pm

Re: Referencing Sheets

Post by hwgill »

I've attached the file I'm working with. The suggestion of using a $ sign made no difference. Invalid Value is the error that shows up still
Attachments
Cash Flow projection Sep 2018 revised version 2A.ods
(25.83 KiB) Downloaded 91 times
OpenOffice 4.1.3 on Windows 10
FJCC
Moderator
Posts: 9549
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Referencing Sheets

Post by FJCC »

I see references to other sheets on the sheet Cash_Flow in cells B44, I35:X35 and X24. None of them are showing an error and a spot check of the displayed values shows that they are correct. Are all of those cells showing you an error or just a particular one?

By the way, there is no need to use the SUM function in row 35. You can just use formulas like

Code: Select all

=HardCosts.H77
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
hwgill
Posts: 4
Joined: Tue Oct 02, 2018 7:35 pm

Re: Referencing Sheets

Post by hwgill »

FJCC wrote:I see references to other sheets on the sheet Cash_Flow in cells B44, I35:X35 and X24. None of them are showing an error and a spot check of the displayed values shows that they are correct. Are all of those cells showing you an error or just a particular one?

By the way, there is no need to use the SUM function in row 35. You can just use formulas like

Code: Select all

=HardCosts.H77
B44 was a test. I35:x35 works fine. It's the ones from rows 19-27 that generate the Invalid Value error when leaving the cell, and crash OO when attempting to switch to another sheet with a Bad Allocation fatal error when two spreadsheet files are open, and a Vector <T> too long fatal error if only the one spreadsheet is open.
OpenOffice 4.1.3 on Windows 10
FJCC
Moderator
Posts: 9549
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Referencing Sheets

Post by FJCC »

Your formulas are correct, so I would try two things.
1. Copy the content of your file over to a new file and see if the problem continues.
2. Reset your user profile. To do that, shutdown OpenOffice. Open any folder and enter %appdata%\openoffice\4 in the address bar near the top. That will take you to a folder containing a folder named user. Rename that folder to user_old. Restart OpenOffice and you should get the registration screen. Is the file stable now?
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
Zizi64
Volunteer
Posts: 11481
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Referencing Sheets

Post by Zizi64 »

It's the ones from rows 19-27 that generate the Invalid Value error when leaving the cell
The reason of this behavior is that
- the cells have Data Validity setting: "Decimal",
- and the Auto Input feature wants fill the cell with date like TEXTS (based on a cell content above)
when I type in only one number into these cells.

Possible solutions (workarounds):
- Switch OFF the Auto Input feature,
- or switch OFF the Data Validity feature,
- or try to use numeric Date values on the Date rows.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
hwgill
Posts: 4
Joined: Tue Oct 02, 2018 7:35 pm

Re: Referencing Sheets

Post by hwgill »

Zizi64 wrote:
It's the ones from rows 19-27 that generate the Invalid Value error when leaving the cell
The reason of this behavior is that
- the cells have Data Validity setting: "Decimal",
- and the Auto Input feature wants fill the cell with date like TEXTS (based on a cell content above)
when I type in only one number into these cells.

Possible solutions (workarounds):
- Switch OFF the Auto Input feature,
- or switch OFF the Data Validity feature,
- or try to use numeric Date values on the Date rows.
Thank you. Data Validity means that I can't put a formula in, and that's why it was choking on me. I changed the Data Validity to All and now it works fine.
Why the accountant did that...makes no sense, because when it's set like that you constantly have to switch sheets to update your data. Forget one time and it's messed up.

Again, thank you for figuring that out.
OpenOffice 4.1.3 on Windows 10
miasma.gajs
Posts: 28
Joined: Thu Sep 18, 2014 1:18 pm

Re: Referencing Sheets

Post by miasma.gajs »

Apache OpenOffice 4.1.13
MS Windows 7 Pro x64 SP1
Post Reply