Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Creating a formula

Qty Purchase $ Fee Total Cost Sell $ Fee
Total Gain/Loss
A B C D E F G H
380 5.46 9.95 2068.61 5.63 9.95
2133.21 64.60

My question is if we do not sell (E) and there is no fee (f) how do I create
a calculation to indicate in (G) the amount $ in D (2068.61) and the
gain/loss to show 0 (zero) when there is no sell $ . . . ? THANKS!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 303
Default Creating a formula

In G2 enter =IF(E2=0,D2,A2*E2-F2)
in H2 enter =G2-D2

I did have a probelem getting the same numbers as you.
I actually had to change the fee amount to 6.19 to get the same
totals...........
Hope this helped

--
Greetings from New Zealand

"Karsea" wrote in message
...
Qty Purchase $ Fee Total Cost Sell $ Fee
Total Gain/Loss
A B C D E F G H
380 5.46 9.95 2068.61 5.63 9.95
2133.21 64.60

My question is if we do not sell (E) and there is no fee (f) how do I
create
a calculation to indicate in (G) the amount $ in D (2068.61) and the
gain/loss to show 0 (zero) when there is no sell $ . . . ? THANKS!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Creating a formula

Hi there,

Yes - sorry I entered the incorrect amount - in spite of this I used your
calculation - and it worked perfectly!

Thank you very much!

"Bill Kuunders" wrote:

In G2 enter =IF(E2=0,D2,A2*E2-F2)
in H2 enter =G2-D2

I did have a probelem getting the same numbers as you.
I actually had to change the fee amount to 6.19 to get the same
totals...........
Hope this helped

--
Greetings from New Zealand

"Karsea" wrote in message
...
Qty Purchase $ Fee Total Cost Sell $ Fee
Total Gain/Loss
A B C D E F G H
380 5.46 9.95 2068.61 5.63 9.95
2133.21 64.60

My question is if we do not sell (E) and there is no fee (f) how do I
create
a calculation to indicate in (G) the amount $ in D (2068.61) and the
gain/loss to show 0 (zero) when there is no sell $ . . . ? THANKS!




Reply
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
formula creating itself Paolo Excel Discussion (Misc queries) 1 July 2nd 08 01:02 PM
need help creating formula [email protected] Excel Worksheet Functions 2 December 8th 06 07:26 PM
I need help creating a formula Kim Excel Discussion (Misc queries) 11 November 19th 05 08:01 PM
Help with creating Formula again Benny Excel Worksheet Functions 13 March 20th 05 04:59 PM
Creating a formula monicaa New Users to Excel 1 February 25th 05 02:39 AM


All times are GMT +1. The time now is 08:44 AM.

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

About Us

"It's about Microsoft Excel"