PC Review


Reply
Thread Tools Rate Thread

Calculating total when multiplier varies by another criteria

 
 
HeatherJG
Guest
Posts: n/a
 
      19th Jun 2008
I think I can probably figure out a convoluted, around-the-world way to do
this, but there's GOT to be an easier way. Unfortunately, I neither know nor
understand anything at all about macros or creating functions, and I'm afraid
that's what I'm going to need.

I'm trying to calculate the cost on forms we use. The base is .0135 for b&w
and .07 for color if I go through the print shop, and .008 for b&w and .0613
for color if I print it myself. Then it changes based on the number of
pages. I set my spreadsheet up with the following columns:

Name - Color - B & W - Carbon - # of Pages - Print Shop - Self

If I use the "Color" and "B & W" columns to just place an "X" in the cell to
denote which it is, how can I calculate the cost for both the Print Shop and
myself? Does that even make sense to anyone other than me?
 
Reply With Quote
 
 
 
 
DReid
Guest
Posts: n/a
 
      19th Jun 2008
It's just a simple formula.
Specify number of colour & B&W pages then another column for you
=(colourpages*youcost)+(B&Wpages*youcost)

another column for printshop
=(colourpages*pintshopcost)+(B&Wpages*printshopcost)

You may find that the printshop has a variable price depending on number of
copies in which case all you need to do is specify different prices for
different numbers eg if(copies>1,000,0.0001,normal cost) which basically says
if copies are above 1,000 use this price otherwise use normal price

hope it helps
doug

"HeatherJG" wrote:

> I think I can probably figure out a convoluted, around-the-world way to do
> this, but there's GOT to be an easier way. Unfortunately, I neither know nor
> understand anything at all about macros or creating functions, and I'm afraid
> that's what I'm going to need.
>
> I'm trying to calculate the cost on forms we use. The base is .0135 for b&w
> and .07 for color if I go through the print shop, and .008 for b&w and .0613
> for color if I print it myself. Then it changes based on the number of
> pages. I set my spreadsheet up with the following columns:
>
> Name - Color - B & W - Carbon - # of Pages - Print Shop - Self
>
> If I use the "Color" and "B & W" columns to just place an "X" in the cell to
> denote which it is, how can I calculate the cost for both the Print Shop and
> myself? Does that even make sense to anyone other than me?

 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      19th Jun 2008
Assuming your data starts in Row 2 (with Row 1 being a header row), you can
calculate the cost per name (row) using this formula...

=IF(A2="","",E2*IF(OR(AND(B2<>"",C2<>""),AND(F2<>"",G2<>"")),"0",IF(B2<>"",0.0613+0.0087*(F2<>""),0.008+0.0055*(F2<>""))))

and copy it down for the other names (rows). If there is no entry in A2, an
empty string is returned even if there are entries in the other cells on the
row. If A2 is filled in, then the formula returns 0 if both B2 and C2 are
not empty at the same time and 0 if both F2 and G2 are not both empty at the
same time. You can use anything you want to select between Color and B/W and
also between Self and Print Shop... you do not have to restrict yourself to
an "X" unless you want to.

Rick


"HeatherJG" <(E-Mail Removed)> wrote in message
news:AC6090F0-A0DF-42FE-BFC6-(E-Mail Removed)...
>I think I can probably figure out a convoluted, around-the-world way to do
> this, but there's GOT to be an easier way. Unfortunately, I neither know
> nor
> understand anything at all about macros or creating functions, and I'm
> afraid
> that's what I'm going to need.
>
> I'm trying to calculate the cost on forms we use. The base is .0135 for
> b&w
> and .07 for color if I go through the print shop, and .008 for b&w and
> .0613
> for color if I print it myself. Then it changes based on the number of
> pages. I set my spreadsheet up with the following columns:
>
> Name - Color - B & W - Carbon - # of Pages - Print Shop - Self
>
> If I use the "Color" and "B & W" columns to just place an "X" in the cell
> to
> denote which it is, how can I calculate the cost for both the Print Shop
> and
> myself? Does that even make sense to anyone other than me?


 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      19th Jun 2008
I guess I should have mentioned that when you posted this...

Name - Color - B & W - Carbon - # of Pages - Print Shop - Self

I assumed it was meant to show the header text for Columns A through G
inclusive... if your have those headings (and associated data) in different
columns from those, you will have to adjust the cell references in my
formula accordingly.

Rick

"Rick Rothstein (MVP - VB)" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
> Assuming your data starts in Row 2 (with Row 1 being a header row), you
> can calculate the cost per name (row) using this formula...
>
> =IF(A2="","",E2*IF(OR(AND(B2<>"",C2<>""),AND(F2<>"",G2<>"")),"0",IF(B2<>"",0.0613+0.0087*(F2<>""),0.008+0.0055*(F2<>""))))
>
> and copy it down for the other names (rows). If there is no entry in A2,
> an empty string is returned even if there are entries in the other cells
> on the row. If A2 is filled in, then the formula returns 0 if both B2 and
> C2 are not empty at the same time and 0 if both F2 and G2 are not both
> empty at the same time. You can use anything you want to select between
> Color and B/W and also between Self and Print Shop... you do not have to
> restrict yourself to an "X" unless you want to.
>
> Rick
>
>
> "HeatherJG" <(E-Mail Removed)> wrote in message
> news:AC6090F0-A0DF-42FE-BFC6-(E-Mail Removed)...
>>I think I can probably figure out a convoluted, around-the-world way to do
>> this, but there's GOT to be an easier way. Unfortunately, I neither know
>> nor
>> understand anything at all about macros or creating functions, and I'm
>> afraid
>> that's what I'm going to need.
>>
>> I'm trying to calculate the cost on forms we use. The base is .0135 for
>> b&w
>> and .07 for color if I go through the print shop, and .008 for b&w and
>> .0613
>> for color if I print it myself. Then it changes based on the number of
>> pages. I set my spreadsheet up with the following columns:
>>
>> Name - Color - B & W - Carbon - # of Pages - Print Shop - Self
>>
>> If I use the "Color" and "B & W" columns to just place an "X" in the cell
>> to
>> denote which it is, how can I calculate the cost for both the Print Shop
>> and
>> myself? Does that even make sense to anyone other than me?

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
referring to a total in a cell that varies each month marcia2026 Microsoft Excel Worksheet Functions 5 15th Aug 2008 06:37 PM
Number of copies printed varies by running total. =?Utf-8?B?TGVsZQ==?= Microsoft Access 0 28th Oct 2007 12:22 PM
Re: Calculating a Total Jeff L Microsoft Access Forms 2 10th Nov 2006 09:10 PM
Re: Calculating a Total Isaac Sanchez Microsoft Access Forms 0 10th Nov 2006 02:28 PM
Calculating a total debora.scrogham@bankarea.com Microsoft Access 2 5th Dec 2005 12:06 PM


Features
 

Advertising
 

Newsgroups
 


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