LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
EG EG is offline
external usenet poster
 
Posts: 38
Default Adding in a range with multiple variables

More and more similar data will be added the spread sheet below as the weeks
go by. I am trying to keep a running total of the amounts in column J where
the corresponding values in the cells in column I is "CALL" and the value of
the cells in column C is "BUY".

In other words, I need a formula in D28 that adds all the numbers in column
J when the value of C and I of the same row is "BUY" and "CALL" respectively.

C D E F G H I
J
6 BUY 10 PFE 100 Jan-06 32.5 CALL 0.900
7 SELL -10 PFE 100 Jan-05 30 CALL 0.150
8 SELL -10 PFE 100 Jan-05 27.5 PUT 1.200
9 BUY 10 PFE 100 Jan-06 25 PUT 2.000

Hope this makes sense and someone can help me.

Thx.

EG
 
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 a number to variables Breinn Excel Discussion (Misc queries) 1 October 12th 05 06:23 PM
Can I use variables in a Range function? André - Brazil Excel Discussion (Misc queries) 2 May 5th 05 10:39 PM
Add up a Dynamic Range with 2 Variables John Excel Worksheet Functions 2 January 15th 05 05:03 PM
Add up a Dynamic Range with 2 Variables John Excel Worksheet Functions 1 January 15th 05 02:23 PM
Add up a Dynamic Range with 2 Variables John Excel Worksheet Functions 0 January 15th 05 02:00 PM


All times are GMT +1. The time now is 09:45 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"