#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default row multiplier?

i copy a row of ingredients for a meal and paste it into my weekly shopping
list.
each meal's ingredients are lined up in their respective columns ("2" is in
the column "lettuce" because there are 2 cups of lettuce in the dinner salad,
"3" in the "onions" column because there will be three chopped onions, but
there is "0" in the "eggs" column because this salad doesnt have eggs,
however, the row above this row has "3" in the eggs column because it is for
an omelette).
at the bottom of the page there is a running total of the amount of each
ingredient i should buy (a total of "16" in the lettuce column means im using
a total of 16 cups of lettuce that week - buy accordingly)...
the question is, can i have a cell somewhere at each row that can be used as
a multiplier so if i have THREE of the very same meals that week i dont have
to multiply each cell in the row of that meal by three, i could just have a
"3" at the end of the row and it would multiply each amount in the row by
three? like "3" at the end of the "omelette" ingredients row would cause the
amount of eggs necessary to turn to 9, that way i dont have the omelette
listed three times, but can just multiply the one meal ingredients by three?
is this clear enough?
thanks,
annabella
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default row multiplier?

I'd think you'll want to pick one of two options.

either have your ingredient list in a set of columns, then your multiplier
column, then your ingredients for the week column. Ingredients for the week
is =ingredientcell * multiplier cell

easy nuff.

Otherwise, if you just want it all in one cell, just enter =3*multiplier in
the egg cell for the omelettes, and make the multiplier 1 for 1 meal....

"annabella" wrote:

i copy a row of ingredients for a meal and paste it into my weekly shopping
list.
each meal's ingredients are lined up in their respective columns ("2" is in
the column "lettuce" because there are 2 cups of lettuce in the dinner salad,
"3" in the "onions" column because there will be three chopped onions, but
there is "0" in the "eggs" column because this salad doesnt have eggs,
however, the row above this row has "3" in the eggs column because it is for
an omelette).
at the bottom of the page there is a running total of the amount of each
ingredient i should buy (a total of "16" in the lettuce column means im using
a total of 16 cups of lettuce that week - buy accordingly)...
the question is, can i have a cell somewhere at each row that can be used as
a multiplier so if i have THREE of the very same meals that week i dont have
to multiply each cell in the row of that meal by three, i could just have a
"3" at the end of the row and it would multiply each amount in the row by
three? like "3" at the end of the "omelette" ingredients row would cause the
amount of eggs necessary to turn to 9, that way i dont have the omelette
listed three times, but can just multiply the one meal ingredients by three?
is this clear enough?
thanks,
annabella

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default row multiplier?

Hi,

Add a column say A because that will always be first and is easy to get to.
In that column enter 1 all the way down to the total row.

On the total row replace your =SUM(B2:B20) (B is now the first column with
ingredient counts) type formula with

=SUMPRODUCT(B2:B20*$A2:$A20)

copy this formula across your total row.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"annabella" wrote:

i copy a row of ingredients for a meal and paste it into my weekly shopping
list.
each meal's ingredients are lined up in their respective columns ("2" is in
the column "lettuce" because there are 2 cups of lettuce in the dinner salad,
"3" in the "onions" column because there will be three chopped onions, but
there is "0" in the "eggs" column because this salad doesnt have eggs,
however, the row above this row has "3" in the eggs column because it is for
an omelette).
at the bottom of the page there is a running total of the amount of each
ingredient i should buy (a total of "16" in the lettuce column means im using
a total of 16 cups of lettuce that week - buy accordingly)...
the question is, can i have a cell somewhere at each row that can be used as
a multiplier so if i have THREE of the very same meals that week i dont have
to multiply each cell in the row of that meal by three, i could just have a
"3" at the end of the row and it would multiply each amount in the row by
three? like "3" at the end of the "omelette" ingredients row would cause the
amount of eggs necessary to turn to 9, that way i dont have the omelette
listed three times, but can just multiply the one meal ingredients by three?
is this clear enough?
thanks,
annabella

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 to change multiplier using letters Pipeline welder Excel Discussion (Misc queries) 2 October 27th 08 02:49 PM
constant multiplier hugoalegria Excel Discussion (Misc queries) 4 July 28th 08 06:57 PM
Multiplier Dave New Users to Excel 1 October 3rd 07 07:09 PM
how can prices be changed by one multiplier? Julia Ezra Excel Discussion (Misc queries) 3 August 1st 07 09:08 PM
Counter variable and a multiplier LenS Excel Discussion (Misc queries) 1 February 23rd 07 11:50 AM


All times are GMT +1. The time now is 07:43 PM.

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"