Solved

Excel Formula- Formula that populates other fields,

Posted on 2011-03-10
4
206 Views
Last Modified: 2012-05-11
Hi-
I need an Excel formula that will separate the (-)negative symbol from a negative value in one cell e.g. -3, and put the symbol in a chosen cell and the number 3 in another. Also, If the number is positive have it do the same by putting a positive symbol in one cell and the number in another.

e.g.
A1= -3   Desired Result= B1= -,   C1=3
e.g.
A1= 7    Desired Result=B1= +,   C1=7

Any help greatly appreciated.

Thank you
Seperate-Neg-or-Pos-from-Value.xls
0
Comment
Question by:allenkent
  • 2
4 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 35098621
in B1:
=IF(ISERROR(FIND("-",A1)),"+","-")
in C1:
=ABS(A1)

And copy down.
Seperate-Neg-or-Pos-from-Value-u.xls
0
 
LVL 19

Expert Comment

by:MINDSUPERB
ID: 35098674
In B1  =IF(LEFT(A1,1)="-","-","+")
and

in C1 =IF(LEFT(A1,1)="-",RIGHT(A1,LEN(A1)-1),A1)

Sincerely,
Ed
0
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 35098720
Another way (I think it's the best):

in B1:
=IF(A1>=0,"+","-")

C1 the same:
=ABS(A1)
Seperate-Neg-or-Pos-from-Value-u.xls
0
 

Author Closing Comment

by:allenkent
ID: 35130729
Solution provided me with desired results. Thx.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now