+ Reply to Thread
Results 1 to 4 of 4

IF Formula to Provide Price Based on 2 Different Ranges of Numbers

  1. #1
    Registered User
    Join Date
    10-18-2022
    Location
    Virginia
    MS-Off Ver
    2019
    Posts
    2

    IF Formula to Provide Price Based on 2 Different Ranges of Numbers

    Hey there,

    I am working on a spreadsheet to deliver 1 price if a number falls within a certain range and then a separate set of prices if it falls outside the range. I am running into a problem because the first four rows (T D 1-B D 2) have a different range of numbers from Str 1 and Str 2. The first four rows have to fall between 29-72 and the last two rows have to fall between 29-55 for the V prices to qualify. Any numbers outside of that are supposed to activate the 2" - 3" columns. I have been using IF and AND and I am stumped. I have attached an abbreviated version of the spreadsheet I'm working on. It should be calculating the V pricing, but it's not. Any help you can give would be great!
    Attached Files Attached Files

  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,064

    Re: IF Formula to Provide Price Based on 2 Different Ranges of Numbers

    It >>might<< make more sense if you included some expected answers, manually calculated, in your sheet...
    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-18-2022
    Location
    Virginia
    MS-Off Ver
    2019
    Posts
    2

    Re: IF Formula to Provide Price Based on 2 Different Ranges of Numbers

    I want cells G11 through N16 to populate with the Material and Labor rates in cells C34 through D37 based on size. I attached an updated, colorcoded spreadsheet.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,572

    Re: IF Formula to Provide Price Based on 2 Different Ranges of Numbers

    Perhaps the following will help:
    Fill cells E2, F2 and E4 respectively with "T D", "B D" and "Str"
    Populate cells G11:G16 using: =IF(AND(F11>=$C$2,IF(OR(ISNUMBER(SEARCH(E$2,B11)),ISNUMBER(SEARCH(F$2,B11))),F11<=$C$3,IF(ISNUMBER(SEARCH(E$4,B11)),F11<C$5))),$C$34,$C$7)
    Populate cells H11:H16 using: =IF(AND(F11>=$C$2,IF(OR(ISNUMBER(SEARCH(E$2,B11)),ISNUMBER(SEARCH(F$2,B11))),F11<=$C$3,IF(ISNUMBER(SEARCH(E$4,B11)),F11<C$5))),$D$34,$C$7)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] provide the 2nd lastest price / value from a row
    By jw01 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-26-2022, 11:14 AM
  2. Lookup and provide latest price for month based criteria
    By jw01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-16-2022, 02:42 PM
  3. Replies: 1
    Last Post: 01-27-2020, 05:57 AM
  4. [SOLVED] Formula to provide month based on the condition
    By sekharks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2018, 06:03 AM
  5. [SOLVED] Formula to Provide Capped List of Sequential Numbers Based On Multiple Criteria
    By rlmh06 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-15-2017, 06:18 PM
  6. [SOLVED] formula to find price assocated with date within min and max ranges
    By mcranda in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-23-2013, 03:28 PM
  7. Replies: 4
    Last Post: 08-15-2012, 09:49 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