Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 245
Default Worksheet function needed

Greetings,
I have 7 cells that are"Weighted" as follows

Cell1 = 1, Cell2 = 2, Cell3= 3, Cell4= 2, Cell5= 3, Cell6= 2, Cell7= 3

In Cell 8 i need a function that will add the weight of each cell and
muliply by the value of each cell for example

if cell 3 's value = 3 & cell 6 's value = 2 the cell 8' value would = 13 i
should also mention that not all 7 cells will have a value but atleat one
will, Can this be done in a function or should i do it programmaticlly?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Worksheet function needed

if
cell1 is A1
cell2 is A2
cell3 is A3
cell4 is A4
cell5 is A5
cell6 is A6
cell7 is A7

then in A8 enter:
=A1+2*A2+3*A3+2*A4+3*A5+2*A6+3*A7

--
Gary''s Student - gsnu200791


"Office_Novice" wrote:

Greetings,
I have 7 cells that are"Weighted" as follows

Cell1 = 1, Cell2 = 2, Cell3= 3, Cell4= 2, Cell5= 3, Cell6= 2, Cell7= 3

In Cell 8 i need a function that will add the weight of each cell and
muliply by the value of each cell for example

if cell 3 's value = 3 & cell 6 's value = 2 the cell 8' value would = 13 i
should also mention that not all 7 cells will have a value but atleat one
will, Can this be done in a function or should i do it programmaticlly?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 245
Default Worksheet function needed

Thank you.

"Gary''s Student" wrote:

if
cell1 is A1
cell2 is A2
cell3 is A3
cell4 is A4
cell5 is A5
cell6 is A6
cell7 is A7

then in A8 enter:
=A1+2*A2+3*A3+2*A4+3*A5+2*A6+3*A7

--
Gary''s Student - gsnu200791


"Office_Novice" wrote:

Greetings,
I have 7 cells that are"Weighted" as follows

Cell1 = 1, Cell2 = 2, Cell3= 3, Cell4= 2, Cell5= 3, Cell6= 2, Cell7= 3

In Cell 8 i need a function that will add the weight of each cell and
muliply by the value of each cell for example

if cell 3 's value = 3 & cell 6 's value = 2 the cell 8' value would = 13 i
should also mention that not all 7 cells will have a value but atleat one
will, Can this be done in a function or should i do it programmaticlly?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 947
Default Worksheet function needed

Would this work?

=SUMPRODUCT(A1:A7,{1;2;3;2;3;2;3})
(=13)

--
HTH :)
Dana DeLouis


"Office_Novice" wrote in message ...

Greetings,
I have 7 cells that are"Weighted" as follows

Cell1 = 1, Cell2 = 2, Cell3= 3, Cell4= 2, Cell5= 3, Cell6= 2, Cell7= 3

In Cell 8 i need a function that will add the weight of each cell and
muliply by the value of each cell for example

if cell 3 's value = 3 & cell 6 's value = 2 the cell 8' value would = 13 i
should also mention that not all 7 cells will have a value but atleat one
will, Can this be done in a function or should i do it programmaticlly?
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Worksheet function needed

A slightly easier way especially if there will be many cells

=SUMPRODUCT(A1:A7,{1;2;3;2;3;2;3})


--


Regards,


Peo Sjoblom


"Office_Novice" wrote in message
...
Thank you.

"Gary''s Student" wrote:

if
cell1 is A1
cell2 is A2
cell3 is A3
cell4 is A4
cell5 is A5
cell6 is A6
cell7 is A7

then in A8 enter:
=A1+2*A2+3*A3+2*A4+3*A5+2*A6+3*A7

--
Gary''s Student - gsnu200791


"Office_Novice" wrote:

Greetings,
I have 7 cells that are"Weighted" as follows

Cell1 = 1, Cell2 = 2, Cell3= 3, Cell4= 2, Cell5= 3, Cell6= 2, Cell7= 3

In Cell 8 i need a function that will add the weight of each cell and
muliply by the value of each cell for example

if cell 3 's value = 3 & cell 6 's value = 2 the cell 8' value would =
13 i
should also mention that not all 7 cells will have a value but atleat
one
will, Can this be done in a function or should i do it programmaticlly?





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Worksheet function needed

Oops! Just posted the same solution, I somehow missed your post Dana


--


Regards,


Peo Sjoblom


"Dana DeLouis" wrote in message
...
Would this work?

=SUMPRODUCT(A1:A7,{1;2;3;2;3;2;3})
(=13)

--
HTH :)
Dana DeLouis


"Office_Novice" wrote in message
...
Greetings,
I have 7 cells that are"Weighted" as follows

Cell1 = 1, Cell2 = 2, Cell3= 3, Cell4= 2, Cell5= 3, Cell6= 2, Cell7= 3

In Cell 8 i need a function that will add the weight of each cell and
muliply by the value of each cell for example

if cell 3 's value = 3 & cell 6 's value = 2 the cell 8' value would =
13 i
should also mention that not all 7 cells will have a value but atleat one
will, Can this be done in a function or should i do it programmaticlly?



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
Sum Function Needed Andrew C Excel Worksheet Functions 1 June 6th 06 11:21 AM
help needed in worksheet function Aarif Excel Worksheet Functions 1 March 17th 06 12:17 PM
Needed: worksheet export help mainemike Excel Discussion (Misc queries) 1 February 24th 06 02:59 AM
IF, AND, OR Function help needed THE BIG O Excel Worksheet Functions 4 February 13th 06 01:07 PM
Function needed???? prbucci Excel Worksheet Functions 9 January 15th 06 07:26 AM


All times are GMT +1. The time now is 09:10 AM.

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

About Us

"It's about Microsoft Excel"