Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default need cell appeat blank if no data in that row

I have a data in columns, I want data to be shown only if there is
data in that row if no data then leave it blank (here is what I am
asking for)

Stock trade Gain/Loss Gain/Loss all trades
abc 4.18% 4.18%
def 3.77% 7.95%
[no trade] N/A 7.95%
[no trade] N/A 7.95%

i want trade column to appear blank in cell of gain/loss for all
trade instead of showing 7.95%. if no trade made


If there is no data but the formula is in column, third line shows
7.95%, 4th line shows 7.95%, 5th line 7.95% and this is keep going as
there is formula there. I want to to make if there is no data in
GAIN/
LOSS column then GAIN/LOSS FOR ALL TRADES to appear blank

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default need cell appeat blank if no data in that row

that one is also mine but I deleted that to put in a correct place i
have deleted first one

here is the formula


for gain/loss

=IF(ISERR(M6/H6),"N/A",(M6/H6))
=IF(ISERR(M7/H7),"N/A",(M7/H7))
=IF(ISERR(M8/H8),"N/A",(M8/H8)) and so on......


gain loss for all trades

=SUM($K$6:K6)
=SUM($K$6:K7)
=SUM($K$6:K8) and so on......

http://spreadsheets.google.com/pub?k...tBoeBJUpVfwaZA
here is the file if you want to take a look

thank you very much for helping me (you have previously answered my
question)




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,345
Default need cell appeat blank if no data in that row

Try:

=IF(A6="","",IF(ISERR(M6/H6),"N/A",(M6/H6)))

and

=IF(A6="","",SUM($K$6:K6))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Jontie" wrote in message
ups.com...
that one is also mine but I deleted that to put in a correct place i
have deleted first one

here is the formula


for gain/loss

=IF(ISERR(M6/H6),"N/A",(M6/H6))
=IF(ISERR(M7/H7),"N/A",(M7/H7))
=IF(ISERR(M8/H8),"N/A",(M8/H8)) and so on......


gain loss for all trades

=SUM($K$6:K6)
=SUM($K$6:K7)
=SUM($K$6:K8) and so on......

http://spreadsheets.google.com/pub?k...tBoeBJUpVfwaZA
here is the file if you want to take a look

thank you very much for helping me (you have previously answered my
question)







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
How to auto count data in an empty cell to be 0. Blank cell=0 Jagneel Excel Discussion (Misc queries) 5 December 13th 06 08:17 PM
Copy data in one cell to blank cell immediately below, repeat Jeff Excel Worksheet Functions 1 May 19th 06 07:12 PM
Removing a blank cell between data Bonnie, OH New Users to Excel 1 February 27th 06 08:07 PM
Blank cell if no data Ltat42a Excel Discussion (Misc queries) 8 October 11th 05 02:59 AM
How can I blank a cell until a ref cell has the correct data? force530 Excel Discussion (Misc queries) 1 May 19th 05 09:06 PM


All times are GMT +1. The time now is 11:03 AM.

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"