+ Reply to Thread
Results 1 to 7 of 7

Formula for value entered between YxY amount

  1. #1
    Registered User
    Join Date
    09-01-2015
    Location
    Fife, Scotland
    MS-Off Ver
    2010
    Posts
    17

    Formula for value entered between YxY amount

    Good morning.

    I'm currently working on a pricing matrix and I am completely stumped trying to figure out the formula I need. I was hoping someone could help me out?

    What I am hoping to acheive:

    Unit size entered if between 588x1038 to 588x1188 will change amount in next cell to 155.73.
    Unit size entered if between 588x118 to 588x1488 will change amount in next cell to 163.85.

    Im hoping to do this with quite a few different sizes/prices but just need an example of the formula to use.

    I've attached a small excel file as an "example".

    Thanks in advance. Formula Example.xlsx

  2. #2
    Forum Contributor
    Join Date
    10-22-2014
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    177

    Re: Formula for value entered between YxY amount

    why don't you split the unit size.

    please check attached example. Formula can be modify depend on your size variation.

    Unit size entered if between 588x118 to 588x1488 will change amount in next cell to 163.85. << i assume the size is 500x 1189 or above , not 118?
    Attached Files Attached Files
    Last edited by qiyusi; 12-07-2015 at 05:02 AM.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Formula for value entered between YxY amount

    You could try this:
    =IF(MID(D1,FIND("x",D1)+1,255)+0>1188,163.85,155.73)
    However, I suspect that this is not really what you want, as your example in the sheet contained neither 163.85 nor 155.73 in G1. You may need to explain with more detail.

    One other thing, you have used a number of merged cells. Sooner or later, this will cause you massive problems in your formulae. You are best avoiding them altogether in data columns. It's best to leave data in single cells, widening them as needed.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Formula for value entered between YxY amount

    If you made a helper column (say column J) using this formula:-
    Please Login or Register  to view this content.
    it could give you a list of numbers like 5881038 (width and length combined).
    Then if you place the prices beside them you could use a simple vlookup to get your results.

    Here's an example.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-01-2015
    Location
    Fife, Scotland
    MS-Off Ver
    2010
    Posts
    17

    Re: Formula for value entered between YxY amount

    Thank you for the responses, unfortunately, i cant seem to be able to open any of the attachments

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Formula for value entered between YxY amount

    There was no attachment in my response. Did you try it? Did it work? Etc, etc....

  7. #7
    Registered User
    Join Date
    09-01-2015
    Location
    Fife, Scotland
    MS-Off Ver
    2010
    Posts
    17

    Re: Formula for value entered between YxY amount

    I have it working now. I have used Beamernsw idea and it seems to be working just how I'm needing it too. Just need to tweak it slighty. Thanks everyone. Great help as always

+ 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. Formula help determining amount $ per year amount from scale
    By saniafe in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-19-2015, 04:56 PM
  2. [SOLVED] Ranges and Values based on data entered to give a subtotal amount
    By mdhancockga in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2015, 12:47 PM
  3. [SOLVED] Formula to show quantities for amount entered
    By mutedf8 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-02-2013, 12:34 AM
  4. Replies: 14
    Last Post: 08-21-2012, 02:17 PM
  5. Printing ranges within worksheets depending on amount of data entered / with row gaps
    By antonywalsh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-24-2012, 08:35 PM
  6. Formula for amount owing subtract amount paid
    By Taperchart in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2006, 12:55 PM
  7. VBA Code to limit amount of text or numbers entered into a textbox?
    By funkymonkUK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2005, 07:39 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