[Solved] Convert numbers to negative, red

Discuss the spreadsheet application
Locked
Oohappyuser
Posts: 27
Joined: Sat Jan 25, 2014 12:37 am
Location: Oz

[Solved] Convert numbers to negative, red

Post by Oohappyuser »

embarrassed to ask such a fundamental question, but how do I make a bunch of numbers negative and red.

Also, can I make a bunch of numbers pasted into a column go negative (and red) ?
Last edited by robleyd on Mon Feb 02, 2026 1:18 pm, edited 1 time in total.
Reason: Tag Solved; add green tick
OpenOffice 4.1.13 on Windows 10
User avatar
Zizi64
Volunteer
Posts: 11514
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: go negative

Post by Zizi64 »

Try the Paste Special feature. Use the "Multiply" option of the Operations part.

Type -1 into a helper cell, copy it onto the clipboard, and then select the desired cell range. Finally use the Paste Special feature with the option" Multiply". (the image was created in the LibreOffice):
MultiplyByPasteSpecial.jpg
MultiplyByPasteSpecial.jpg (89.06 KiB) Viewed 10451 times
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.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.
User avatar
robleyd
Moderator
Posts: 5536
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: go negative

Post by robleyd »

Are these numbers already negative? If so, formatting can show negative numbers coloured red. Just select the format you want and select the checkbox labeled Negative numbers red. You can get more information by searching the HELP [F1] for format codes;numbers.
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.17
LibreOffice 26.8.1.1; SlackBuild for 26.8.1 by Eric Hameleers
-----------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Oohappyuser
Posts: 27
Joined: Sat Jan 25, 2014 12:37 am
Location: Oz

Re: go negative. SOLVED

Post by Oohappyuser »

Thanks Tibor/Zizi64, and Happy New Year. I confess that I could not add the word [Solved] at the beginning of the subject line in my original post, possibly because I have gone over to a MAC computer.

Your use of "-1" is elegant and mathematical. I'd never seen the Paste Special feature but it is in LibreOffice which I use now that I use MAC.

I am surprised the make negative option is not in the Format Cells page (that I could find), and it is confusing that the Format field, after selecting the Category for Currency shows some in Format as "-$1234" and in red too, but that doesn't work for me.
OpenOffice 4.1.13 on Windows 10
User avatar
robleyd
Moderator
Posts: 5536
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: go negative

Post by robleyd »

I'd never seen the Paste Special feature but it is in LibreOffice
If you have changed your software please consider updating your signature as there are a number of differences between AOO and LO. In this case the option is available in both.

As you state you use LibreOffice you might find this page a useful resource on format codes.
make negative option is not in the Format Cells page
Formatting is only designed to change the display of a cell(s) not to actually change the content of the cell(s).
Category for Currency shows some in Format as "-$1234" and in red too, but that doesn't work for me
This is intended to display already existing negative values in red.
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.17
LibreOffice 26.8.1.1; SlackBuild for 26.8.1 by Eric Hameleers
-----------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Locked