Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
KristopherJensen
 
Posts: n/a
Default Need help on some calculations..

Hi,

Im not quite new at using Excel, but I have decided to try to take on new
challenges and I need some help in relation to that.

#1:
I want to make some calculations on 4 values, lets say that they are located
in B3:B6. I to find out if each value exceeds the number 40, and if it does
the exceeding ammount should be added in B7. For instance if the values are
30/41/60/10 then B7 would show the number "21". How is this possible?

#2:
If I have B2:B6 looking like this again:
B3 30
B4 40
B5 60
B6 10
Total of 140.
And I want to add 15 ponts in total to these numbers, but it should be done
according to the % distribution, so that B3 would get 21.4% of the 15 points,
B4 would get 28.7% of the 15 points and so on. I want it to be added in a new
collum. Is this possible?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bob Umlas
 
Posts: n/a
Default Need help on some calculations..

1: =SUMPRODUCT((B3:B640)*(B3:B6-40))
2: =B3+B3/SUM($B$3:$B$6)*15 and fill down.
Bob Umlas
Excel MVP

"KristopherJensen" wrote in
message ...
Hi,

Im not quite new at using Excel, but I have decided to try to take on new
challenges and I need some help in relation to that.

#1:
I want to make some calculations on 4 values, lets say that they are
located
in B3:B6. I to find out if each value exceeds the number 40, and if it
does
the exceeding ammount should be added in B7. For instance if the values
are
30/41/60/10 then B7 would show the number "21". How is this possible?

#2:
If I have B2:B6 looking like this again:
B3 30
B4 40
B5 60
B6 10
Total of 140.
And I want to add 15 ponts in total to these numbers, but it should be
done
according to the % distribution, so that B3 would get 21.4% of the 15
points,
B4 would get 28.7% of the 15 points and so on. I want it to be added in a
new
collum. Is this possible?

Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Ron Coderre
 
Posts: n/a
Default Need help on some calculations..

Try this:

#1:
Two ways....
B7: =SUMIF(B3:B6,"40",B3:B6)-COUNTIF(B3:B6,"40")*40
or
B7: =SUMPRODUCT(--(B3:B640)*(B3:B6-40))

#2:
C3: =B3+(B3/$B$7)*15
(copy that formula down thru C6)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"KristopherJensen" wrote:

Hi,

Im not quite new at using Excel, but I have decided to try to take on new
challenges and I need some help in relation to that.

#1:
I want to make some calculations on 4 values, lets say that they are located
in B3:B6. I to find out if each value exceeds the number 40, and if it does
the exceeding ammount should be added in B7. For instance if the values are
30/41/60/10 then B7 would show the number "21". How is this possible?

#2:
If I have B2:B6 looking like this again:
B3 30
B4 40
B5 60
B6 10
Total of 140.
And I want to add 15 ponts in total to these numbers, but it should be done
according to the % distribution, so that B3 would get 21.4% of the 15 points,
B4 would get 28.7% of the 15 points and so on. I want it to be added in a new
collum. Is this possible?

Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default Need help on some calculations..

"KristopherJensen" wrote:

#1:
I want to make some calculations on 4 values, lets say that they are

located
in B3:B6. I to find out if each value exceeds the number 40, and if it

does
the exceeding ammount should be added in B7.
For instance if the values are 30/41/60/10 then
B7 would show the number "21". How is this possible?


Put in B7: =SUMPRODUCT(--(B3:B640),B3:B6-40)

Or, perhaps better to point to a cell instead of hardcoding the "40"

Put in say, B8: 40
Then put in B7: =SUMPRODUCT(--(B3:B6B8),B3:B6-B8)

#2:
If I have B2:B6 looking like this again:
B3 30
B4 40
B5 60
B6 10
Total of 140.
And I want to add 15 ponts in total to these numbers, but it should be

done
according to the % distribution, so that B3 would get 21.4% of the 15

points,
B4 would get 28.7% of the 15 points and so on. I want it to be added in a

new
column. Is this possible?


Put in C2: 15
Put in C3: =B3+15*(B3/SUM($B$3:$B$6))
Copy C3 down to C6
Format C3:C6 to 1 d.p.

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #5   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default Need help on some calculations..

Oops, correction:
Put in C3: =B3+15*(B3/SUM($B$3:$B$6))


should be:
Put in C3: =B3+$C$2*(B3/SUM($B$3:$B$6))

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--




  #6   Report Post  
Posted to microsoft.public.excel.newusers
BenjieLop
 
Posts: n/a
Default Need help on some calculations..


KristopherJensen Wrote:
Hi,

Im not quite new at using Excel, but I have decided to try to take on
new
challenges and I need some help in relation to that.

#1:
I want to make some calculations on 4 values, lets say that they are
located
in B3:B6. I to find out if each value exceeds the number 40, and if it
does
the exceeding ammount should be added in B7. For instance if the values
are
30/41/60/10 then B7 would show the number "21". How is this possible?

#2:
If I have B2:B6 looking like this again:
B3 30
B4 40
B5 60
B6 10
Total of 140.
And I want to add 15 ponts in total to these numbers, but it should be
done
according to the % distribution, so that B3 would get 21.4% of the 15
points,
B4 would get 28.7% of the 15 points and so on. I want it to be added in
a new
collum. Is this possible?

Thanks in advance


Here is very simple, no frills solution:

#1

I suggest a helper column (that you can hide). Enter this formula in
Cell C3,

=IF(B340,B3-40,\"\")

and copy down until Cell C6.

Enter this formula in Cell B7, *=sum(C3:C6)*

#2

In any unused cell, enter the number you want to add (in your example
-- 15)
to your entries in Cells B3:B6,

Let's say you entered this number in Cell E3. In Cell D3, enter this
formula,

=B3+(B3/$B$7)*$E$3

and copy down until Cell D6.

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=497282

  #7   Report Post  
Posted to microsoft.public.excel.newusers
Niek Otten
 
Posts: n/a
Default Need help on some calculations..

#1
=MAX(B3-40,0)+MAX(B4-40,0)+MAX(B5-40,0)+MAX(B6-40,0)
#2
=15*(B3/SUM($B$3:$B$6)) in C3, filled down to C6

--
Kind regards,

Niek Otten

"KristopherJensen" wrote in
message ...
Hi,

Im not quite new at using Excel, but I have decided to try to take on new
challenges and I need some help in relation to that.

#1:
I want to make some calculations on 4 values, lets say that they are
located
in B3:B6. I to find out if each value exceeds the number 40, and if it
does
the exceeding ammount should be added in B7. For instance if the values
are
30/41/60/10 then B7 would show the number "21". How is this possible?

#2:
If I have B2:B6 looking like this again:
B3 30
B4 40
B5 60
B6 10
Total of 140.
And I want to add 15 ponts in total to these numbers, but it should be
done
according to the % distribution, so that B3 would get 21.4% of the 15
points,
B4 would get 28.7% of the 15 points and so on. I want it to be added in a
new
collum. Is this possible?

Thanks in advance



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
Calculations based on PivotTable information jerry Excel Discussion (Misc queries) 0 October 3rd 05 07:25 PM
looping through a set of calculations Anand Excel Worksheet Functions 2 September 14th 05 07:12 PM
Calculations crossing multiple sheets Stephen McArthu Excel Discussion (Misc queries) 4 June 6th 05 04:35 PM
excel calculations lloyd8156 Excel Worksheet Functions 1 May 26th 05 07:11 PM
time interval calculations in excel Krishna Excel Discussion (Misc queries) 6 April 8th 05 02:57 PM


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