Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default divided value by amount of rows

Hi,
I would like to know if it's possible to divided or even create a formula to
sum up values for a certain amount of row .

Exm: A B C
D
Project /deposit slip ref.# / balance / deposit
balance
1 12053 $16000
2 12053 $10000

sum of rows C if B is same

and

Exm2: A B C
D
Project deposit slip ref # bank fee
balance
1 1234 =20/by rows(4)
2 1234
3 1234

4 1000 =20/by rows (1)



I hope to receive help for any one and I will be very thank full :).


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default divided value by amount of rows

Hi,

Your example didn't paste in too well but I think you may mean this:-

Col A B C D
Pro Dep slip amount Bal
1 12053 1000 1000
2 12053 1100 2100
3 12054 1200 1200
4 12054 1300 2500
5 12055 1200 1200
6 12055 1500 2700
6 12055 2200 4900


The formula in D2 is =C2
Then in D3 enter
=IF(B3=B2,C3+D2,C3)
Drag down as required.

Mike

"susy" wrote:

Hi,
I would like to know if it's possible to divided or even create a formula to
sum up values for a certain amount of row .

Exm: A B C
D
Project /deposit slip ref.# / balance / deposit
balance
1 12053 $16000
2 12053 $10000

sum of rows C if B is same

and

Exm2: A B C
D
Project deposit slip ref # bank fee
balance
1 1234 =20/by rows(4)
2 1234
3 1234

4 1000 =20/by rows (1)



I hope to receive help for any one and I will be very thank full :).


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default divided value by amount of rows

Indeed I did'nt paste, I did type it manually, but it did help thnx;) as far
as I keep it simply,

Becuase later on I will have to protect the formulas because it's a share
workbook. Interns will be making use of it to insert data and I don't want
them to edit any formula. If I allow them to enter a row will the formula
adapt to the extra row or do I have to change it manually?

And

With the other example I wanted to divided the bank fee by the amount of
rows which are equal I think it may be if the rows are equal divided bank
fee by the amount of rows.

"Mike H" wrote:

Hi,

Your example didn't paste in too well but I think you may mean this:-

Col A B C D
Pro Dep slip amount Bal
1 12053 1000 1000
2 12053 1100 2100
3 12054 1200 1200
4 12054 1300 2500
5 12055 1200 1200
6 12055 1500 2700
6 12055 2200 4900


The formula in D2 is =C2
Then in D3 enter
=IF(B3=B2,C3+D2,C3)
Drag down as required.

Mike

"susy" wrote:

Hi,
I would like to know if it's possible to divided or even create a formula to
sum up values for a certain amount of row .

Exm: A B C
D
Project /deposit slip ref.# / balance / deposit
balance
1 12053 $16000
2 12053 $10000

sum of rows C if B is same

and

Exm2: A B C
D
Project deposit slip ref # bank fee
balance
1 1234 =20/by rows(4)
2 1234
3 1234

4 1000 =20/by rows (1)



I hope to receive help for any one and I will be very thank full :).


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
Rows adjusting to fit amount of data? Kai Cunningham Excel Discussion (Misc queries) 0 July 2nd 07 08:06 PM
Searching a limited amount of rows in a vertical array Joe Miller Excel Discussion (Misc queries) 13 August 22nd 06 11:34 AM
Copying multiple rows to other worksheets (but amount of rows varies) - How? David Smithz Excel Discussion (Misc queries) 1 June 18th 06 04:31 PM
Transposing Links Every Certain Amount of Rows rickman Excel Discussion (Misc queries) 2 January 27th 06 08:47 PM
Amount is divided by 100 Kanga Excel Discussion (Misc queries) 2 October 13th 05 02:01 PM


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