Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default is it possible to have excel insert zeros into data??

Hello -

Not sure if this is where I'm suppose to post this - I am in
desperatly need of help

I have a workbook that have about 10companys names and 7 thousand data
- going back to 1999 - i need to know how i can insert 0 (zeros) into
missing data... the workbook is outline like this ---

A B C
D E F
G
Dates Products Company Amount Daily
Total Weekly Total Monthly total
1/6/2006 Cream A 25
1/6/2006 Red B 50
1/7/2006 Cream A 125
1/8/2006 Red B 152
1/8/2006 Red B 30
1/10/2006 Cream A 29
1/11/2006 Red B 25
1/11/2006 Red B 37
1/11/2006 Cream A 45



In column E-G I already have the total set up to give me the average -
I realize that some of the day's the company does not have data in and
i would like excel to insert those empty days with 0 (zeros) into the
total

with the above example I would like excel to see that on 1/7/2006 only
product Cream and company A have data --- so it will insert company B
into the spreadsheet and in the total put 0 (zero)

is this possible??? please help...

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default is it possible to have excel insert zeros into data??

On 13 Aug, 16:24, wrote:
Hello -

Not sure if this is where I'm suppose to post this - I am in
desperatly need of help

I have a workbook that have about 10companys names and 7 thousand data
- going back to 1999 - i need to know how i can insert 0 (zeros) into
missing data... the workbook is outline like this ---

A B C
D E F
G
Dates Products Company Amount Daily
Total Weekly Total Monthly total
1/6/2006 Cream A 25
1/6/2006 Red B 50
1/7/2006 Cream A 125
1/8/2006 Red B 152
1/8/2006 Red B 30
1/10/2006 Cream A 29
1/11/2006 Red B 25
1/11/2006 Red B 37
1/11/2006 Cream A 45

In column E-G I already have the total set up to give me the average -
I realize that some of the day's the company does not have data in and
i would like excel to insert those empty days with 0 (zeros) into the
total

with the above example I would like excel to see that on 1/7/2006 only
product Cream and company A have data --- so it will insert company B
into the spreadsheet and in the total put 0 (zero)

is this possible??? please help...


It is possible, but why do you want to - why not simply use COUNTA to
get the total number of lines, and SUM to get the value and divide one
into the other - granted, a slightly longer formula than AVERAGE, but
it will produce the result you want

=sum(range)/counta(RangeTwo)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default is it possible to have excel insert zeros into data??

Manually, select your data cells including currently blank cells you will
want filled with zeros.

F5 Special Blanks

If your mixed data & blank cells is as I imagine you've probably got a lot
of non-contiguous areas of blank cells selected.

Put the cursor in the input-bar, type a 0, Ctrl-Enter to fill with zeros.

I don't understand your second question.

Regards,
Peter T


wrote in message
ups.com...
Hello -

Not sure if this is where I'm suppose to post this - I am in
desperatly need of help

I have a workbook that have about 10companys names and 7 thousand data
- going back to 1999 - i need to know how i can insert 0 (zeros) into
missing data... the workbook is outline like this ---

A B C
D E F
G
Dates Products Company Amount Daily
Total Weekly Total Monthly total
1/6/2006 Cream A 25
1/6/2006 Red B 50
1/7/2006 Cream A 125
1/8/2006 Red B 152
1/8/2006 Red B 30
1/10/2006 Cream A 29
1/11/2006 Red B 25
1/11/2006 Red B 37
1/11/2006 Cream A 45



In column E-G I already have the total set up to give me the average -
I realize that some of the day's the company does not have data in and
i would like excel to insert those empty days with 0 (zeros) into the
total

with the above example I would like excel to see that on 1/7/2006 only
product Cream and company A have data --- so it will insert company B
into the spreadsheet and in the total put 0 (zero)

is this possible??? please help...



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 can I use preceeding zeros and data validation in Excel? Tropical Excel Discussion (Misc queries) 3 March 21st 07 09:57 PM
Insert Decimal Places and Clear Zeros Gladys Excel Discussion (Misc queries) 2 May 5th 06 08:59 PM
How do I insert leading zeros? goldilocks New Users to Excel 2 March 16th 06 12:03 AM
insert zeros in front of cells already filled with data. Horizon Excel Discussion (Misc queries) 2 January 16th 06 08:47 PM
Insert Leading Zeros hkslater Excel Worksheet Functions 7 November 16th 04 11:28 PM


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