+ Reply to Thread
Results 1 to 3 of 3

Summing two sets of cells by a common multiplier

  1. #1
    Registered User
    Join Date
    08-14-2015
    Location
    WA
    MS-Off Ver
    2013
    Posts
    3

    Summing two sets of cells by a common multiplier

    Hi, so I'm massively stumped with a radio ad scheduling/totaling spreadsheet that I'm refining. I've covered acres of websites looking for a solution as I'm loathe to try to explain it (as I'm a novice), but a couple weeks of whittling on this problem has brought me to my knees:

    Context:
    Line# Billing Rate Ads/Wk Total Mnths Ad Rate Total Ads Line Cost
    Line 1 $0 3 1 $14.00 3 $42 (this line expresses Ad Rate x Total Ads: 3x14=42)
    Line 2 $100 0 1 $0 0 $100 (this line expresses Billing Rate x Billing/Mnth: 1x100=100)

    I'm trying to reflect either the Total Ads X Ad Rate (if any) OR Billing Rate X Billing/Mnth (if any).
    The below formula uses a common multiplier (V31) to sum the Ad Rate*Total Ads, but it isn't summing up the Billing Rate*Total Mnths.
    Both options allowable on the same order line (so either Line 1 or Line 2 can be expressed), but I can't seem to get Line 2 scenario to work in this formula:

    =IF(V31=" "," ",IF(X31=" "," ",IF(T31=" "," ", SUM(X31*V31,(T31*V31))))). I basically need EITHER...SUM X*V (line 1 scenario) OR T*V (line 2 scenario), but not both or any permutations thereof. V is the common multiplier, and I need it to sum X*T or X*V. It currently sums ad rates alone or both ad and billing rates when both are expressed, but not the billing rate only. What am I missing? I feel it's right in front of my nose....

    Thanks much for any help.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Summing two sets of cells by a common multiplier

    I don't understand this fully.

    "I'm trying to reflect either the Total Ads X Ad Rate (if any) OR Billing Rate X Billing/Mnth (if any)."

    How do you decide which you want?

    Can't you have two columns for cost? One for X*V and one for T*V ?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    08-14-2015
    Location
    WA
    MS-Off Ver
    2013
    Posts
    3

    Re: Summing two sets of cells by a common multiplier

    Hi Special-K, thanks for taking a look at this and letting me know I made little sense :-).
    The reason I don't just separate the total column to two separate billing types is because the sheet is used by other people with other systems(...aaaaand there would be plagues and a certain smiting upon me if I did...).

    However, I figured it out, thanks to your question which put the idea in my head.
    Instead of your suggestion of two separate columns, I decided to use an additional multiplier. Instead of 1 common multiplier for two billing scenarios, I now have a dedicated multiplier for each billing scenario:

    =IF(X43="","",IF(T43="","",SUM(X43*V43+T43*R43)))

    V43 and R43 are the multipliers, which pull the multipliers from other totals or date range expression).

    Now, with a little VBA or conditional formatting I think I can prevent both billing types being used on a single line depending on what rate type is used (either flat rate billing in R43, or a per Ad rate in V43)

    I was over-complicating it. Your suggestion was the idea I needed. Thanks!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compiling and aligning info from four data sets with common ID in all of them
    By glaza777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-14-2013, 10:18 PM
  2. Combining two data sets (tables), with one common denominatior
    By lomacm in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-29-2013, 02:59 AM
  3. Merging Two Large Data Sets using Two Common Columns
    By JSoriano in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-08-2013, 05:04 AM
  4. Summing the data from two sets?
    By makey in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-22-2010, 09:22 AM
  5. Sum of Cells with a Variable Cell Multiplier
    By bgrutter in forum Excel General
    Replies: 22
    Last Post: 04-28-2009, 10:16 PM
  6. Summing multiple sets
    By serenity1188 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-14-2007, 01:26 AM
  7. Merging 2 Data sets without a common column
    By tomcfry in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2007, 12:03 PM
  8. If I have two reoated data-sets and a common code, how can I get i
    By helixed in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2006, 12:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1