Formula help

SSKT16

New Member
Joined
Sep 8, 2016
Messages
6
How do i write a formula for the following:

G4=g3-e4 or g3+f4

thank you for any and all help!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,426
Office Version
  1. 2019
You havent said under what circumstances G4

should = g3+f4 ?
Or g3-e4 for that matter.
 
Upvote 0

Gerald Higgins

Well-known Member
Joined
Mar 26, 2007
Messages
9,258
Well one way is to just input into cell G4 the following

=G3-E4

But your request is a bit vague - can you explain the "or" bit in more detail please ?
 
Upvote 0

SSKT16

New Member
Joined
Sep 8, 2016
Messages
6
Sorry, so column G is a "running total" Column E would be a debit and column F would be a credit - I need column G to either add column F or subtract column E to the previous balance.
 
Upvote 0

dazfoz

Board Regular
Joined
Dec 21, 2007
Messages
205
Would the following not work, assuming that you debit is a +ive and your credit is a -ive?

=G3+F3+E3
 
Upvote 0

Forum statistics

Threads
1,190,614
Messages
5,981,944
Members
439,745
Latest member
thepasmiths

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
Top