ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   want to equal a cell number in a different cell with a negative si (https://www.excelbanter.com/excel-worksheet-functions/207229-want-equal-cell-number-different-cell-negative-si.html)

gma

want to equal a cell number in a different cell with a negative si
 
Problem:
Say I have a number in cell C1 and I want that number in cell D1 but with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone help
me with this?

Stefi

want to equal a cell number in a different cell with a negative si
 
Enter in D1
=-C1

Regards,
Stefi

€˛gma€¯ ezt Ć*rta:

Problem:
Say I have a number in cell C1 and I want that number in cell D1 but with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone help
me with this?


Mike H

want to equal a cell number in a different cell with a negative si
 
Try this

=-C1

Mike

"gma" wrote:

Problem:
Say I have a number in cell C1 and I want that number in cell D1 but with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone help
me with this?


John C[_2_]

want to equal a cell number in a different cell with a negative si
 
in cell D1
=C1*-1
--
John C


"gma" wrote:

Problem:
Say I have a number in cell C1 and I want that number in cell D1 but with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone help
me with this?


panther42

want to equal a cell number in a different cell with a negative si
 
I know this is a really bad work around, but how about :

(In D1) = (C1-C1-C1)

Kev

"gma" wrote:

Problem:
Say I have a number in cell C1 and I want that number in cell D1 but with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone help
me with this?


gma

want to equal a cell number in a different cell with a negativ
 
hey stefi
thanks...that worked, now how do i get rid of the "#value!" thats shows in
cell D1 if cell C1 has no value?

"Stefi" wrote:

Enter in D1
=-C1

Regards,
Stefi

€˛gma€¯ ezt Ć*rta:

Problem:
Say I have a number in cell C1 and I want that number in cell D1 but with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone help
me with this?


David Biddulph[_2_]

want to equal a cell number in a different cell with a negativ
 
=IF(C1="","",-C1)
The above will work if by "no value" you mean an empty text string, but if
you have other text you may have problems.
You could use =IF(ISNUMBER(C1),-C1,"") or
=IF(C1="","",IF(ISNUMBER(C1),-C1,"invalid input"))
--
David Biddulph

"gma" wrote in message
...
hey stefi
thanks...that worked, now how do i get rid of the "#value!" thats shows in
cell D1 if cell C1 has no value?

"Stefi" wrote:

Enter in D1
=-C1

Regards,
Stefi

"gma" ezt ķrta:

Problem:
Say I have a number in cell C1 and I want that number in cell D1 but
with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone
help
me with this?




vezerid

want to equal a cell number in a different cell with a negativ
 
The following formula will display 0 if C1 is blank:

=-N(C1)

If you want to leave the cell blank then you should use the more
complex:

=IF(C1<"",-C1,"")

HTH
Kostis Vezerides

On Oct 21, 6:46*pm, gma wrote:
hey stefi
thanks...that worked, now how do i get rid of the "#value!" thats shows in
cell D1 if cell C1 has no value?

"Stefi" wrote:
Enter in D1
=-C1


Regards,
Stefi


„gma” ezt ķrta:


Problem:
Say I have a number in cell C1 and I want that number in cell D1 but with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone help
me with this?



gma

want to equal a cell number in a different cell with a negativ
 
David
Thanks a bunch...that worked.

"David Biddulph" wrote:

=IF(C1="","",-C1)
The above will work if by "no value" you mean an empty text string, but if
you have other text you may have problems.
You could use =IF(ISNUMBER(C1),-C1,"") or
=IF(C1="","",IF(ISNUMBER(C1),-C1,"invalid input"))
--
David Biddulph

"gma" wrote in message
...
hey stefi
thanks...that worked, now how do i get rid of the "#value!" thats shows in
cell D1 if cell C1 has no value?

"Stefi" wrote:

Enter in D1
=-C1

Regards,
Stefi

"gma" ezt Ć*rta:

Problem:
Say I have a number in cell C1 and I want that number in cell D1 but
with a
- sign in front of it exp: 20% in cell C1 in D1 I want -20%. CAn anyone
help
me with this?






All times are GMT +1. The time now is 07:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com