+ Reply to Thread
Results 1 to 4 of 4

Excel Two variable table help please

  1. #1
    Registered User
    Join Date
    10-29-2014
    Location
    London
    MS-Off Ver
    Mac 2011
    Posts
    2

    Excel Two variable table help please

    I need to make a two variable table for two different products.

    The products are jumpers and pullovers.

    The jumpers go up to 200 and pullovers up to 400. Both going up in 10s.

    Jumpers cost $26 and pullovers $18.

    So it needs to go like this:

    0 10 20 30 40
    0
    10
    20
    etc

    It needs to show the max profit but i dont know how to get it to work. Any help?
    Last edited by LukeRiv; 10-29-2014 at 08:19 PM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Excel Two variable table help please

    Give us a clue - how do you measure the profit, for any given combination of jumpers / pullovers?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    10-29-2014
    Location
    London
    MS-Off Ver
    Mac 2011
    Posts
    2

    Re: Excel Two variable table help please

    Have the selling price as stated above and the amount sold is 0-400 and 0-200. So it would be 10x$18 etc

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Excel Two variable table help please

    Okay, so there's no profit calculation, you just want total sales revenue, based on the number of jumpers and pullovers sold?

    # Jumpers in Row 1, # Pullovers in Column 1:

    A
    B
    C
    D
    1
    0
    10
    20
    2
    0
    $0
    $260
    $520
    3
    10
    $180
    $440
    $700
    4
    20
    $360
    $620
    $880



    It's the same formula copied across / down:

    A
    B
    C
    D
    1
    0
    10
    20
    2
    0
    =(B$1*26)+($A2*18)
    =(C$1*26)+($A2*18)
    =(D$1*26)+($A2*18)
    3
    10
    =(B$1*26)+($A3*18)
    =(C$1*26)+($A3*18)
    =(D$1*26)+($A3*18)
    4
    20
    =(B$1*26)+($A4*18)
    =(C$1*26)+($A4*18)
    =(D$1*26)+($A4*18)

+ 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. Referencing an Excel Table from a variable in VBA
    By Alpana Savarna in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-18-2014, 10:48 PM
  2. Replies: 1
    Last Post: 10-27-2012, 02:54 AM
  3. Replies: 3
    Last Post: 07-05-2012, 01:49 AM
  4. Variable File Reference and Variable Table Array in VBA VLOOKUP
    By Gingeiko in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2011, 11:08 PM
  5. [SOLVED] Excel multiple variable data table
    By Evan McCarthy in forum Excel General
    Replies: 0
    Last Post: 02-14-2006, 03:40 PM

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