Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default using 'paste link' into seperate tab

I have a parent spreadsheet in tab 1 and on seperate tabs I have chunks of
the information through paste special and paste link. When the parent cell
is empty, the paste link command is putting a zero in instead of leaving it
blank. This is messing up my averages. I have tried changing the category
in format cells but this has no effect.

I anyone knows the answer it'd be much appreciated :)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default using 'paste link' into seperate tab

You need to edit the link, if it for instance looks like

=Sheet2!$A$1


then change it to


=IF(Sheet2!$A$1="","",Sheet2!$A$1)


Of course if there can be no zeros in your average then you can change the
average formula


=AVERAGE(IF(A2:A100<0,A2:A100))

or if there can be no zeros nor negative values

=AVERAGE(IF(A2:A1000,A2:A100))


both formulas entered with ctrl + shift & enter


--


Regards,


Peo Sjoblom





--


Regards,


Peo Sjoblom


"upsidedown_pw" wrote in message
...
I have a parent spreadsheet in tab 1 and on seperate tabs I have chunks of
the information through paste special and paste link. When the parent
cell
is empty, the paste link command is putting a zero in instead of leaving
it
blank. This is messing up my averages. I have tried changing the
category
in format cells but this has no effect.

I anyone knows the answer it'd be much appreciated :)



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default using 'paste link' into seperate tab

One option is to use this kind of link formula:
=IF(Sheet2!A1="","",Sheet2!A1)
which will return null strings (text) for any blank cells
(Average will ignore text)

Or, as-is (ie with the zeros),
you could use a conditional average,
eg: =AVERAGE(IF(B1:B70,B1:B7))
which has to be array-entered (press CTRL+SHIFT+ENTER)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"upsidedown_pw" wrote:
I have a parent spreadsheet in tab 1 and on seperate tabs I have chunks of
the information through paste special and paste link. When the parent cell
is empty, the paste link command is putting a zero in instead of leaving it
blank. This is messing up my averages. I have tried changing the category
in format cells but this has no effect.

I anyone knows the answer it'd be much appreciated :)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default using 'paste link' into seperate tab

Thanks to both of you. A conditional average wont work because I have some
values of zero that I want to include. Its just the data thats not been
input into the parent sheet that I dont want included.

One question though, whats the difference between be using the $ and not?

"Max" wrote:

One option is to use this kind of link formula:
=IF(Sheet2!A1="","",Sheet2!A1)
which will return null strings (text) for any blank cells
(Average will ignore text)

Or, as-is (ie with the zeros),
you could use a conditional average,
eg: =AVERAGE(IF(B1:B70,B1:B7))
which has to be array-entered (press CTRL+SHIFT+ENTER)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"upsidedown_pw" wrote:
I have a parent spreadsheet in tab 1 and on seperate tabs I have chunks of
the information through paste special and paste link. When the parent cell
is empty, the paste link command is putting a zero in instead of leaving it
blank. This is messing up my averages. I have tried changing the category
in format cells but this has no effect.

I anyone knows the answer it'd be much appreciated :)

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default using 'paste link' into seperate tab

.. whats the difference between using the $ and not?
$ signs makes the cell ref absolute, ie fixed
Eg In B1: =$A$1 will fix it to A1,
ie the ref won't change when you copy B1 across or down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

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
PASTE LINK option not available when I select PASTE SPECIAL to link an image in Excel to a Word document. tln Links and Linking in Excel 0 April 22nd 07 04:28 PM
Can I link spreadsheets in two SEPERATE instances of excel? aequanimitas Setting up and Configuration of Excel 2 August 22nd 06 09:16 AM
How do I link info from 2 seperate documents at same time. tafferjim New Users to Excel 2 October 13th 05 12:31 PM
How to link cells in seperate spreadsheets without the $ Cesar_us Excel Worksheet Functions 0 June 22nd 05 08:58 PM
Paste Link enters a 0 into the cell where I paste. How do I elemin UNR Excel Discussion (Misc queries) 4 March 28th 05 01:54 AM


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