INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Remember Me

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Just copy and paste the

# Formula for five columns on a spreadsheet2

Share

## Formula for five columns on a spreadsheet

(OP)

Hi Guys

I am fairly good at the basics using Excel 2007 but not a clue with what I'm trying to achieve.

I want to create a spreadsheet with 6 columns:

Date (that's easy!)
In CASH
In CHEQUE
Out CASH
Out CHEQUE
Total

I understand how to format the columns (e.g. date / numeric etc)

Straight forward addition and subtraction formulas are ok but here is the scenario.

Someone will type in an amount for "In CASH" and an amount for "Out CHEQUE" for example. I then need the TOTAL column to do the necessary. So regardless of whether one or all columns are used I just need the total to show in the TOTAL column.

I hope that makes sense guys and some guidance would be appreciated.

Thank you

### RE: Formula for five columns on a spreadsheet

hi,

Excel 2007+ has a really neat new feature, called Structured Tables.

If you look up Structured Tables in Excel HELP, a new vista will be opened to you.

Your Calculated Total column will AUTOMATICALLY propagate to the next row as new rows of data are entered, along with any other formula in your table.

I use Structured Tables regularly and with alacrity and I earnestly recommend this feature to you.

Skip,

Just traded in my old subtlety...
for a NUANCE!

### RE: Formula for five columns on a spreadsheet

There must be more to your question than shown ...

If not, assuming the columns look like

A           B             C               D            E                F
DATE  In CASH  In CHEQUE  Out CASH  Out CHEQUE  TOTAL
1 02/28/12   10.00       15.00        5.00        8.00            12.00

then the formula under F would be:

=B1+C1-D1-E1

what am I missing?

HTH,
Bob

### RE: Formula for five columns on a spreadsheet

Well Skip, I'll give you a star for the elucidative post PLUS the use of "alacrity"!!!

sam

### RE: Formula for five columns on a spreadsheet

(OP)

That's exactly what I was trying to achieve. Am I missing something here? Was it really that simple?

HUGE star for you and thanks to the rest of you for posting so quick.

### RE: Formula for five columns on a spreadsheet

Thanks, sam U R. Hmmmmmm. Kinda falls flat!

Skip,

Just traded in my old subtlety...
for a NUANCE!

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Close Box

# Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!