Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula for five columns on a spreadsheet 2

Status
Not open for further replies.

keepingbusy

Programmer
Apr 9, 2000
1,470
GB

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
 


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,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
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 [morning]
 
Well Skip, I'll give you a star for the elucidative post PLUS the use of "alacrity"!!!

sam
 

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.

 


Thanks, sam U R. Hmmmmmm. Kinda falls flat! ;-)

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top