## Formula for five columns on a spreadsheet

## 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

http://www.cpearson.com/excel/pivots.htm

sam

## 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

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

sam

## RE: Formula for five columns on a spreadsheet

Well Bob, that's madness!!

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!}