Make value negative based off of another cell's value

PackPariah

New Member
Joined
Aug 9, 2017
Messages
1
Hello all,

This is my first post on this site but with the personal project I am doing it will probably not be the last.

Background on project:

Trying to create a personal finance tracker that will work across multiple devices (i.e home computer, wife and I's cellphones, etc.) and is very intuitive. Currently I am working on making a data entry page that dumps all data into another sheet that will represent checking account and will be pivoted so allow for sorting etc..

Right now I have a sheet that has two entries, spending type (drop down list with withdraw or deposit) and total amount. What I am trying to achieve is a simple way to insert a value that will be dumped in with the rest of the data on another sheet which data calculations (such as total) will be derived from later on.

One road block I have hit is trying to get the value entered into the "total amount" cell to be negative or positive depending on what is selected in the "spending type" cell.

Does anybody know the best way to accomplish this?

I have tried multiple "if" statements with no success.

Thank you in advance
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Dear PackParish

Welcome to the board

You cannot have both the input cell & the if statement in the same cell

i suggest you use a helper column for data entry

Input CellSpending TypeTotal Amount
1,000Withdrawal =IF(Spending type="Withdrawal",-Input Cell ,Input Cell)

<tbody>
</tbody>






Let me know if it helps.
 
Upvote 0

Forum statistics

Threads
1,215,136
Messages
6,123,249
Members
449,093
Latest member
Vincent Khandagale

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top