Solved

Excel Formula- Formula that populates other fields,

Posted on 2011-03-10
4
205 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
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.

760 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

17 Experts available now in Live!

Get 1:1 Help Now