LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 153
Default my first excel experience (share portfolio)

so far the layout as follows:-
a6 buy/sell, input b6 amount buy,input
c6 amount sell,input ...

in c6 then i imagine the formula should go something like
=if(a6="sell",(b6-c6), but that does not work for some
reason.


I'd suggest starting with these headings for columns A, B, C.
A1: buy/sell
B1: transaction shares
C1: cumulative shares

Then in C2 put
=IF(A2="buy",B2,"error")
because the first transaction has to be a purchase.

Then in C3 put
=IF(A3="buy",C2+B3, IF(A3="sell", IF(B3C2,"error",C2-B3),""))
which gives a running share count by adding or subtracting as
indicated by column A.

Then copy C3 and paste into C4 downward.

This formula can be used as a model for other calculations of this
nature.


is it possible to have the live date and time displayed
in a selected cell?


=NOW()


anyone aware of portfolio template with more than the
basic features ...?


There are several to choose from he
http://office.microsoft.com/
en-us/templates/results.aspx?qu=excel+portfolio&av=TPL000
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Time in Excel - Frustating experience!! vrk1 Excel Discussion (Misc queries) 5 May 2nd 09 02:48 PM
Stock Portfolio Sample in excel Bacchus Excel Discussion (Misc queries) 0 February 18th 07 09:51 PM
Looking for experience with counting and conditions in excel 2003 waterskyle Excel Worksheet Functions 2 September 12th 05 08:15 AM
Convert excel spreadsheet application to a java or .Net Experience excel to java or .net Excel Discussion (Misc queries) 0 February 23rd 05 06:43 PM
Excel & 'Thin Client' experience anyone ? Timboo Excel Discussion (Misc queries) 0 January 5th 05 02:05 PM


All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"