+ Reply to Thread
Results 1 to 8 of 8

Coming unstuck with Formula using multiple values

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    20

    Coming unstuck with Formula using multiple values

    Good Morning all,

    I'm a complete novice at excel... I'm learning as I go, and I think getting there. However I've hit a wall and struggling to get around it.

    I have a calculator for work built into excel. This calculator (there will be multiple calculators for different products) is used for pricing non-standard products. I've been able to get everything working to the best of my limited excel capabilities, however there is one thing I need help with:

    The final price on my sheet should be based on a combination of two values. I'll break it down so it is hopefully easier to understand:

    Data:

    D69 - D73 have products listed, for this example "Product A" through to "Product E".
    F69 - F71 has currency: "GBP", "Euro", "USD"
    Each product (A through E) has a parts list of all components and costs that work out a price, then a total price, so there are a total of 15 cells that have a price calculated, for arguments sake lets say they are F40 - F55.

    The main part of the calculator is made up of validation lists. So under the "Product" section, you select one of the 5 products (A through E), and in H23 you select the currency. There are other conditionals that affect the parts lists, but they are irrelevant to what I'm trying to do here.

    Formula:

    The Formula I'm trying to achieve is in cell J32, and it should read something like this:

    If D23 = "Product A" & H23 = "GBP", then the price shown in J32 is taken from cell F40
    If D23 = "Product A" & H23 = "EURO", then the price shown in J32 is taken from cell F41
    If D23 = "Product A" & H23 = "USD", then the price shown in J32 is taken from cell F42
    If D23 = "Product B" & H23 = "GBP", then the price shown in J32 is taken from cell F43

    and so on...

    Any ideas/suggestions? I'm really struggling to make this work, but I know if should be possible

    Thanks,

    Michael

  2. #2
    Registered User
    Join Date
    08-07-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Coming unstuck with Formula using multiple values

    Update... I've managed to get some of it done, however I have more variations than the nested formula's allow. I can trim it down to 8 results, but that is still too many.

    And the other issue is I'd like the currency to show in J32, but all I get is a number. Again, I'm sure this can be done, but I'm not smart enough to do it

  3. #3
    Registered User
    Join Date
    04-20-2013
    Location
    Woking, England
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    34

    Re: Coming unstuck with Formula using multiple values

    Hi

    Consider :-
    Please Login or Register  to view this content.
    and you could concatenate the currency like :-
    Please Login or Register  to view this content.
    hth
    Mike

  4. #4
    Registered User
    Join Date
    08-07-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Coming unstuck with Formula using multiple values

    Hi Mike,

    thanks for the response... but I can't seem to get the code working I must be doing something wrong.

  5. #5
    Registered User
    Join Date
    04-20-2013
    Location
    Woking, England
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    34

    Re: Coming unstuck with Formula using multiple values

    Hi

    Sorry, perhaps this :-
    Please Login or Register  to view this content.
    which should give the correct row displacement.

  6. #6
    Registered User
    Join Date
    08-07-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Coming unstuck with Formula using multiple values

    Thanks Mike; I managed to find a way to work around it:

    I broke everything down to four categories.. in four cells I put simpler nested logical arguments to display a price based on the calculations, and then in my price box I put a formula whether the result should be selected from cell 1, 2, 3 or 4 based on the top level product that had been selected (so no need to worry about any currency variants)

    I do have one particular question though... how do I get these to put through with the correct currency symbol? Just add in the concatenate formula you have put above?

  7. #7
    Registered User
    Join Date
    08-07-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Coming unstuck with Formula using multiple values

    ... I meant to say, the pricing which it all stems from have the currency symbol in the cell, but on any other cells that pull this through using a formula don't seem to pull the symbol through... is there a way to make that pull through too? It would be easier for me if it could

  8. #8
    Registered User
    Join Date
    04-20-2013
    Location
    Woking, England
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    34

    Re: Coming unstuck with Formula using multiple values

    Hi

    Just concatenate H23 using :-
    Please Login or Register  to view this content.
    if you want the Currency symbol before the price or :-
    Please Login or Register  to view this content.
    hth

    if you want the Currency symbol after the price.

+ 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. how to sum values which is coming in Date Range ?
    By VICTOR55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-03-2013, 07:29 AM
  2. SUM of cells with values coming from a if formula
    By Tiago Sousa in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-28-2013, 06:07 PM
  3. Please help get me unstuck! Dates and quarters.... and how to sumifs.
    By yoshipunk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-31-2013, 04:46 PM
  4. Values not coming in few cell but coming in rest all cells
    By rashmib in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 11:19 AM
  5. Replies: 3
    Last Post: 04-08-2009, 09:19 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