+ Reply to Thread
Results 1 to 4 of 4

Conditional Return Depending on Cell Value

Hybrid View

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Boston
    MS-Off Ver
    Microsoft Office Standard 2013
    Posts
    12

    Conditional Return Depending on Cell Value

    Hello All,

    I'm working on a job cost sheet for my service department. They have asked me to have a cell on this sheet to automatically calculate the overhead factor based on the value of the selling price. Essentially multiplying the Total Labor/Materials/Tax/Other cell by different percentages depending on the value of the selling price cell.

    For this sheet the information will be in the following cells.

    Total Labor/Materials/Tax/Other = C25
    Selling Price = C29
    Overhead Factor = C26

    How they would like it calculated is

    If the Selling Price entered is x then multiply Total Labor/Materials/Tax/Other by a predetermined Overhead percent having the result in the Overhead Factor Cell

    So if C29 is X then C25 x Percentage = C26

    These are the value ranges and the percentages

    $5,000 or less = C25 x .30
    $5,001 - $10,000 = C25 x .25
    $10,001 - $15,000 = C25 x .225
    $15,001 - $20,000 = C25 x .20
    $20,001 or More = C25 x.175

    I hope I've explained what I'm going for here well enough but if you have questions I'll do my best to answer them.

    Thanks,

    Cobalt42
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Conditional Return Depending on Cell Value

    C26 formula:

    =C25*IF(C29<=5000,0.3,IF(C29<=10000,0.25,IF(C29<=15000,0.225,IF(C29<=20000,0.2,0.175))))
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    Boston
    MS-Off Ver
    Microsoft Office Standard 2013
    Posts
    12

    Re: Conditional Return Depending on Cell Value

    Fantastic thank you WideBoyDixon!

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Conditional Return Depending on Cell Value

    Another way

    =C25*LOOKUP(C29,{0,5001,10001,15001,20001},{0.3,0.25,0.225,0.2,0.175})
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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. Return whole row depending if 1 cell is within date range
    By rjwillshear in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2018, 11:10 AM
  2. [SOLVED] return value if date is between two other dates, depending on the year of another cell
    By danwoltrs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-13-2016, 11:36 AM
  3. [SOLVED] return value depending of the adjacent cell
    By luis6777 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-22-2014, 05:40 PM
  4. Replies: 11
    Last Post: 02-21-2013, 04:38 AM
  5. [SOLVED] Return a number depending on the date in another cell
    By luke.guthrie in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 06-12-2012, 12:34 PM
  6. return cell depending on date
    By rjmills18 in forum Excel General
    Replies: 1
    Last Post: 09-17-2008, 08:36 AM
  7. Replies: 8
    Last Post: 05-19-2005, 07:06 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