+ Reply to Thread
Results 1 to 5 of 5

Change the cell used for calculation to another cell if number is higher

  1. #1
    Registered User
    Join Date
    10-15-2020
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    3

    Change the cell used for calculation to another cell if number is higher

    Hello.

    I'm trying to make a worksheet for pricing products for my company.

    So far I'm using vlookup and it works great with drop down menu, so I can create one sheet for a certain product, then another sheet for another product. Just so I don't forget certain things when pricing.

    But certain products have set values depending on how many items ordered.

    So for example if ordering 1 item, the value is supposed to be 235.
    But if ordering 5 items, the value is supposed to be 57.

    How can I make the value in cell containing the 235 change after I type in 5.

    Thank you for your help!
    Last edited by viranth; 10-15-2020 at 06:54 AM.

  2. #2
    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: Change the cell used for calculation to another cell if number is higher

    Please read the yellow banner at the top of the page and then post a SMALL sample workbook, showing what you expect to see and where you expect to see it.
    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

  3. #3
    Registered User
    Join Date
    10-15-2020
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Change the cell used for calculation to another cell if number is higher

    Sorry, I attached an example file here.
    Attached Files Attached Files

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Change the cell used for calculation to another cell if number is higher

    Hi
    try this
    Suppose K12 is size and L12 is quantity
    use this to get the price
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-15-2020
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Change the cell used for calculation to another cell if number is higher

    Thank you so much, José Augusto.

    This is what I'm looking for. Now I just need to figure out how to change the layout and various things like that.

    Very fun and educational to do this, thank you so much again! :D

+ 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. [SOLVED] Change one number in a cell inside a formula to a variable that is getting higher (+1)
    By chablo309 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2015, 07:28 AM
  2. Replies: 13
    Last Post: 08-13-2013, 12:51 PM
  3. [SOLVED] comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 01:05 AM
  4. [SOLVED] comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 12:05 AM
  5. comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-05-2005, 10:05 PM
  7. comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2005, 11:05 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