- sign help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how do i create a formula that copy the cell from above inserting a minus
sign before the number? Thanks for your help
 
Is the "cell above" a number or a text string? Assume you are entering these
in A2:

If it is a number: =-A1
If it is a text string: ="-"&A1
 
If the cell above is A1, then =CONCATENATE("'-",A1)

Note the text within the parentheses starts with a double quote mark, then
an apostrophe, then a hyphen, then a double quote mark. No spaces.

Dave
 
Dave - Why would you put an apostrophe within the quotations? This does not
work the same as entering a numerical value with a preceding apostrophe to
force it to a string.

Doing it your way you will actually see the apostrophe in the cell, not what
the subject wanted. Your formula should just be:

=CONCATENATE("-",A1)

(i.e. no apostrophe)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top