Solved

Excel Formula- Formula that populates other fields,

Posted on 2011-03-10
4
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

730 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