A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help!



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2009, 10:21 AM posted to microsoft.public.excel.worksheet.functions
Adamw3
external usenet poster
 
Posts: 1
Default Help!

I am trying to make it so that column 'D' in my worksheet gives me the total
of column 'A' divided by column 'C' (where not 'Part Change', but only
between each occurance of it) as there is over 15000 rows i do not want to do
it manually, can anyone shead some light on this for me. Thanks

There is a small example of the data below if required.


A B C D

19 7 Part Change
18 7
18 7
16 7
7 7 Part Change
8 5
14 5
7 5 Part Change
10 5
13 5
2 5 Part Change
14 11
19 11 Part Change
22 11 Part Change


  #2  
Old August 12th, 2009, 10:45 AM posted to microsoft.public.excel.worksheet.functions
Niek Otten
external usenet poster
 
Posts: 2,533
Default Help!

Hi Adam,

Your data layout is not very clear in my newsreader.
Do you mean
so that column 'D' in my worksheet gives me the total of column 'A' divided
by column 'B' (where 'C'not 'Part Change'?

What if Col 'C' IS 'Part Change'? Empty?

Try in D1:

=IF(C1="Part Change","",A1/B1)

and copy down as far as you need

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Adamw3" wrote in message
...
I am trying to make it so that column 'D' in my worksheet gives me the
total
of column 'A' divided by column 'C' (where not 'Part Change', but only
between each occurance of it) as there is over 15000 rows i do not want to
do
it manually, can anyone shead some light on this for me. Thanks

There is a small example of the data below if required.


A B C D

19 7 Part Change
18 7
18 7
16 7
7 7 Part Change
8 5
14 5
7 5 Part Change
10 5
13 5
2 5 Part Change
14 11
19 11 Part Change
22 11 Part Change



  #3  
Old August 12th, 2009, 01:18 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Help!

Hi,
If your information starts in row 2 in D2 enter

=if(C2="Part Change","",A2/B2)

copy formula down


"Adamw3" wrote:

I am trying to make it so that column 'D' in my worksheet gives me the total
of column 'A' divided by column 'C' (where not 'Part Change', but only
between each occurance of it) as there is over 15000 rows i do not want to do
it manually, can anyone shead some light on this for me. Thanks

There is a small example of the data below if required.


A B C D

19 7 Part Change
18 7
18 7
16 7
7 7 Part Change
8 5
14 5
7 5 Part Change
10 5
13 5
2 5 Part Change
14 11
19 11 Part Change
22 11 Part Change


  #4  
Old August 12th, 2009, 02:04 PM posted to microsoft.public.excel.worksheet.functions
Glenn[_6_]
external usenet poster
 
Posts: 1,245
Default Help!

Adamw3 wrote:
I am trying to make it so that column 'D' in my worksheet gives me the total
of column 'A' divided by column 'C' (where not 'Part Change', but only
between each occurance of it) as there is over 15000 rows i do not want to do
it manually, can anyone shead some light on this for me. Thanks

There is a small example of the data below if required.


A B C D

19 7 Part Change
18 7
18 7
16 7
7 7 Part Change
8 5
14 5
7 5 Part Change
10 5
13 5
2 5 Part Change
14 11
19 11 Part Change
22 11 Part Change



Using the data above, what do you expect in column D?
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:51 AM.


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