Hello all,
As a long time reader, thanks for all the help - there is such a wealth of helpful knowledge here!
I am tasked with tweaking a quote form for electrical fixtures which include lamps (bulbs). On the top of the quote, I have the fixtures, fixture types, prices, etc. At the bottom, I bring down each fixture type into a section where the bulbs can be added.
For example:
The top fixture lines 1-4 might read:
Type A, Descrip, Quan, Catalog #, COGS($) & Sell ($)
Type B, Descrip, Quan, Catalog #, COGS($) & Sell ($)
Type C, Descrip, Quan, Catalog #, COGS($) & Sell ($)
Type D, Descrip, Quan, Catalog #, COGS($) & Sell ($)
...and so on
So the bottom lamp lines might read (quantities entered for example only):
Type A, "F32T8/835", Quan(10), COGS ($) & Sell ($)
Type B, "45wMR16/NFL", Quan(5), COGS ($) & Sell ($)
Type C, "F32T8/835", Quan(20), COGS ($) & Sell ($)
Type D, "90PAR38/FL", Quan(0), COGS ($) & Sell ($)
(whew...)
My desire is to consolidate the same lamps on one line (as in the case of Type A and C), append the Type names ("A & C") and associated $ values...like this...
"Type A & Type C", "F32T8/835", Total Quan(30), Total COGS ($) & Total Extended Sell ($)
"Type B", "45wMR16/NFL", Quan(5), COGS ($) & Sell ($)
and no entry for Type D lamps since Quan = 0 (this line needs to be hidden)
(I tried Subtotals but ended up with a lot of hidden lines being unhidden and lots of fixtures without lamps showing up (unwanted).)
Can this be done in Excel so that as quantities change, the lamps totals are dynamic? Let me know if additional info is needed.
There is one additional scenario that may occur where two Types use the same lamps but only one of them have lamps...in this case, only the Type with the lamps would need to be seen.
The reason I need to do this is when the purchasing people get the quote, they only need to enter 1 lamp + total quantity, not multiple line entries for the same lamp (which happens every time). Of course my quotes are more than four lines...some quotes are 40 lines!
I would be open to using Excel functions or VBA (or even pivot table?)
Thx for any help in advance,
Greg
As a long time reader, thanks for all the help - there is such a wealth of helpful knowledge here!
I am tasked with tweaking a quote form for electrical fixtures which include lamps (bulbs). On the top of the quote, I have the fixtures, fixture types, prices, etc. At the bottom, I bring down each fixture type into a section where the bulbs can be added.
For example:
The top fixture lines 1-4 might read:
Type A, Descrip, Quan, Catalog #, COGS($) & Sell ($)
Type B, Descrip, Quan, Catalog #, COGS($) & Sell ($)
Type C, Descrip, Quan, Catalog #, COGS($) & Sell ($)
Type D, Descrip, Quan, Catalog #, COGS($) & Sell ($)
...and so on
So the bottom lamp lines might read (quantities entered for example only):
Type A, "F32T8/835", Quan(10), COGS ($) & Sell ($)
Type B, "45wMR16/NFL", Quan(5), COGS ($) & Sell ($)
Type C, "F32T8/835", Quan(20), COGS ($) & Sell ($)
Type D, "90PAR38/FL", Quan(0), COGS ($) & Sell ($)
(whew...)
My desire is to consolidate the same lamps on one line (as in the case of Type A and C), append the Type names ("A & C") and associated $ values...like this...
"Type A & Type C", "F32T8/835", Total Quan(30), Total COGS ($) & Total Extended Sell ($)
"Type B", "45wMR16/NFL", Quan(5), COGS ($) & Sell ($)
and no entry for Type D lamps since Quan = 0 (this line needs to be hidden)
(I tried Subtotals but ended up with a lot of hidden lines being unhidden and lots of fixtures without lamps showing up (unwanted).)
Can this be done in Excel so that as quantities change, the lamps totals are dynamic? Let me know if additional info is needed.
There is one additional scenario that may occur where two Types use the same lamps but only one of them have lamps...in this case, only the Type with the lamps would need to be seen.
The reason I need to do this is when the purchasing people get the quote, they only need to enter 1 lamp + total quantity, not multiple line entries for the same lamp (which happens every time). Of course my quotes are more than four lines...some quotes are 40 lines!
I would be open to using Excel functions or VBA (or even pivot table?)
Thx for any help in advance,
Greg